Data structure with instanced dynamics data and configuration data of a vehicle with just wheels.
More...
#include <PxVehicleWheels.h>
Data structure with instanced dynamics data and configuration data of a vehicle with just wheels.
- See also
- PxVehicleDrive, PxVehicleDrive4W, PxVehicleDriveTank
◆ PxVehicleWheels() [1/2]
◆ PxVehicleWheels() [2/2]
PxVehicleWheels::PxVehicleWheels |
( |
PxBaseFlags |
baseFlags | ) |
|
|
inline |
◆ ~PxVehicleWheels()
virtual PxVehicleWheels::~PxVehicleWheels |
( |
| ) |
|
|
inlinevirtual |
◆ computeByteSize()
static PxU32 PxVehicleWheels::computeByteSize |
( |
const PxU32 |
nbWheels | ) |
|
|
staticprotected |
◆ computeForwardSpeed()
PxReal PxVehicleWheels::computeForwardSpeed |
( |
| ) |
const |
Compute the rigid body velocity component along the forward vector of the rigid body transform.
- See also
- PxVehicleSetBasisVectors
◆ computeSidewaysSpeed()
PxReal PxVehicleWheels::computeSidewaysSpeed |
( |
| ) |
const |
Compute the rigid body velocity component along the right vector of the rigid body transform.
- See also
- PxVehicleSetBasisVectors
◆ exportExtraData()
◆ free()
void PxVehicleWheels::free |
( |
| ) |
|
|
protected |
◆ getBinaryMetaData()
static void PxVehicleWheels::getBinaryMetaData |
( |
PxOutputStream & |
stream | ) |
|
|
static |
◆ getConcreteTypeName()
virtual const char* PxVehicleWheels::getConcreteTypeName |
( |
| ) |
const |
|
inlinevirtual |
◆ getNbNonDrivenWheels()
◆ getRigidDynamicActor() [1/2]
Get non-const ptr to PxRigidDynamic instance that is the vehicle's physx representation.
◆ getRigidDynamicActor() [2/2]
Get const ptr to PxRigidDynamic instance that is the vehicle's physx representation.
◆ getVehicleType()
◆ importExtraData()
◆ init()
virtual void PxVehicleWheels::init |
( |
const PxU32 |
numWheels | ) |
|
|
protectedvirtual |
◆ isKindOf()
virtual bool PxVehicleWheels::isKindOf |
( |
const char * |
superClass | ) |
const |
|
inlinevirtual |
◆ isValid()
bool PxVehicleWheels::isValid |
( |
| ) |
const |
|
protected |
Test that all configuration and instanced dynamics data is valid.
◆ patchupPointers()
static PxU8* PxVehicleWheels::patchupPointers |
( |
const PxU32 |
nbWheels, |
|
|
PxVehicleWheels * |
vehWheels, |
|
|
PxU8 * |
ptr |
|
) |
| |
|
staticprotected |
◆ release()
virtual void PxVehicleWheels::release |
( |
| ) |
|
|
inlinevirtual |
Releases the PxBase instance, please check documentation of release in derived class.
Implements PxBase.
◆ requiresObjects()
◆ resolveReferences()
◆ setToRestState()
void PxVehicleWheels::setToRestState |
( |
| ) |
|
|
protected |
Set all wheels to their rest state.
◆ setup()
◆ PxVehicleConstraintShader
friend class PxVehicleConstraintShader |
|
friend |
◆ PxVehicleUpdate
friend class PxVehicleUpdate |
|
friend |
◆ mActor
The rigid body actor that represents the vehicle in the PhysX SDK.
◆ mNbNonDrivenWheels
PxU32 PxVehicleWheels::mNbNonDrivenWheels |
|
private |
Count the number of constraint connectors that have hit their callback when deleting a vehicle. Can only delete the vehicle's memory when all constraint connectors have hit their callback.
◆ mOnConstraintReleaseCounter
PxU8 PxVehicleWheels::mOnConstraintReleaseCounter |
|
private |
◆ mPad0
PxU8 PxVehicleWheels::mPad0[14] |
|
protected |
◆ mType
PxU8 PxVehicleWheels::mType |
|
protected |
Vehicle type (eVehicleDriveTypes)
◆ mWheelsDynData
Data describing the dynamic state of all wheels/suspension/tires.
◆ mWheelsSimData
Data describing the setup of all the wheels/suspensions/tires.
The documentation for this class was generated from the following file: