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

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

#include <PxVehiclePhysXActorStates.h>

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

Public Member Functions

PX_FORCE_INLINE void setToDefault ()
 

Public Attributes

PxRigidBody * rigidBody
 The PhysX rigid body that represents the vehcle in the associated PhysX scene.
 
PxShape * wheelShapes [PxVehicleLimits::eMAX_NB_WHEELS]
 An array of shapes with one shape pointer (or NULL) for each wheel.
 

Detailed Description

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

Member Data Documentation

◆ rigidBody

PxRigidBody* physx::vehicle2::PxVehiclePhysXActor::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

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