How to reconnect a unit to a nav graph after progromatically moving it's transform

Hi,

I am working on an Aircraft take off system for our RTS, I have the aircraft spawn on the ground, I then use Path Creator to asign a bezier curve and a follower component for the aircraft to follow, the aircraft follows this path with the last point on the path set to the Y axist position of the Recast Graph that aircraft use for flying, the moment I disconect the path follower the aircraft just falls, I have set the traversable layers to both ground and air graphs, I have tried the same with the RichAI gravity layers but I have been unable to either get it to move or connect with the air terrain graph.

Is there anything specific I need to do or configure in order to get this to work?

Any tips or pointers would be amazing at this point.

Thank you in advance :slight_smile:

So after some toying and fiddling with settings etc I have found that adding a collider to the airnav layer stops the unit assigned to that layer from passing through it. Onwards and Upwards :smiley:

1 Like