- Home /
Car physics Problems
When I turn left, car after 1-2 second start a turn right, but front wheels stay rotated on left. Little looks like on traction control in real life for quickly align a car. On drift car this function is not need.
I writed in code turn for rigid body, but this not work correctly.
So, which parameter on wheels is responsible for this? When I make a slip very high for wheels, car turn back very strongly.
I get this problem In Unity5 with my car physics code. In Unity4 I not was getting this problem and drift physics works good. Sorry for my Eng, I hope explained clearly.
Answer by PhaseQuad · May 24, 2018 at 04:49 PM
So, if you have same problem, I find simple solution. Add torque for rigidbody/rotation in your car with extreme value, but small value for steereng on front wheels, 10-15 degrees max. This works, because front wheels not steer your car anymore. But if you want more rotation for front wheels, add multiplier for rotation in wheel alignment script. In this way, you get rotation only for graphics, not for physics.
Your answer
Follow this Question
Related Questions
Connecting steering wheel to front wheels 0 Answers
Setting Wheelcollider BrakeTorque to 0 does not release brake 0 Answers
Strange car beahaviour 0 Answers
WheelCollider - I don't have a circle of Collider 1 Answer
2D Joint/Wheel Question 1 Answer