Download

Changing DifferentialSetup in realtime ( LimitedSlip_4W <-> Open_RearDrive )

Hello, I’m working on a vehicle simulator and i want to change the DifferentialSetup in real-time, but i can’t find a correct way to do the change… My first approach was modifying the Vehicle4W->DifferentialSetup.DifferentialType value without success… then looking more in depth on how the engine creates the vehicles the function UpdateDifferentialSetup appeared, but this function is protected and i can’t access to it from my code… Is there a simple way to reach my goal?, i was thinking on recompile the engine with the function unprotected… but why the function is protected?

Thanks in advance.