Skip to content

Preserve the requested gear ratio sign when starting from rest - #126

Closed
terega wants to merge 1 commit into
quadural:mainfrom
terega:fix/reverse-start-ratio-sign
Closed

terega wants to merge 1 commit into
quadural:mainfrom
terega:fix/reverse-start-ratio-sign

Conversation

@terega

@terega terega commented Oct 16, 2026

Copy link
Copy Markdown

When the stored minimum gear ratio is zero and the absolute differential rotational speed is below 0.5, initialize lastRatio using the sign of maxGearRatio and the absolute motor rotational speed.

The previous expression derived the initial ratio directly from motor rotational speed. This could produce a positive initial ratio while a negative ratio was requested for reverse.

Because lastRatio is subsequently blended with maxGearRatio, an incorrect initial sign can alter the start transition.

I previously experienced an abrupt start in reverse with manual transmissions, using both keyboard and controller input. After applying this correction, I confirmed that the reported reverse-start issue was resolved.

This is a gameplay observation from my installation, not a complete regression test across all vehicles and transmission configurations.

When the stored minimum gear ratio is zero and the absolute differential rotational speed is below 0.5, initialize lastRatio using the sign of maxGearRatio and the absolute motor rotational speed.

The previous expression derived the initial ratio directly from motor rotational speed. This could produce a positive initial ratio while a negative ratio was requested for reverse.

Because lastRatio is subsequently blended with maxGearRatio, an incorrect initial sign can alter the start transition.


I previously experienced an abrupt start in reverse with manual transmissions, using both keyboard and controller input. After applying this correction, I confirmed that the reported reverse-start issue was resolved.

This is a gameplay observation from my installation, not a complete regression test across all vehicles and transmission configurations.
@quadural

Copy link
Copy Markdown
Owner

accepted. Visible in next release on github. Thanks again

@quadural quadural closed this Oct 20, 2026
@terega

terega commented Oct 20, 2026

Copy link
Copy Markdown
Author

Happy to help!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants