These steps were implemented in my old system, using WheelCollider. But I'm currently stuck on steps 5 and 6. So, I'm actually have all the required calculations.
I want to clarify: I'm not writing my code from the scratch, I'm trying to covert my vehicle system from old physics to dots. So, yes, point-constraints move wheels along y-axis and result of this movement affects vehicle body position, because body and wheels are connected via joints. Click to expand.Thanks for your answer.ġ.Create rigid body for the vehicle body and wheels.Ģ.Use constraints (joints) to attach vehicle rigid body to the wheel's rigid bodies.Ĥ.Cast collider from each wheel's center to the ground.Ħ.Next we need to do some calculations to get friction force on each wheel and apply final impulse on each wheel.