Class PxVehicleAckermannParams

java.lang.Object
physx.NativeObject
physx.vehicle2.PxVehicleAckermannParams

public class PxVehicleAckermannParams extends NativeObject
A description of a single axle that is to be affected by Ackermann steer correction.
  • Field Details

    • SIZEOF

      public static final int SIZEOF
    • ALIGNOF

      public static final int ALIGNOF
      See Also:
  • Constructor Details

    • PxVehicleAckermannParams

      protected PxVehicleAckermannParams(long address)
    • PxVehicleAckermannParams

      public PxVehicleAckermannParams()
  • Method Details

    • wrapPointer

      public static PxVehicleAckermannParams wrapPointer(long address)
    • arrayGet

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

      public void destroy()
    • getWheelIds

      public int getWheelIds(int index)
      Parameters:
      index - Array index
      Returns:
      WebIDL type: unsigned long
    • setWheelIds

      public void setWheelIds(int index, int value)
      Parameters:
      index - Array index
      value - WebIDL type: unsigned long
    • getWheelBase

      public float getWheelBase()
      wheelBase is the longitudinal distance between the axle that is affected by Ackermann correction and a reference axle.
    • setWheelBase

      public void setWheelBase(float value)
      wheelBase is the longitudinal distance between the axle that is affected by Ackermann correction and a reference axle.
    • getTrackWidth

      public float getTrackWidth()
      trackWidth is the width of the axle specified by #wheelIds
    • setTrackWidth

      public void setTrackWidth(float value)
      trackWidth is the width of the axle specified by #wheelIds
    • getStrength

      public float getStrength()
      is the strength of the correction with 0 denoting no correction and 1 denoting perfect correction.
    • setStrength

      public void setStrength(float value)
      is the strength of the correction with 0 denoting no correction and 1 denoting perfect correction.
    • isValid

      public boolean isValid(PxVehicleAxleDescription axleDesc)
      Parameters:
      axleDesc - WebIDL type: PxVehicleAxleDescription [Const, Ref]
      Returns:
      WebIDL type: boolean
    • transformAndScale

      public PxVehicleAckermannParams 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: PxVehicleAckermannParams [Value]