Car not shifting up after gear 3

I also posted on answerhub but I am kindof desperate. None answer or hint is given and I have been trying to solve that for more than a week.

Basically I messed around with the VehicleMovementComponent on the advanced vehicle template. I changed mass , rpms and the transmission stuff. The car won’t shift up after gear 3.

Post a picture of your gear switching blueprint.

There is no gear switching blueprint, it’s automatic (checkbox is ticked)

Judging from screenshot your wheels are 3 tons each :smiley:
Most likely engine is just having a hard time trying to spin them. The way gear box works is that as you shift-up your gear ratio becomes smaller, which mean that torque on wheel becomes smaller as well. You ether need a lighter wheels, higher gear ratio or less air drag.

Are you sure? I believe that the whole car weighs 3 tons. Also, here is a video, I changed the mass to 1000 (Adv Vehicle Default is 1500 i believe), same problems.

The gear ratio(multipliers) are the same as default. I changed the RPM threshold for shifting up and down.
Thanks for your time.

My bad, it’s a vehicle mass. This is weird. Have you tried changing gear ratios? Something like 6/4/2/1.5

6/4/2/1.5/1.2 didnt work
6/5/4/3/2 didnt work as well
Here is a new video with me tinkering around with some values. it actually fixed the problem but the issue got even weirder! Take a look, at gear 4, it won’t hit the predefined RPM to shift up to 5th, instead, it shifts up immediately!

<3

1 Like

You might want to read a bit here:
http://docs.nvidia.com/gameworks/content/gameworkslibrary/physx/guide/Manual/Vehicles.html
scroll down to PxVehicleGearsData and PxVehicleAutoBoxData section. In general it shouldn’t try to switch gears so fast.

I will take a look and act accordingly. Bit in a week. I am on my data plan now because there is a telephone and internet issue where I live.

Ok I read the points you mentioned.
So, the autobox is perfect for my project. i don’t want more complexity , a shift up and down threshold at every gear is good.
Now, on this part:

//Gears
PxVehicleGearsData gears;
gears.mSwitchTime=0.5f;
driveData.setGearsData(gears);

My switch time is 0.7 and the auto box latency is at 1. But I don’t understand why this would be a problem.