RavEngine
Loading...
Searching...
No Matches
physx::vehicle2::PxVehiclePhysXSimulationContext Struct Reference
Inheritance diagram for physx::vehicle2::PxVehiclePhysXSimulationContext:
[legend]
Collaboration diagram for physx::vehicle2::PxVehiclePhysXSimulationContext:
[legend]

Public Member Functions

PX_FORCE_INLINE void setToDefault ()
 
PX_FORCE_INLINE PxVehiclePhysXSimulationContext transformAndScale (const PxVehicleFrame &srcFrame, const PxVehicleFrame &trgFrame, const PxVehicleScale &srcScale, const PxVehicleScale &trgScale) const
 
- Public Member Functions inherited from physx::vehicle2::PxVehicleSimulationContext
PX_FORCE_INLINE PxVehicleSimulationContextType::Enum getType () const
 
PX_FORCE_INLINE void setToDefault ()
 
PX_FORCE_INLINE PxVehicleSimulationContext transformAndScale (const PxVehicleFrame &srcFrame, const PxVehicleFrame &trgFrame, const PxVehicleScale &srcScale, const PxVehicleScale &trgScale) const
 

Public Attributes

const PxConvexMesh * physxUnitCylinderSweepMesh
 
const PxScene * physxScene
 
PxVehiclePhysXActorUpdateMode::Enum physxActorUpdateMode
 
PxReal physxActorWakeCounterResetValue
 Wake counter value to set on the physx actor if a reset is required.
 
PxReal physxActorWakeCounterThreshold
 Threshold below which to check whether the physx actor wake counter should get reset.
 
- Public Attributes inherited from physx::vehicle2::PxVehicleSimulationContext
PxVec3 gravity
 
PxVehicleFrame frame
 
PxVehicleScale scale
 
PxVehicleTireSlipParams tireSlipParams
 
PxVehicleTireStickyParams tireStickyParams
 
PxReal thresholdForwardSpeedForWheelAngleIntegration
 Forward wheel speed below which the wheel rotation speed gets blended with the rolling speed.
 
PxVehiclePvdContext pvdContext
 Structure to support Omni PVD, the PhysX Visual Debugger.
 

Additional Inherited Members

- Protected Attributes inherited from physx::vehicle2::PxVehicleSimulationContext
PxVehicleSimulationContextType::Enum type
 

Member Data Documentation

◆ physxActorWakeCounterResetValue

PxReal physx::vehicle2::PxVehiclePhysXSimulationContext::physxActorWakeCounterResetValue

Wake counter value to set on the physx actor if a reset is required.

Certain vehicle states should keep a physx actor of a vehicle awake. This will be achieved by resetting the wake counter value if needed. The wake counter value is the minimum simulation time that a physx actor will stay awake.

Unit: time

See also
physxActorWakeCounterThreshold PxVehiclePhysxActorKeepAwakeCheck

◆ physxActorWakeCounterThreshold

PxReal physx::vehicle2::PxVehiclePhysXSimulationContext::physxActorWakeCounterThreshold

Threshold below which to check whether the physx actor wake counter should get reset.

Unit: time

See also
physxActorWakeCounterResetValue PxVehiclePhysxActorKeepAwakeCheck

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