- Home /
Rigidbody not moving in a straight line
Hi,
I am having a car with rigidbody attached along with the wheel colliders, now on Input.GetAxis("Vertical")
, i am moving the car forward, but surprizingly when moving along a very large plane, car automatically starts turning even if i am not changing WheelCollider.steerAngle
, whereas ideally it should go on in a straight line unless i use Input.GetAxis("Horizontal")
to steer the car!!
Any idea about this weird behaviour?
Answer by zeropoint · Aug 29, 2011 at 08:37 AM
Still don't know the exact technical reason but adjusting the colliders and their sizes did work ! Probably center of mass was not the culprit
Your answer
Follow this Question
Related Questions
How can i set AddRelativeForce relative to how fast/slow im moving my mouse? 2 Answers
Drag around riggidbodies with a "pin" 0 Answers
How to move a group of objects with rigidbodies together? 2 Answers
Stop Wheel Colliders from flipping over 1 Answer
how do you activate a sound effect when two objects with box colliders hit? 0 Answers