PxVehicleReadRigidBodyStateFromPhysXActor

Defined in include/vehicle2/physxActor/PxVehiclePhysXActorFunctions.h

void PxVehicleReadRigidBodyStateFromPhysXActor(const PxRigidBody &physxActor, PxVehicleRigidBodyState &rigidBodyState)

Read the rigid body state from a PhysX actor.

Parameters
  • physxActor[in] is a reference to a PhysX actor.

  • rigidBodyState[out] is the state of the rigid body used by the Vehicle SDK.