- Home /
Question by
fiorentin · Mar 08, 2013 at 12:12 PM ·
ainavmeshnavmeshagentfly
Nav Mesh Agent - Stuck on ground
Hi,
I have a Nav Mesh Agent that follows a waypoint in a scene with alot of obstacles. The waypoint moves randomly (every time the Agent collides with the waypoint the waypoint moves to new coordinates on the nav mesh). This works fine along the X and Z axis but i would like the Agent (and waypoint) to be able to move along the Y axis too - now its stuck in its Y position. Is this possible when using a nav mesh? What im trying to achieve is a sense of flying.
Kindly Fredrik
Comment
Answer by UDN_b9382f3b-c1f9-4e21-9f3d-5742b4363a79 · Dec 15, 2016 at 02:26 PM
I too had the same problem.
For this you must make sure that the NavMeshAgent covers the player in a perfect way.
set the offset :
saw.png
(15.3 kB)