playMaker

Author Topic: Navmesh agent different shape  (Read 1498 times)

marvoc

  • Playmaker Newbie
  • *
  • Posts: 37
Navmesh agent different shape
« on: August 10, 2020, 09:09:16 AM »
Hi,
 I have a questions about issue what I have about cylinder shape of navmesh agent. I'd like to change it, because I have a tank, what has  a rectangle base.
I can do navmesh agent shape bigger, but then, on sides, everything collide before to hit mesh, or if it is smaller, then it intersect with other models at front and back side.

Any ideas?

LordHorusNL

  • Beta Group
  • Full Member
  • *
  • Posts: 226
Re: Navmesh agent different shape
« Reply #1 on: August 10, 2020, 01:22:07 PM »
This isn't a specific PlayMaker problem but more a general issue with Unity path-finding it would seem.

The most common solution seems to be making a manual system using raycasts to detect when vehicles are about to bump into each other and make adjustments to the vehicles path or velocity instead of relying solely on NavMesh agent avoidance.