Updating Chaos Vehicle settings during runtime (snapshot + resetting causes hitch)

Mana
Thu, 12 Dec 2024 18:20:10 +0000
Programming & Scripting

Hello

Is there a way to update the Chaos Wheeled Vehicle Movement Component settings during runtime?
I’ve successfully exposed settings such as the aerofoil lift multiplier to blueprints, but without reading the source code too thoroughly, I assume these settings are not updated on tick.
I was able to save a snapshot of the physics state, reset the vehicle, and load the snapshot, which does update the aerofoil settings, but there’s a noticeable hitch when doing so (it also resets the physics bodies, which I don’t want, because my vehicle can lose parts as it gets damaged).

Is there a way to update vehicle settings at runtime in a smooth way that does not cause a hitch?

Thanks!

2 posts - 2 participants