DonBruce64 / MinecraftTransportSimulator

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

Round out `acceleration` variable from -+0.025 to 0 in order to mitigate negative-positive jumping #1634

Closed boot2big closed 1 year ago

boot2big commented 1 year ago

This freakin' thing has made me lose my mind for the LAST time. No longer will I concede with making the translation or rotation guided by this variable smaller, nor hath I the patience to find just the right amount to dampen this variable by. This god-forsaken value jumping padded by more 0's than π itself ends here, acceleration variable! I win!! image

tl;dr Rounding the acceleration so it doesn't constantly switch between positive and negative values, which doesn't play well with most uses for this variable

boot2big commented 1 year ago

Sorry, it was late at night when I wrote that.