Damon Poole
New member
Hi,
I just bought the 3rd person controller. My intent is to use it for NPCs . I've got it installed, and the demo with Nolan works great (very cool!).
I've created a new scene with a single flattened out cube as a floor. I grabbed Nolan from the demo and put him on it. I put a vector a ways away from him.
I created a script with characterLocomotion.MoveTowardsAbility.MoveTowardsLocation(m_Destination.position); as documented and plugged in Nolan and the destination.
Nolan teleported to the destination, but I was expecting him to walk there.
So then I thought perhaps he needs a navigation mesh. So I did that and used instead the example from the doc with:
navMeshAgentMovement.SetDestination(m_Destination.position);
Now he just sits there.
I feel like I must be missing something simple/obvious. Is there a fully fleshed out example of "move over there" someplace? Or any hints as to what to do next?
Thanks!
Damon
I just bought the 3rd person controller. My intent is to use it for NPCs . I've got it installed, and the demo with Nolan works great (very cool!).
I've created a new scene with a single flattened out cube as a floor. I grabbed Nolan from the demo and put him on it. I put a vector a ways away from him.
I created a script with characterLocomotion.MoveTowardsAbility.MoveTowardsLocation(m_Destination.position); as documented and plugged in Nolan and the destination.
Nolan teleported to the destination, but I was expecting him to walk there.
So then I thought perhaps he needs a navigation mesh. So I did that and used instead the example from the doc with:
navMeshAgentMovement.SetDestination(m_Destination.position);
Now he just sits there.
I feel like I must be missing something simple/obvious. Is there a fully fleshed out example of "move over there" someplace? Or any hints as to what to do next?
Thanks!
Damon