Zidinjo

Untitled

May 17th, 2016
122
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.17 KB | None | 0 0
  1. Quaternion quRotation = Quaternion.LookRotation(vecLookAtTitan);
  2. trHead.rotation = Quaternion.Slerp (trHead.rotation, quRotation, flRotationVelocity * Time.deltaTime);
Advertisement
Add Comment
Please, Sign In to add comment