Download

Just Empty object with vector? (only position)

hello again. It is newbie question… I wonder if there is better method.

there will be a position, where Player or Enemy unit stationed. with position, there is 2 vector for hit area.

In Unity, I usually use empty object with Vector, In Unreal, should i use empty actor for it?

Are you trying to get the vector of these positions before the player/enemy is there? Are they spawn points?

Actors in unreal can have their location obtained very easily like this:


AActor* SomeActor;
FVector Loc;

Loc = SomeActor->GetActorLocation();

thx. they are similar to spawn points. when the battle begins, every units move to those position though. i think i will use empty actors for those position.