Chaos Vehicle - Set Suspension Params is wierd - Changing spring rate and preload

Hi unreal guys,

When using the vahicleMovement’s setSuspendionParams blueprint node, it’s actually adjusting the suspension, however after the change the vehicle starts acting weird. With the visual debug the forces facing forward are about half of the original, slipping/skipping wheels, very poor rollbar behavior, even if the same parameters are fed to the wheel. Looked in the code, nothing seems odd.

Are there a solution to adjust this parameter at pawn construct or anywhere at runtime?

The following screenshot displays my blueprint, makes a ratio of the kurb vs. sum weight and multiplies the suspension value by that. Not perfect but would do the job for now.


Thanks in advance!

1 Like

Hi, same issue here. When changing with node “set Suspension params” I get wheels to change behaviour. In particular they loose friction and printing the spring force (with node break wheel state) it shows weird results. Do qnyone had same issue or solved with some workaround? Thanks in advance.
Edit: Also strange there is no nodes to getting out theese values for monitoring. E.g. “Get Suspension Params”)

HI All. After several tests anc changes probably I discovered a solution.
The weird behaviour for me was fixed changing the “Wheel Load Ratio” value to everithing above the zero.


As screenshot says this value give a more physically based response of the wheels. This fix also the overwriting of some values as for example the friction.
Hope this can help.
Cheers.

1 Like

Hi there. I’m having another issue with the Set Suspension Params method, it is crashing my editor with an index out of bounds error stating the index size was 0, which implicates it may not be getting the wheels array correctly. May I ask what version of Unreal Engine were you using in your examples? Or if you have any idea of what might be causing the error please let me know.
Thanks

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.