Community Forum

How to change 'restLoad' inGame?

Forum Overview >> Scripting

CategoryScripting
Created22.04.2017 18:38


Julien Laune (Jujudu62) 22.04.2017 18:42
Hello everyone,
I want to create a script that will allow me to be able to modify the pressure of the tires (initialCompression) directly from the game.
Can anyone help me?
I tried several methods but none of them worked ...

Emil Drefers (Unknown) 24.04.2017 06:59
Hi,

'initialCompression' is a value that refers to the spring/damper system.

Check out WheelsUtil.updateWheelGraphics()
https://gdn.giants-software.com/documentation_scripting.php?version=script&category=69&class=3545#updateWheelsGraphics48089
to see how the tire deformation is calculated and applied.

Cheers,
Emil


Note: Log in to post. Create a new account here.