- Home /
WheelCollider - real friction values
Hi. I'm trying to create a racing game with a little bit realistic physics. I'm using WheelCollider and Rigidbody physics.
For calculation motor torque I'm using this code:
// CALC CURRENTLY ENGINE RPM
rpmEngine = ( rpmMin + (wheelFrontLeft.rpm * gearsRatio[currentGear] * wheelDifferential));
// CALC FINAL MOTOR TORQUE
// I take the car torque from the table according to the EngineRPM
motorTorque = (torqueByRpm[TorgueByRpm(rpmEngine, rpmStep)] * gearsRatio[currentGear] * transEfficiency * wheelDifferential )
* Input.GetAxis("Vertical");
Then I send "motorTorque" to Wheel Colliders.
My question is. What values set to WheelColliders friction to accomplish this ideal behavior ?
Because the default values aren't very realistic. Thanks.
Comment
Your answer
![](https://koobas.hobune.stream/wayback/20220613081554im_/https://answers.unity.com/themes/thub/images/avi.jpg)
Follow this Question
Related Questions
in Unity 3.5.7 car starts to shake 0 Answers
Square wheels 4 Answers
Car physics problem 0 Answers
Vehicle engine RPM without wheelcolliders? 1 Answer
Strange behaviour when WheelColliders are on their side. 0 Answers