|
Situation:
What i need:
I think a good example is a Hoverboat that can slide sidewards but inertia forces apply still in movement direction ... here is a shematic: http://i238.photobucket.com/albums/ff160/absyss/_Q_RotateMove.gif
(comments are locked)
|
|
Maybe you can use this: that works perfectly thanks! Just a typo to correct: "Vector3.Cross"
Feb 19 '10 at 12:25 PM
Absyss
(comments are locked)
|
|
Try separating the problem into two distinct scripts.
That way you get the benefits of having two separate transforms to work with, essentially reducing the maths needed to calculate tilt. Now you can apply tilt with local coordinates, and don't have to worry about any other rotations because parents do that for you. yes i have thought of this solution before but i wanted to combine both rotations into one calculation.
Feb 19 '10 at 12:28 PM
Absyss
PS: i might use this for other puposes though
Feb 19 '10 at 12:28 PM
Absyss
(comments are locked)
|
