|
I have a simple game where a gorilla throws a banana ... here is the overall script thus far:
It all works correctly, except I would like the banana to travel while rotating on I believe is my z-axis in a clockwise rotation. Kinda stumped on what approach to take for this ... thanks!
(comments are locked)
|
|
I think you want this: http://unity3d.com/support/documentation/ScriptReference/Rigidbody.AddRelativeTorque.html
(comments are locked)
|
|
try transform.roatate. if you do use this approach, then be sure to make the collider a child, otherwise it won't work.
(comments are locked)
|

BTW I tried animating and was having some issues with keeping banana on the correct path... I figured there would be a simpler approach with scripting... if animation provides a faster approach I'm all ears.