I have got wheelcollider and I am calculating wheel rotation according its rpm, but now I need non motorized vehicle, after ignoring motorTorque I cannot calculate rpm, please advise.
I’m not sure what you mean by a non-motorized vehicle. You can calculate the rpm using a little math.
-
Find the angular velocity - maybe as simple as: rigidbody.angularVelocity.magnitude
-
Use the formula w = 2pif or f = w/(2*pi)
-
w angular velocity
-
f is the frequency of a rotation or rotations per second
-
Multiply f times 60s/min you get rotations per minute (rpm)
w = rigidbody.angularVelocity.magnitude
f = w/(2*pi) * (60)
Thank you!