Follow Player in Proximity

Hi, so I got the object to follow the player with event tick but am not able to set the object to move towards the player when the player is in proximity of it like a seeker mine. Is there a method or a way to enable event tick when the player is in proximity of the object(the object has a pawn sensing ) or any other way of making the whole thing differently. Thank you

You can add a sphere component and bind to the OnBeginOverlap event, if the OtherActor is Pawn - turn enable tick.
When OnEndOverlap with a pawn - disable it accordingly.

And turn off flag Start With Tick Enabled in class defaults.

3 Likes

Thank you I was able to figure out a way using the PawnSensing itself to act as a proximity and without an event tick as it was slowing down and is not viable later in-game. Here is the final BP.

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.