Question by
daviddickball · Nov 28, 2015 at 02:32 PM ·
rotationrigidbodyspinaddrelativetorque
Should giving a negative torque make it turn slower?
I'm spinning a rigidbody using AddRelativeTorque, and on a keypress want to instantly reverse the spinning direction, which I do by turning the positive "rotationSpeed" integer into a negative. But this doesn't spin as fas as the positive number - is this correct?!
So in a FixedUpdate I do:
GetComponent.<Rigidbody>().AddRelativeTorque (0,rotationSpeed,0, ForceMode.Impulse);
...then on a keypress reverse the rotationSpeed by doing:
rotationSpeed = -rotationSpeed;
My question is, how can I spin the object in reverse at the same rate?
Comment
Your answer
Follow this Question
Related Questions
How do you rotate objects at the same time using arrays and triggers 0 Answers
Smooth Rotation on WASD keys pressed? 1 Answer
Move Homing Mislle (3D) 0 Answers
fromtorotation inacurate Help fixing? 0 Answers
Rigidbody Not Rotating 0 Answers