- Home /
Relative force
Hello? Is here a way to get relative force? I need it because I add for to my space ship for moving and I like to stop it.
Answer by Matthew Scott · Dec 04, 2013 at 06:11 PM
Try and take a look at Unity's documentation before posting questions. It is really is quite extensive and very easy to find what your looking for...
http://docs.unity3d.com/Documentation/ScriptReference/Rigidbody.AddRelativeForce.html http://docs.unity3d.com/Documentation/ScriptReference/Rigidbody-velocity.html
You can use AddRelativeForce to move your spaceship. If your going for a more "Newtonian Physics" kind of realistic control you can use get velocity and get angular velocity to calculate counteracting forces.
Your answer
Follow this Question
Related Questions
Forward movement relative to rotation/position? 1 Answer
Adding a force in the direction of an object. 2 Answers
Adding Forces. Making It Move Strangely. 0 Answers
[Solved] Group of rigidbodies insist on moving sideways when applying force 1 Answer
relative velocity of rigidbody according to rotation... 1 Answer