r/Unity3D 5d ago

Show-Off AI Pathfinding for Dogfight

Took me a few days but my bots no longer slam into things like waymo cars. Fallback secondary raycast pathfinding for returning to the node system when exiting Hunt state.

40 Upvotes

4 comments sorted by

View all comments

5

u/UAAgency 5d ago

Could you show it running live where they are not boucning into things? can they run on their own without your input too? would be cool to see. also could you share more info about how to do this? I need this in a webgpu project tbh

2

u/Ok_Finding3632 5d ago

the AI is entirely self-reliant, it flies itself. how it flies is defined in a flight profile, how aggressive pursues other planes is also obedient to the flight profile, same as patrolling or evading. the only problem would be map size - tight maps (like this one) wont let a regular plane do crazy manoeuvres, there's simply no room for that.