RigsOfRods / rigs-of-rods

Main development repository for Rigs of Rods soft-body physics simulator
https://www.rigsofrods.org
GNU General Public License v3.0
991 stars 175 forks source link

:truck: new 'guisettings' entry 'shifterAnimTime' (seconds) #3102

Closed ohlidalp closed 6 months ago

ohlidalp commented 8 months ago

This allows modder to specify how much (if at all) the shifter anims should be smoothed. Default is 0.4sec. Use 0.0sec to disable.

Useful for the ThomasHDX bus which uses the shifter anim for dashboard digits. obrazek

CuriousMike56 commented 7 months ago

Works perfect here, tested with the HDX. Though it's actually 'shifterAnimTime':

guisettings
shifterAnimTime 0.0
ohlidalp commented 6 months ago

Corrected typo in title - the keyword is "shifterAnimTime" to match animation names "shifterman1/shifterman2/shifterlin/sequential" (in code: SHIFTER*, see https://github.com/tritonas00/rigs-of-rods/blob/sky/source/main/gfx/GfxData.h#L120-L127)