RavEngine
Loading...
Searching...
No Matches
physx::vehicle2::PxVehicleRigidBodyState Struct Reference
Collaboration diagram for physx::vehicle2::PxVehicleRigidBodyState:
[legend]

Public Member Functions

PX_FORCE_INLINE void setToDefault ()
 
PX_FORCE_INLINE PxReal getVerticalSpeed (const PxVehicleFrame &frame) const
 Compute the vertical speed of the rigid body transformed to the world frame.
 
PX_FORCE_INLINE PxReal getLateralSpeed (const PxVehicleFrame &frame) const
 Compute the lateral speed of the rigid body transformed to the world frame.
 
PX_FORCE_INLINE PxReal getLongitudinalSpeed (const PxVehicleFrame &frame) const
 Compute the longitudinal speed of the rigid body transformed to the world frame.
 

Public Attributes

PxTransform pose
 the body's pose (in world space)
 
PxVec3 linearVelocity
 the body's linear velocity (in world space)
 
PxVec3 angularVelocity
 the body's angular velocity (in world space)
 
PxVec3 previousLinearVelocity
 the previous linear velocity of the body (in world space)
 
PxVec3 previousAngularVelocity
 the previous angular velocity of the body (in world space)
 
PxVec3 externalForce
 external force (in world space) affecting the rigid body (usually excluding gravitational force)
 
PxVec3 externalTorque
 external torque (in world space) affecting the rigid body
 

Member Function Documentation

◆ getLateralSpeed()

PX_FORCE_INLINE PxReal physx::vehicle2::PxVehicleRigidBodyState::getLateralSpeed ( const PxVehicleFrame &  frame) const
inline

Compute the lateral speed of the rigid body transformed to the world frame.

Parameters
[in]framedescribes the axes of the vehicle

◆ getLongitudinalSpeed()

PX_FORCE_INLINE PxReal physx::vehicle2::PxVehicleRigidBodyState::getLongitudinalSpeed ( const PxVehicleFrame &  frame) const
inline

Compute the longitudinal speed of the rigid body transformed to the world frame.

Parameters
[in]framedescribes the axes of the vehicle

◆ getVerticalSpeed()

PX_FORCE_INLINE PxReal physx::vehicle2::PxVehicleRigidBodyState::getVerticalSpeed ( const PxVehicleFrame &  frame) const
inline

Compute the vertical speed of the rigid body transformed to the world frame.

Parameters
[in]framedescribes the axes of the vehicle

The documentation for this struct was generated from the following file: