|
RavEngine
|
The properties of the rigid body. More...
#include <PxVehicleRigidBodyParams.h>
Public Member Functions | |
| PX_FORCE_INLINE PxVehicleRigidBodyParams | transformAndScale (const PxVehicleFrame &srcFrame, const PxVehicleFrame &trgFrame, const PxVehicleScale &srcScale, const PxVehicleScale &trgScale) const |
| PX_FORCE_INLINE bool | isValid () const |
Public Attributes | |
| PxReal | mass |
| The mass of the rigid body. | |
| PxVec3 | moi |
| The moment of inertia of the rigid body. | |
The properties of the rigid body.
| PxReal physx::vehicle2::PxVehicleRigidBodyParams::mass |
The mass of the rigid body.
Range: (0, inf)
Unit: mass
| PxVec3 physx::vehicle2::PxVehicleRigidBodyParams::moi |
The moment of inertia of the rigid body.
Range: (0, inf)
Unit: mass * (length^2)