RavEngine
Loading...
Searching...
No Matches
physx::vehicle2::PxVehicleRigidBodyParams Struct Reference

The properties of the rigid body. More...

#include <PxVehicleRigidBodyParams.h>

Collaboration diagram for physx::vehicle2::PxVehicleRigidBodyParams:
[legend]

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.
 

Detailed Description

The properties of the rigid body.

Member Data Documentation

◆ mass

PxReal physx::vehicle2::PxVehicleRigidBodyParams::mass

The mass of the rigid body.

Range: (0, inf)
Unit: mass

◆ moi

PxVec3 physx::vehicle2::PxVehicleRigidBodyParams::moi

The moment of inertia of the rigid body.

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


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