How to change direction of obj using orbitController [Solved]

I added obj and that object navMesh, then added animal object that animal moves when mouse click. when I clicked back side of that animal it going without rotating his face. That animal face should rotate according to moving direction… for better understanding see video and Jsfiddle code.

Thank You…!
Sandip D.

After moving the player, try using:


For more information you may want to read through the THREE.Object3D documentation.

1 Like

@donmccurdy its worked thank u