Hi everyone,
I’m working with UE 5.5 Chaos Vehicle, and I’m trying to replace the default friction algorithm in WheelSystem.cpp
with a Magic Formula (Pacejka) based on slip ratio. However, I’m running into issues.
From what I can tell, there are two main problems:
-
Slip ratio definition – I think I need to handle the singularity point properly.
-
Wheel state update – Something feels off. The original code only seems to add
groundVelocity + slipOmega
.
I tried updating wheel angular velocity like this:
omega += deltaTime * (Torque - Re * forceFromFriction.X) / inertia;
But with this approach, the wheel spins up way too quickly.
Are there any references, documentation, or example implementations for this?
Thanks a lot for any help!