Download

Simple fly to location?

Hi all!

I am trying to get my 2d airplane fly from left to right in a side scroller game, but the target point/nav mesh method doesn’t work for flying. Is there a way of doing this?

Hi Fyn,

Try a set actor relative location with a vinterp between your pawn’s ship and the destination you are trying to achieve. Make sure to use a break vector/make vector to only get the axis information for your ships movement (I’m assuming either X or Y axis).