PxVehiclePhysXActorConfigure

Defined in include/vehicle2/physxActor/PxVehiclePhysXActorHelpers.h

void PxVehiclePhysXActorConfigure(const PxVehiclePhysXRigidActorParams &rigidActorParams, const PxTransform &rigidActorCmassLocalPose, PxRigidBody &rigidBody)

Configure an actor so that it is ready for vehicle simulation.

Parameters
  • rigidActorParams[in] describes the mass and moment of inertia of the rigid body.

  • rigidActorCmassLocalPose[in] specifies the mapping between actor and rigid body frame.

  • rigidBody[out] is the body to be prepared for simulation.