Car Wizard

I’m using the car wizard and have noticed that when I am pressing up + left or right I turn a lot less than if I just press left or right. Why is this? How could I change this?

Two key presses for two directions turn into a single angle direction which is half way between the two points. For instance, if

W=Up (0)
D=Right (90)

W+D=(45), thus you turn slower.
As to how to change that behavior, you would need to use some sort of dynamic throttle instead of saying that W is forward and D is right. W could increase a throttle by a percentage until it reaches 100%, and when you let go of W, the throttle auto decreases at a steady rate until throttle=0.

But shouldn’t the car script already do this by reading the horizontal axis of the keyboard and turning the wheels according to that?

It sounds to me like the script is turning the wheels to a set degree upon button push instead of angle over time. You can view this behavior in the game by starting it and looking at the wheels when you push the keys to turn left or right, if the wheels go hard left or hard right and not over a given length of time, then you need to adjust for this behavior. Same with pushing forward and left or right at the same time, the wheels will only go to a certain degree.

Start your project and observe the wheel positions.

The wheels turn 10 degrees when I push left or right. By observing the wheels rotation in the inspector it seems that the wheel is turning 10 degrees regardless of whether or not I am pressing the up key. But the car as a whole is turning a lot less when I press the up key.

If the overall degree is 10 degrees, then when you use the up key in conjunction with the turn key, it sounds like you have a 5 degree turn, that or the forward force is overwhelming the turn and cutting it in half. Basically, is there enough friction to counter the forward force to allow the car to turn vs slide, so its half turning and half sliding.

aren’t there two angle inputs in the inspector? been a long time but i remember there’s an angle for lower speeds and an angle for higher speeds. the later being a smaller number by default. there’s another input for the speed where the angles switch. these are the maximum turning angles based on above or below that speed. maybe? this may have been before the wizard came out. scripts may have changed.