Logo
  • PhysX License
  • Building with PhysX
  • Snippets
  • PhysX API Basics
  • Startup and Shutdown
  • Threading
  • Geometry
  • Custom Geometry
  • Rigid Body Overview
  • Rigid Body Collision
  • Rigid Body Dynamics
  • Simulation
  • Advanced Collision Detection
  • Joints
  • Articulations
  • GPU Rigid Bodies
  • Soft Bodies
  • Particle System
  • Geometry Queries
  • Scene Queries
  • Gjk Queries
  • Vehicles
  • Character Controllers
  • Debug Visualization
  • Omniverse Visual Debugger
  • Simulation Statistics
  • Serialization
  • Extending Serialization
  • Best Practices Guide
  • Migrating From PhysX SDK 2.x to 3.x
  • Migrating From PhysX SDK 3.2 to 3.3
  • Migrating From PhysX SDK 3.3 to 3.4
  • Migrating From PhysX SDK 3.4 to 4.0
  • Migrating From PhysX SDK 4.0 to 5.1
  • Migrating From PhysX SDK 5.1 to 5.2
  • Migrating From PhysX SDK 5.2 to 5.3
  • PhysX SDK API
    • Directory hierarchy
    • Namespace hierarchy
    • API contents
      • Classes
        • OmniPvdFileReadStream
        • OmniPvdFileWriteStream
        • OmniPvdMemoryStream
        • OmniPvdReadStream
        • OmniPvdReader
        • OmniPvdWriteStream
        • OmniPvdWriter
        • PxAABBManager
        • PxActor
        • PxAggregate
        • PxAlignedAllocator
        • PxAllocationListener
        • PxAllocator
        • PxAllocatorCallback
        • PxAnisotropyCallback
        • PxAnisotropyGenerator
        • PxArrayConverter
        • PxArticulationAttachment
        • PxArticulationCache
        • PxArticulationCacheFlag
        • PxArticulationFixedTendon
        • PxArticulationGpuDataType
        • PxArticulationJointReducedCoordinate
        • PxArticulationLink
        • PxArticulationReducedCoordinate
        • PxArticulationSensor
        • PxArticulationSpatialTendon
        • PxArticulationTendon
        • PxArticulationTendonJoint
        • PxArticulationTendonLimit
        • PxBVH
        • PxBVH33TriangleMesh
        • PxBVH34TriangleMesh
        • PxBVHDesc
        • PxBase
        • PxBaseMaterial
        • PxBaseTask
        • PxBatchQueryExt
        • PxBinaryConverter
        • PxBitAndDataT
        • PxBitMapBase
        • PxBounds3
        • PxBoxController
        • PxBoxControllerDesc
        • PxBoxGeometry
        • PxBoxObstacle
        • PxBroadPhase
        • PxBroadPhaseCallback
        • PxBroadPhaseDesc
        • PxBroadPhaseExt
        • PxBroadPhaseRegions
        • PxBroadPhaseUpdateData
        • PxBroadcast
        • PxBroadcastingAllocator
        • PxBroadcastingErrorCallback
        • PxCCDContactModifyCallback
        • PxCacheAllocator
        • PxCapsuleController
        • PxCapsuleControllerDesc
        • PxCapsuleGeometry
        • PxCapsuleObstacle
        • PxCoalescedHashMap
        • PxCoalescedHashSet
        • PxCollection
        • PxCollectionExt
        • PxCollisionMeshMappingData
        • PxCollisionTetrahedronMeshData
        • PxConstraint
        • PxConstraintAllocator
        • PxConstraintConnector
        • PxConstraintVisualizer
        • PxContactBuffer
        • PxContactJoint
        • PxContactModifyCallback
        • PxContactModifyPair
        • PxContactRecorder
        • PxContactSet
        • PxController
        • PxControllerBehaviorCallback
        • PxControllerDesc
        • PxControllerFilterCallback
        • PxControllerFilters
        • PxControllerManager
        • PxConvexMesh
        • PxConvexMeshDesc
        • PxConvexMeshGeometry
        • PxCpuDispatcher
        • PxCudaContext
        • PxCudaContextManager
        • PxCudaContextManagerDesc
        • PxCustomGeometry
        • PxCustomGeometryExt
        • PxCustomSceneQuerySystem
        • PxCustomSceneQuerySystemAdapter
        • PxD6Joint
        • PxD6JointDrive
        • PxDefaultAllocator
        • PxDefaultCpuDispatcher
        • PxDefaultErrorCallback
        • PxDefaultFileInputData
        • PxDefaultFileOutputStream
        • PxDefaultMemoryInputData
        • PxDefaultMemoryOutputStream
        • PxDelayLoadHook
        • PxDeletionListener
        • PxDeserializationContext
        • PxDeviceAllocatorCallback
        • PxDiffuseParticleParams
        • PxDistanceJoint
        • PxDynamicArrayReportCallback
        • PxErrorCallback
        • PxExternalStorageReportCallback
        • PxFEMClothMaterial
        • PxFEMMaterial
        • PxFEMSoftBodyMaterial
        • PxFLIPMaterial
        • PxFPUGuard
        • PxFileBuf
        • PxFixedJoint
        • PxFixedSizeLookupTable
        • PxFlags
        • PxFoundation
        • PxGearJoint
        • PxGeometry
        • PxGeometryHolder
        • PxGeometryQuery
        • PxGjkQuery
        • PxGjkQueryExt
        • PxGpuFixedTendonData
        • PxGpuLoadHook
        • PxGpuParticleSystem
        • PxGpuSpatialTendonData
        • PxGpuTendonAttachmentData
        • PxGpuTendonJointCoefficientData
        • PxGroupsMask
        • PxHairSystemGeometry
        • PxHashBase
        • PxHashMap
        • PxHashMapBase
        • PxHashSet
        • PxHashSetBase
        • PxHeightField
        • PxHeightFieldDesc
        • PxHeightFieldGeometry
        • PxInlineAllocator
        • PxInlineArray
        • PxInputData
        • PxInputStream
        • PxInsertionCallback
        • PxIsosurfaceCallback
        • PxIsosurfaceExtractor
        • PxJoint
        • PxJointAngularLimitPair
        • PxJointLimitCone
        • PxJointLimitParameters
        • PxJointLimitPyramid
        • PxJointLinearLimit
        • PxJointLinearLimitPair
        • PxLightCpuTask
        • PxLineStripSkinning
        • PxLocalStorageReportCallback
        • PxLockedData
        • PxMPMMaterial
        • PxMassProperties
        • PxMat33Padded
        • PxMat33T
        • PxMat34Padded
        • PxMat34T
        • PxMat44T
        • PxMaterial
        • PxMeshOverlapUtil
        • PxMeshQuery
        • PxMeshScale
        • PxMidphaseDesc
        • PxMultiCallback
        • PxMutexImpl
        • PxMutexT
        • PxNeighborhoodIterator
        • PxNodeIndex
        • PxObstacle
        • PxObstacleContext
        • PxOmniPvd
        • PxOutputStream
        • PxPBDMaterial
        • PxPBDParticleSystem
        • PxPair
        • PxParticleAndDiffuseBuffer
        • PxParticleBuffer
        • PxParticleClothBuffer
        • PxParticleClothPreProcessor
        • PxParticleMaterial
        • PxParticleNeighborhoodProvider
        • PxParticleRigidBuffer
        • PxParticleSystem
        • PxParticleSystemCallback
        • PxParticleSystemGeometry
        • PxPhysics
        • PxPhysicsGpu
        • PxPlane
        • PxPlaneGeometry
        • PxPoissonSampler
        • PxPrismaticJoint
        • PxProcessPxBaseCallback
        • PxProfileScoped
        • PxProfilerCallback
        • PxPruningStructure
        • PxPvd
        • PxPvdSceneClient
        • PxPvdTransport
        • PxQuatT
        • PxQueryFilterCallback
        • PxRackAndPinionJoint
        • PxRawAllocator
        • PxReadWriteLock
        • PxRefCounted
        • PxReflectionAllocator
        • PxRegularReportCallback
        • PxRemeshingExt
        • PxRenderBuffer
        • PxRenderOutput
        • PxRepXSerializer
        • PxReportCallback
        • PxRevoluteJoint
        • PxRigidActor
        • PxRigidActorExt
        • PxRigidBody
        • PxRigidBodyExt
        • PxRigidDynamic
        • PxRigidStatic
        • PxRunnable
        • PxSDFBuilder
        • PxSDFDesc
        • PxSIMDGuard
        • PxSListEntry
        • PxSListT
        • PxSamplingExt
        • PxScene
        • PxSceneDesc
        • PxSceneLimits
        • PxSceneQueryDesc
        • PxSceneQueryExt
        • PxSceneQuerySystem
        • PxSceneQuerySystemBase
        • PxSceneReadLock
        • PxSceneSQSystem
        • PxSceneWriteLock
        • PxScopedCudaLock
        • PxScopedPointer
        • PxSdfBitsPerSubgridPixel
        • PxSerialization
        • PxSerializationContext
        • PxSerializationRegistry
        • PxSerializer
        • PxSerializerDefaultAdapter
        • PxShape
        • PxShapeExt
        • PxSimpleTriangleMesh
        • PxSimulationEventCallback
        • PxSimulationFilterCallback
        • PxSimulationStatistics
        • PxSimulationTetrahedronMeshData
        • PxSmoothedPositionCallback
        • PxSmoothedPositionGenerator
        • PxSocket
        • PxSoftBody
        • PxSoftBodyAuxData
        • PxSoftBodyCollisionData
        • PxSoftBodyExt
        • PxSoftBodyGpuDataFlag
        • PxSoftBodyMesh
        • PxSoftBodySimulationData
        • PxSoftBodySimulationDataDesc
        • PxSparseGridIsosurfaceExtractor
        • PxSphereGeometry
        • PxSphericalJoint
        • PxSpring
        • PxStack
        • PxStrideIterator
        • PxStringTable
        • PxStringTableExt
        • PxSyncImpl
        • PxSyncT
        • PxTask
        • PxTaskManager
        • PxTempAllocator
        • PxTetMaker
        • PxTetrahedron
        • PxTetrahedronMesh
        • PxTetrahedronMeshAnalysisResult
        • PxTetrahedronMeshData
        • PxTetrahedronMeshDesc
        • PxTetrahedronMeshExt
        • PxTetrahedronMeshGeometry
        • PxThreadImpl
        • PxThreadT
        • PxTime
        • PxTolerancesScale
        • PxTransformT
        • PxTriangle
        • PxTriangleMesh
        • PxTriangleMeshAnalysisResult
        • PxTriangleMeshDesc
        • PxTriangleMeshGeometry
        • PxTriangleMeshPoissonSampler
        • PxTrianglePadded
        • PxUserAllocated
        • PxUserControllerHitReport
        • PxVec2T
        • PxVec3Padded
        • PxVec3T
        • PxVec4T
        • PxVehicleCommandNonLinearResponseParams
        • PxVehicleComponent
        • PxVehicleConstraintConnector
        • PxVehicleDirectDriveActuationStateComponent
        • PxVehicleDirectDriveCommandResponseComponent
        • PxVehicleDirectDrivetrainComponent
        • PxVehicleEngineDriveActuationStateComponent
        • PxVehicleEngineDriveCommandResponseComponent
        • PxVehicleEngineDrivetrainComponent
        • PxVehicleFixedSizeLookupTable
        • PxVehicleFourWheelDriveDifferentialStateComponent
        • PxVehicleLegacyFourWheelDriveDifferentialStateComponent
        • PxVehicleLegacySuspensionComponent
        • PxVehicleLegacyTireComponent
        • PxVehicleMatrix33Solver
        • PxVehicleMatrixNGaussSeidelSolver
        • PxVehicleMatrixNN
        • PxVehicleMatrixNNLUSolver
        • PxVehicleMultiWheelDriveDifferentialStateComponent
        • PxVehiclePVDComponent
        • PxVehiclePhysXActorBeginComponent
        • PxVehiclePhysXActorEndComponent
        • PxVehiclePhysXConstraintComponent
        • PxVehiclePhysXRigidActorParams
        • PxVehiclePhysXRigidActorShapeParams
        • PxVehiclePhysXRoadGeometrySceneQueryComponent
        • PxVehiclePhysXWheelParams
        • PxVehiclePhysXWheelShapeParams
        • PxVehicleRigidBodyComponent
        • PxVehicleSuspensionComponent
        • PxVehicleTankDriveDifferentialStateComponent
        • PxVehicleTireComponent
        • PxVehicleVectorN
        • PxVehicleWheelComponent
        • PxVirtualAllocator
        • PxVirtualAllocatorCallback
        • RaycastCCDManager
      • Macros
      • Directories
      • Files
      • Functions
      • Groups
      • Namespaces
      • Pages
      • Structs
      • Typedefs
      • Unions
      • Variables
