Hi,
I have enemy spheres that I want to roll towards the player using the path that is generated by the nav mesh.
When I use the navmesh.SetDestination, the spheres just slide towards the player (pathfinding works here).
In the update function; If I set the destination, stop the navmesh, and then apply force in the direction of the navmesh's next position. The ball just seems to roll towards the players location (without pathfinding).
Is it possible to use the nav mesh in this way? I only want to use it for the pathfinding element, and movement will be handled by physics.
Thanks in advance
↧