|
RavEngine
|
Compute the per wheel drive torque split of a four wheel drive differential. More...
#include <PxVehicleDrivetrainComponents.h>
Public Member Functions | |
| virtual void | getDataForLegacyFourWheelDriveDifferentialStateComponent (const PxVehicleAxleDescription *&axleDescription, const PxVehicleFourWheelDriveDifferentialLegacyParams *&differentialParams, PxVehicleArrayData< const PxVehicleWheelRigidBody1dState > &wheelRigidbody1dStates, PxVehicleDifferentialState *&differentialState)=0 |
| virtual bool | update (const PxReal dt, const PxVehicleSimulationContext &context) |
| Update function for a vehicle component. | |
Compute the per wheel drive torque split of a four wheel drive differential.
|
inlinevirtual |
Update function for a vehicle component.
| [in] | dt | The timestep size to use for the update step. |
| [in] | context | Vehicle simulation context holding global data or data that usually applies to a large group of vehicles. |
Implements physx::vehicle2::PxVehicleComponent.