Class PxVehicleSimulationContext

java.lang.Object
physx.NativeObject
physx.vehicle2.PxVehicleSimulationContext
Direct Known Subclasses:
PxVehiclePhysXSimulationContext

public class PxVehicleSimulationContext extends NativeObject
  • Field Details

    • SIZEOF

      public static final int SIZEOF
    • ALIGNOF

      public static final int ALIGNOF
      See Also:
  • Constructor Details

    • PxVehicleSimulationContext

      protected PxVehicleSimulationContext(long address)
    • PxVehicleSimulationContext

      public PxVehicleSimulationContext()
  • Method Details

    • wrapPointer

      public static PxVehicleSimulationContext wrapPointer(long address)
    • arrayGet

      public static PxVehicleSimulationContext arrayGet(long baseAddress, int index)
    • destroy

      public void destroy()
    • getGravity

      public PxVec3 getGravity()
    • setGravity

      public void setGravity(PxVec3 value)
    • getFrame

      public PxVehicleFrame getFrame()
    • setFrame

      public void setFrame(PxVehicleFrame value)
    • getScale

      public PxVehicleScale getScale()
    • setScale

      public void setScale(PxVehicleScale value)
    • getTireSlipParams

      public PxVehicleTireSlipParams getTireSlipParams()
    • setTireSlipParams

      public void setTireSlipParams(PxVehicleTireSlipParams value)
    • getTireStickyParams

      public PxVehicleTireStickyParams getTireStickyParams()
    • setTireStickyParams

      public void setTireStickyParams(PxVehicleTireStickyParams value)
    • getThresholdForwardSpeedForWheelAngleIntegration

      public float getThresholdForwardSpeedForWheelAngleIntegration()
      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

    • setThresholdForwardSpeedForWheelAngleIntegration

      public void setThresholdForwardSpeedForWheelAngleIntegration(float value)
      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

    • getPvdContext

      public PxVehiclePvdContext getPvdContext()
      Structure to support Omni PVD, the PhysX Visual Debugger.
    • setPvdContext

      public void setPvdContext(PxVehiclePvdContext value)
      Structure to support Omni PVD, the PhysX Visual Debugger.
    • getType

      Returns:
      WebIDL type: PxVehicleSimulationContextTypeEnum [enum]
    • setToDefault

      public void setToDefault()
    • transformAndScale

      public PxVehicleSimulationContext transformAndScale(PxVehicleFrame srcFrame, PxVehicleFrame trgFrame, PxVehicleScale srcScale, PxVehicleScale trgScale)
      Parameters:
      srcFrame - WebIDL type: PxVehicleFrame [Const, Ref]
      trgFrame - WebIDL type: PxVehicleFrame [Const, Ref]
      srcScale - WebIDL type: PxVehicleScale [Const, Ref]
      trgScale - WebIDL type: PxVehicleScale [Const, Ref]
      Returns:
      WebIDL type: PxVehicleSimulationContext [Value]