physx
  • »
  • PhysX SDK API »
  • Classes »
  • PxVehicleComponent
  •  

PxVehicleComponent

Defined in include/vehicle2/PxVehicleComponent.h

class PxVehicleComponent

Subclassed by PxVehicleDirectDriveActuationStateComponent, PxVehicleDirectDriveCommandResponseComponent, PxVehicleDirectDrivetrainComponent, PxVehicleEngineDriveActuationStateComponent, PxVehicleEngineDriveCommandResponseComponent, PxVehicleEngineDrivetrainComponent, PxVehicleFourWheelDriveDifferentialStateComponent, PxVehicleLegacyFourWheelDriveDifferentialStateComponent, PxVehicleLegacySuspensionComponent, PxVehicleLegacyTireComponent, PxVehicleMultiWheelDriveDifferentialStateComponent, PxVehiclePVDComponent, PxVehiclePhysXActorBeginComponent, PxVehiclePhysXActorEndComponent, PxVehiclePhysXConstraintComponent, PxVehiclePhysXRoadGeometrySceneQueryComponent, PxVehicleRigidBodyComponent, PxVehicleSuspensionComponent, PxVehicleTankDriveDifferentialStateComponent, PxVehicleTireComponent, PxVehicleWheelComponent

Public Functions

inline virtual ~PxVehicleComponent()
virtual bool update(const PxReal dt, const PxVehicleSimulationContext &context) = 0

Update function for a vehicle component.

See also

PxVehicleComponentSequence

Parameters
  • dt – [in] The timestep size to use for the update step.

  • context – [in] Vehicle simulation context holding global data or data that usually applies to a large group of vehicles.

Returns

True if subsequent components in a sequence should get updated, false if the sequence should be aborted.


© Copyright 2022-2023, NVIDIA. Last updated on Dec 11, 2023.