FHitResult

[Unreal]#9-2_Shooting 설계 및 구현 Unreal 개발 중 "Gun Actor"에 대해 알아보겠습니다. "Simple Shooter Game"의 Character Class 개발 과정 중 일부입니다. Impact Effect 1. UParticleSystem* 타입의 변수를 데이터 멤버로 선언합니다. class AGun : public AActor { //... private: UPROPERTY(EditAnywhere) UParticleSystem* ImpactEffect; }; 1. Hit 위치에 Impact 이펙트를 재생합니다. if(bSuccess == true) { FVector ShotDirection = -Rotation.Vector(); UGameplayStatics::Spa..
Hardii2
'FHitResult' 태그의 글 목록