In the sample tutorials, what sets the y location?

Hello,

I'm trying to learn behavior designer around doing a simple animal ai. I started with the BehaviorTree example and replaced the agent with my animal and had it following the enemy. I then loaded my scene, created a nav mesh and then moved the animal and enemy to my scene to try moving the experimentation. I had to move the animal down to be on the floor level in my new scene. I started the player and the red cube moves, but the animal stays still. They both also go back to their original y level up near the roof line. Is that a function of my navmesh, like I baked the wrong set of objects, or is there a setting that's moving them to stay in the original y plane?

Thanks!
 
The NavMeshAgent does set the y position so that is likely it. The behavior tree itself doesn't actually set any positions. It will instead rely on the NavMeshAgent to move the agent.
 
Top