Helocopter obstical avoidance (Navmesh agent)

Ive changed the helocopters nav mesh agent base offset so now it is floating in the air and I can move it as desired but the nav mesh agent below the helicopter that controls the helicopter still can bump into other nav mesh agents moving them when the helicopter is above them. The helicopter also moves around stationary objects that are obsticals but I want the helicopter to fly over the navmesh obsticals but because the nav mesh agent is still on the ground its treating the helicopter like a troop on the ground.

Summary

After messing with the navmesh base offset to allow the helicopter to move in the air with the agent on the ground, the helocopter is getting treated like it is on the ground so it moves around things it should be able to fly over. How can I make the helocopters nav mesh agent only worry about other objects it may run into while in the air only such as air obsticals or other helocopters?

You can indeed use a navmesh agent set the base offset on the NavmeshAgent component above 091628-nav.png

Personally, I would ditch navmesh completely and use A* or something. This would allow you to set up “nodes” wherever you want as you please, which opens up the possibility of procedurally generated maps.

In my opinion, implementing your own pathfinding would be advantageous for lots of reasons. The top reason being the ability to alter what you’d like at runtime.

Personally, I would ditch navmesh completely and use A* or something. This would allow you to set up “nodes” wherever you want as you please, which opens up the possibility of procedurally generated maps.

In my opinion, implementing your own pathfinding would be advantageous for lots of reasons. The top reason being the ability to alter what you’d like at runtime.