- Home /
Question by
jochem · Nov 29, 2011 at 04:19 PM ·
rotatelookatitweenautorotation
Autorotation to tween gameobject
Ola!
Just started to work with unity and created a nice landscape with a kickass speedboat. Working on the TweenPath for the boatride and can't get my head around how to make the boat autorotate to the direction it's heading.
LookAt could do the trick with an object heading down the same path just in front of my boat. But there has to be a more delicate way... right? Other option might be to read and compare xyz each frame en calc a direction it's going in, perhaps anyone has tips for that?
Thanks in advance, J
Comment
Your answer
Follow this Question
Related Questions
Lock rotation axis? 4 Answers
Smoothly Move camera while looking at object 0 Answers
LookAt() and RotateAround() 1 Answer
hoe to rotate a AI as a animation 1 Answer
Rotate to a certain position 2 Answers