Jump to content
CN_Lurker_1011

Gearbox always be stuck at the first gear

Recommended Posts

Main code:                MOI=16;
                                    dampingRate=1;
                                    dampingRateInAir=1;

My  entire physX.hpp :  https://pastebin.com/SCB9N5UJ

screenshot:

e22554beadae70c80c272c368337cca5.png

 

memory points and wheels

0f357c9a722d83b7100f15767ce2ce6b.png

 

  • Confused 1

Share this post


Link to post
Share on other sites

Not sure whether you've already resolved the issue so just in case, I would get your attention to the apparently too high

idleRPM = 1000; 

in your PhysX config. If the engine cannot go lower than that, it cannot reach the lower RPMs calculated for the higher gears as shown on your first screenshot.

Share this post


Link to post
Share on other sites
21 hours ago, NightIntruder said:

idleRPM

this parameter is only used by sound simulation and doesn't affect vehicle driving at all. MinOmega affects actual minimal RPM in simulation.

 

You need to tweak dampingRate params most likely


If vehicle is too slow, then lower the param. If its too fast, then increase it. It's sort of magic parameter so you have to figure it out via trial & error method so usage of diag_mergeConfigFile is sort of mandatory. Keep in mind also that dampingRate & dampingRateInAir should be using same number.

        dampingRate                = 3145.0;
        dampingRateInAir        = 3145.0;

 

MOI should be calculated this way

        MOI            = __EVAL(1.1*(0.5*193*(0.378626^2)));        // radius 0.378626m

 

Share this post


Link to post
Share on other sites
On 7/7/2021 at 10:18 AM, reyhard said:

this parameter is only used by sound simulation and doesn't affect vehicle driving at all. MinOmega affects actual minimal RPM in simulation.


Yeah, obviously you're right. I must have had been dizzy afterward a party.

Share this post


Link to post
Share on other sites

Please sign in to comment

You will be able to leave a comment after signing in



Sign In Now

×