- Home /
relativeVelocity how to? (noob question)
Well, with rigidbodies we have the Relative resource as in:
addForce addRelativeForce
addTorque addRelativeTorque
and
velocity.
how can we use RelativeVelocity???
Answer by Eric5h5 · Dec 07, 2010 at 02:51 AM
transform.InverseTransformDirection(rigidbody.velocity)
Answer by Justin Warner · Dec 07, 2010 at 02:20 AM
http://unity3d.com/support/documentation/ScriptReference/Rigidbody.AddRelativeForce.html
Might help?
If you read carefully, I said about relative force but I need relative Velocity, i need a constant and instantaneous velocity for my rigidbody.
thanks for the answer.
Thanks
Your answer
Follow this Question
Related Questions
relative velocity of rigidbody according to rotation... 1 Answer
Manually Apply Cars Collision Response Force 0 Answers
Collider question 0 Answers
ForceMode.Impulse Doesnt always fire. 2 Answers
Apply Constant Force 2 Answers