|
RavEngine
|
Forward integrate the angular speed of each wheel on a vehicle by integrating the brake and drive torque applied to each wheel and the torque that develops on the tire as a response to the longitudinal tire force. More...
#include <PxVehicleDrivetrainComponents.h>
Public Member Functions | |
| virtual void | getDataForDirectDrivetrainComponent (const PxVehicleAxleDescription *&axleDescription, PxVehicleArrayData< const PxReal > &brakeResponseStates, PxVehicleArrayData< const PxReal > &throttleResponseStates, PxVehicleArrayData< const PxVehicleWheelParams > &wheelParams, PxVehicleArrayData< const PxVehicleWheelActuationState > &actuationStates, PxVehicleArrayData< const PxVehicleTireForce > &tireForces, PxVehicleArrayData< PxVehicleWheelRigidBody1dState > &wheelRigidBody1dStates)=0 |
| virtual bool | update (const PxReal dt, const PxVehicleSimulationContext &context) |
| Update function for a vehicle component. | |
Forward integrate the angular speed of each wheel on a vehicle by integrating the brake and drive torque applied to each wheel and the torque that develops on the tire as a response to the longitudinal tire force.
|
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.