- Home /
How to make wheels turn more?
Hello!
My wheel rotation and turning are working, but I'd like the wheels to turn even more when turning the car.
// Steering rotation
Vector3 wheelFLTransAngle = wheelFLTrans.localEulerAngles;
Vector3 wheelFRTransAngle = wheelFRTrans.localEulerAngles;
wheelFLTransAngle.y = wheelFL.steerAngle - wheelFLTrans.localEulerAngles.z;
wheelFRTransAngle.y = wheelFR.steerAngle - wheelFRTrans.localEulerAngles.z;
wheelFLTrans.localEulerAngles = wheelFLTransAngle;
wheelFRTrans.localEulerAngles = wheelFRTransAngle;
Is there some way to maybe add a multiplier or something to that block of code to make the turning more visible? Not physically make a more steep turn, but only make the wheel turn more.
Comment