Lerp and Slerp to a transform

Mondain

New member
Hi

I have a simple question, but I don't figured out, how I can lerp and slerp an npc character to another transform. The npc will walk to the chair and if arrived, he should lerp and slerp to the chair while playing "sit down" animation. The colliders should be deactivated (currently the navmeshagent stuck with the chair, but I could change the layer).

behaviour1.jpg
 

Justin

Administrator
Staff member
It sounds like you are using a navmesh? Instead of Move Towards you should use Seek as Move Towards doesn't use the navmesh.

Seek can also rotate the agent so you can likely replace the four circled tasks with just seek.
 
Top