PxVehiclePhysXActor

Defined in include/vehicle2/physxActor/PxVehiclePhysXActorStates.h

struct PxVehiclePhysXActor

A description of the PhysX actor and shapes that represent the vehicle in an associated PxScene.

Public Functions

inline void setToDefault()

Public Members

PxRigidBody *rigidBody

The PhysX rigid body that represents the vehcle in the associated PhysX scene.

Note

PxActorFlag::eDISABLE_GRAVITY must be set true on the PxRigidBody

PxShape *wheelShapes[PxVehicleLimits::eMAX_NB_WHEELS]

An array of shapes with one shape pointer (or NULL) for each wheel.