DonBruce64 / MinecraftTransportSimulator

A Minecraft mod that adds planes and automobiles with realistic physics!
Other
106 stars 59 forks source link

steeringForceFactor + steeringForceIgnoresSpeed #1778

Closed boot2big closed 4 months ago

boot2big commented 4 months ago

This PR does four significant things:

But why?

Some pack authors may find the current behavior of downForce/overSteer/underSteer to offer less control over their vehicle's handling than wished. This is especially noticeable because at low speeds, downForce has little to no effect on vehicle handling. However this pull request seeks to alleviate that by retaining this behavior by default whilst offering an alternative. As downForce steeringForceFactor can be variableModified, this results in more customizable vehicle behavior through the use of clever VMs.

Other stuff

downForce has technically been deprecated, however it is immediately LC'ed to steeringForceFactor. As there is no change in functionality when steeringForceIgnoresSpeed is false, this has no effect on any packs to my knowledge. Demonstrational Video

https://github.com/DonBruce64/MinecraftTransportSimulator/assets/53581325/dfe40d9d-b263-4e3a-b672-5b83441816fc

*sigh* Point, not ponit.

DonBruce64 commented 4 months ago

Merged. Go forth and wiki this!