
Animation - 3
·
Unreal 공부/Unreal Engine 4 C++ The Ultimate Shooter
Impact Particles LineTrace로 적중한 위치에 Particle을 소환하는것을 코드로 구현한다. ShooterCharacter.h // Particles spawned upon bullet impact UPROPERTY(EditAnywhere, BlueprintReadOnly, Category = Combat, meta = (AllowPrivateAccess = "true")) UParticleSystem *impactParticles;// 전방선언은 전에 MuzzleFlash에서 해주어서 생략 가능 ShooterCharacter.cpp void AShooterCharacter::FireWeapon(const FInputActionValue &Value) { ... if (BarrelSo..