Closed zelderus closed 5 years ago
Try adjusting the boost power curve on the GasMotor script on the engine object inside a vehicle. The x-axis of the curve is the speed of the vehicle and the y-axis is the boost power. This makes it so the boost power changes as the speed of the vehicle changes.
Thanks. I have changed this curve, it has add some power, but so little. If I add much more in the curve in any axis, then some exception in math occurs.
What kind of exception is happening?
Wheel.cs - float EvaluateTorque(float t):
And other like this. This happen when I set y-axis much more on less x-axis (I want super speed like a rocket from start going, or just much faster than it is) - car on small speed dont going, wheels fast rotating and drifting, and then this exceptions occurs. When I set y-axis less - boost power so little :(
Well for now I can't pin down why the curve throws errors with large values. Clamping the input values for curve evaluations doesn't seem to fix it. One thing you can try is increasing the feedback RPM bias on the driven wheels if you haven't already. Maybe you can combine this with slightly lower boost values and increased forward friction on the wheels to keep the fast acceleration effect.
increased forward friction on the wheels
Thanks. That's what i wanted.
I want much more power speed when boost. What a parameter I should change?