Module |
|
Header |
/Engine/Source/Runtime/Experimental/ChaosVehicles/ChaosVehiclesCore/Public/WheelSystem.h |
Include |
#include "WheelSystem.h" |
Source |
/Engine/Source/Runtime/Experimental/ChaosVehicles/ChaosVehiclesCore/Private/WheelSystem.cpp |
void Simulate
(
float DeltaTime
)
Simulate - figure out wheel lateral and longitudinal forces based on available friction at the wheel Wheel load force from body weight and the surface friction together determine the grip available at the wheel DriveTorque accelerates the wheel BrakeTorque decelerates the wheel
#todo: this function is a mess and needs tidied/consolidated #todo: lateral friction is currently not affected by longitudinal wheel slip #todo: wheel slip angle isn't being used