- Home /
Vehicle using a wheel collider wont point in the direction of movement
Hi guys,
I'm designing a vehicle that only has one wheel. It works great, except for steerAngle. When I set the steerAngle, the vehicle starts moving on a different direction, but its body won't point in the direction of movement like other cars that use the wheel collider do.
My question is: Am I missing something or it's just by the fact the vehicle only has one wheel? If so, then how can I emulate this behaviour of going in the direction steerAngle points to.
I tried to set its eulerAngles to be equal to the steerAngle. It does work, but as expected, the velocity vector will continue to point on another direction, which makes the vehicle slide through the scenario.
The structure of the vehicle is: a main empty game object that has a rigid body and the attached model that has the wheel collider.
Thank you very much!
Your answer
Follow this Question
Related Questions
Character Controller Pushes Car With Wheel Colliders? 0 Answers
Simulating wheels without a wheel collider? 1 Answer
Make locomotive Pull Carriage 0 Answers
Truck-Trailer Hinge Joint 0 Answers