Question by
tinnedtuna · Dec 30, 2015 at 03:35 PM ·
rotationrigidbody.addforcerigidbody physics
Rigidbody AddForce doesn't matter what rotation
I have a rigidbody, and am applying
rb.AddForce(transform.forward * speed);
This moves the rigid body forward as expected.
However when I rotate the rigid body to 90, so it is facing sideways, it still moves the same direction.
I basically want to apply the force to the back of my rigid body, so it will move whatever rotation it is now facing.
Comment
Your answer
Follow this Question
Related Questions
How to make a cube rotate while moving? 1 Answer
Rigidbody Addforce Not Working 1 Answer
Rotate y-axis of child object following a rigidbody sphere parent 0 Answers
How to throw an object towards a hit.point in first person? 0 Answers
Avoid varying output on same amount of force applied to a Rigidbody2D. 0 Answers