Playmaker Forum

PlayMaker News => General Discussion => Topic started by: marvoc on August 10, 2020, 09:09:16 AM

Title: Navmesh agent different shape
Post by: marvoc 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?
Title: Re: Navmesh agent different shape
Post by: LordHorusNL 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.