Question by
RedstoneRampage · Feb 13, 2019 at 06:52 PM ·
rigidbodyaddtorque
Torque on rigidbody not being reversed when set to.
So I'm trying to make an object spin backward and forward base on the torque passed in (I'm Using Rigidbodies), but despite my best efforts I can only make it spin forward, I have given it a negative number and tried other methods but none have worked
Comment
hello, can you share your code for checking if there is any problem?
Yes here: Rigidbody.AddTorque(transform.up * (float)motor.InputTorque, Force$$anonymous$$ode.Force); ^ this is set to negative This is the line I use to make it spin