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

Public Member Functions

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

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.
 

Protected Attributes

PxVehicleSimulationContextType::Enum type
 

Member Data Documentation

◆ thresholdForwardSpeedForWheelAngleIntegration

PxReal physx::vehicle2::PxVehicleSimulationContext::thresholdForwardSpeedForWheelAngleIntegration

Forward wheel speed below which the wheel rotation speed gets blended with the rolling speed.

The blended rotation speed is used to integrate the wheel rotation angle. At low forward wheel speed, the wheel rotation speed can get unstable (depending on the tire model used) and, for example, oscillate.

Note
If brake or throttle is applied, there will be no blending.

Unit: velocity = length / time


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