Line Trace for Objects hits a pawn

Hi,

how can I make these in Blueprint: When the line (Line Trace for Objects) hits a pawn, the actor should move to the position of the pawn and stop there, even if the pawn has already left its position, the actor should continue to move to the pawn’s hit position

Example:

it does not work:

Many thanks in advance!

hi,
i am sorry i was sick the last days… you could store the Axis (X) i think if your actor line trace hits the pawn. then move him to the new location.

something like this. would be better if you know the max distance it can move so you could trigger it with overlap and start tracking, on leave overlap stop tick. just used tick for a quick example, but it works :slight_smile:

cheers :vulcan_salute:

2 Likes

I wish you a speedy recovery!

You even exceeded my expectations. Many Thanks!

1 Like

Thank you :slight_smile:

cheers :vulcan_salute:

1 Like