Class PxVehicleAntiRollTorque

java.lang.Object
physx.NativeObject
physx.vehicle2.PxVehicleAntiRollTorque

public class PxVehicleAntiRollTorque extends NativeObject
The anti-roll torque of all anti-roll bars accumulates in a single torque to apply to the vehicle's rigid body.
  • Field Details

    • SIZEOF

      public static final int SIZEOF
    • ALIGNOF

      public static final int ALIGNOF
      See Also:
  • Constructor Details

    • PxVehicleAntiRollTorque

      protected PxVehicleAntiRollTorque(long address)
    • PxVehicleAntiRollTorque

      public PxVehicleAntiRollTorque()
  • Method Details

    • wrapPointer

      public static PxVehicleAntiRollTorque wrapPointer(long address)
    • arrayGet

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

      public void destroy()
    • getAntiRollTorque

      public PxVec3 getAntiRollTorque()
      The accumulated torque to apply to the rigid body. Note: antiRollTorque is expressed in the world frame.

      Unit: mass * (length^2) / (time^2)

    • setAntiRollTorque

      public void setAntiRollTorque(PxVec3 value)
      The accumulated torque to apply to the rigid body. Note: antiRollTorque is expressed in the world frame.

      Unit: mass * (length^2) / (time^2)

    • setToDefault

      public void setToDefault()