Is there a way to use "Move to Actor" with an offset?

Basically what I need is a way to call Move To with a target Actor but I want the the arrival point to be always at a fixed offset from the Target Actor, for example

Offset = TargetActor->GetActorRightVector() * 500;

Is there a way to do it?


I don’t really know, but I went trough the documuntation to see which class inherits from AActor, and there is this one with a promising name: ATargetPoint
So maybe you could have wathever class you have holding one of this guys and a function that updates this actor location to be you real target’s [FONT=courier new]GetActorRightVector() * 500, and then you pass this ATargetPoint object to MoveTo.
Don’t know if it work, but is worth trying :slight_smile: