PxVehicleRigidBodyState
Defined in include/vehicle2/rigidBody/PxVehicleRigidBodyStates.h
-
struct PxVehicleRigidBodyState
Public Functions
-
inline void setToDefault()
-
inline PxReal getVerticalSpeed(const PxVehicleFrame &frame) const
Compute the vertical speed of the rigid body transformed to the world frame.
- Parameters
frame – [in] describes the axes of the vehicle
-
inline PxReal getLateralSpeed(const PxVehicleFrame &frame) const
Compute the lateral speed of the rigid body transformed to the world frame.
- Parameters
frame – [in] describes the axes of the vehicle
-
inline PxReal getLongitudinalSpeed(const PxVehicleFrame &frame) const
Compute the longitudinal speed of the rigid body transformed to the world frame.
- Parameters
frame – [in] describes the axes of the vehicle
Public Members
-
PxTransform pose
the body’s pose (in world space)
-
inline void setToDefault()