35#include "foundation/PxSimpleTypes.h"
37#include "vehicle2/PxVehicleParams.h"
50struct PxVehicleCommandState;
51struct PxVehicleEngineDriveTransmissionCommandState;
52struct PxVehicleEngineParams;
53struct PxVehicleEngineState;
54struct PxVehicleGearboxParams;
55struct PxVehicleGearboxState;
56struct PxVehicleRigidBodyState;
57struct PxVehiclePhysXConstraints;
58struct PxVehicleWheelLocalPose;
59struct PxVehicleWheelParams;
60struct PxVehicleWheelRigidBody1dState;
61struct PxVehiclePhysXSteerState;
85void PxVehiclePhysxActorWakeup(
86 const PxVehicleCommandState& commands,
87 const PxVehicleEngineDriveTransmissionCommandState* transmissionCommands,
88 const PxVehicleGearboxParams* gearParams,
89 const PxVehicleGearboxState* gearState,
90 PxRigidBody& physxActor,
91 PxVehiclePhysXSteerState& physxSteerState);
111bool PxVehiclePhysxActorSleepCheck
112(
const PxVehicleAxleDescription& axleDescription,
113 const PxRigidBody& physxActor,
114 const PxVehicleEngineParams* engineParams,
115 PxVehicleRigidBodyState& rigidBodyState,
116 PxVehiclePhysXConstraints& physxConstraints,
117 PxVehicleArrayData<PxVehicleWheelRigidBody1dState>& wheelRigidBody1dStates,
118 PxVehicleEngineState* engineState);
144void PxVehiclePhysxActorKeepAwakeCheck
145(
const PxVehicleAxleDescription& axleDescription,
146 const PxVehicleArrayData<const PxVehicleWheelParams>& wheelParams,
147 const PxVehicleArrayData<const PxVehicleWheelRigidBody1dState>& wheelRigidBody1dStates,
148 const PxReal wakeCounterThreshold,
149 const PxReal wakeCounterResetValue,
150 const PxVehicleGearboxState* gearState,
151 PxRigidBody& physxActor);
159void PxVehicleReadRigidBodyStateFromPhysXActor
160(
const PxRigidBody& physxActor,
161 PxVehicleRigidBodyState& rigidBodyState);
169void PxVehicleWriteWheelLocalPoseToPhysXWheelShape
170(
const PxTransform& wheelLocalPose,
const PxTransform& wheelShapeLocalPose, PxShape* shape);
182void PxVehicleWriteRigidBodyStateToPhysXActor
183(
const PxVehiclePhysXActorUpdateMode::Enum physxActorUpdateMode,
184 const PxVehicleRigidBodyState& rigidBodyState,
186 PxRigidBody& physXActor);
Sorts an array of objects in ascending order, assuming that the predicate implements the < operator:
Definition PxBoxController.h:39