PxVehicleRigidBodyParams#

Defined in include/vehicle2/rigidBody/PxVehicleRigidBodyParams.h

struct PxVehicleRigidBodyParams#

The properties of the rigid body.

Public Functions

inline PxVehicleRigidBodyParams transformAndScale(
const PxVehicleFrame &srcFrame,
const PxVehicleFrame &trgFrame,
const PxVehicleScale &srcScale,
const PxVehicleScale &trgScale,
) const#
inline bool isValid() const#

Public Members

PxReal mass#

The mass of the rigid body.

Range: (0, inf)Unit: mass

PxVec3 moi#

The moment of inertia of the rigid body.

Range: (0, inf)Unit: mass * (length^2)