Class PxVehicleSuspensionComplianceParams

java.lang.Object
physx.NativeObject
physx.vehicle2.PxVehicleSuspensionComplianceParams

public class PxVehicleSuspensionComplianceParams extends NativeObject
Compliance describes how toe and camber angle and force application points are affected by suspension compression. Note: Each compliance term is in the form of a graph with up to 3 points. Note: Each point in the graph has form (jounce/suspensionTravelDist, complianceValue). Note: The sequence of points must respresent monotonically increasing values of jounce. Note: The compliance value can be computed by linear interpolation. Note: If any graph has zero points in it, a value of 0.0 is used for the compliance value. Note: If any graph has 1 point in it, the compliance value of that point is used directly.
  • Field Details

    • SIZEOF

      public static final int SIZEOF
    • ALIGNOF

      public static final int ALIGNOF
      See Also:
  • Constructor Details

    • PxVehicleSuspensionComplianceParams

      protected PxVehicleSuspensionComplianceParams(long address)
    • PxVehicleSuspensionComplianceParams

      public PxVehicleSuspensionComplianceParams()
  • Method Details

    • wrapPointer

      public static PxVehicleSuspensionComplianceParams wrapPointer(long address)
    • arrayGet

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

      public void destroy()
    • getWheelToeAngle

      public PxVehicleFixedSizeLookupTableFloat_3 getWheelToeAngle()
      A graph of toe angle against jounce/suspensionTravelDist with the toe angle expressed in radians. Note: The toe angle is applied in the suspension frame.
    • setWheelToeAngle

      public void setWheelToeAngle(PxVehicleFixedSizeLookupTableFloat_3 value)
      A graph of toe angle against jounce/suspensionTravelDist with the toe angle expressed in radians. Note: The toe angle is applied in the suspension frame.
    • getWheelCamberAngle

      public PxVehicleFixedSizeLookupTableFloat_3 getWheelCamberAngle()
      A graph of camber angle against jounce/suspensionTravelDist with the camber angle expressed in radians. Note: The camber angle is applied in the suspension frame.
    • setWheelCamberAngle

      public void setWheelCamberAngle(PxVehicleFixedSizeLookupTableFloat_3 value)
      A graph of camber angle against jounce/suspensionTravelDist with the camber angle expressed in radians. Note: The camber angle is applied in the suspension frame.
    • getSuspForceAppPoint

      public PxVehicleFixedSizeLookupTableVec3_3 getSuspForceAppPoint()
      Suspension forces are applied at an offset from the suspension frame. suspForceAppPoint specifies the (X, Y, Z) components of that offset as a function of jounce/suspensionTravelDist.
    • setSuspForceAppPoint

      public void setSuspForceAppPoint(PxVehicleFixedSizeLookupTableVec3_3 value)
      Suspension forces are applied at an offset from the suspension frame. suspForceAppPoint specifies the (X, Y, Z) components of that offset as a function of jounce/suspensionTravelDist.
    • getTireForceAppPoint

      public PxVehicleFixedSizeLookupTableVec3_3 getTireForceAppPoint()
      Tire forces are applied at an offset from the suspension frame. tireForceAppPoint specifies the (X, Y, Z) components of that offset as a function of jounce/suspensionTravelDist.
    • setTireForceAppPoint

      public void setTireForceAppPoint(PxVehicleFixedSizeLookupTableVec3_3 value)
      Tire forces are applied at an offset from the suspension frame. tireForceAppPoint specifies the (X, Y, Z) components of that offset as a function of jounce/suspensionTravelDist.
    • transformAndScale

      public PxVehicleSuspensionComplianceParams 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: PxVehicleSuspensionComplianceParams [Value]
    • isValid

      public boolean isValid()
      Returns:
      WebIDL type: boolean