Class PxVehiclePhysXSimulationContext

java.lang.Object
physx.NativeObject
physx.vehicle2.PxVehicleSimulationContext
physx.vehicle2.PxVehiclePhysXSimulationContext

public class PxVehiclePhysXSimulationContext extends PxVehicleSimulationContext
  • Field Details

    • SIZEOF

      public static final int SIZEOF
    • ALIGNOF

      public static final int ALIGNOF
      See Also:
  • Constructor Details

    • PxVehiclePhysXSimulationContext

      protected PxVehiclePhysXSimulationContext(long address)
    • PxVehiclePhysXSimulationContext

      public PxVehiclePhysXSimulationContext()
  • Method Details

    • wrapPointer

      public static PxVehiclePhysXSimulationContext wrapPointer(long address)
    • arrayGet

      public static PxVehiclePhysXSimulationContext arrayGet(long baseAddress, int index)
    • getPhysxUnitCylinderSweepMesh

      public PxConvexMesh getPhysxUnitCylinderSweepMesh()
    • setPhysxUnitCylinderSweepMesh

      public void setPhysxUnitCylinderSweepMesh(PxConvexMesh value)
    • getPhysxScene

      public PxScene getPhysxScene()
    • setPhysxScene

      public void setPhysxScene(PxScene value)
    • getPhysxActorUpdateMode

      public PxVehiclePhysXActorUpdateModeEnum getPhysxActorUpdateMode()
    • setPhysxActorUpdateMode

      public void setPhysxActorUpdateMode(PxVehiclePhysXActorUpdateModeEnum value)
    • getPhysxActorWakeCounterResetValue

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

    • setPhysxActorWakeCounterResetValue

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

    • getPhysxActorWakeCounterThreshold

      public float getPhysxActorWakeCounterThreshold()
      Threshold below which to check whether the physx actor wake counter should get reset.

      Unit: time

    • setPhysxActorWakeCounterThreshold

      public void setPhysxActorWakeCounterThreshold(float value)
      Threshold below which to check whether the physx actor wake counter should get reset.

      Unit: time

    • transformAndScale

      public PxVehiclePhysXSimulationContext transformAndScale(PxVehicleFrame srcFrame, PxVehicleFrame trgFrame, PxVehicleScale srcScale, PxVehicleScale trgScale)
      Overrides:
      transformAndScale in class PxVehicleSimulationContext
      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: PxVehiclePhysXSimulationContext [Value]