Class PxJointAngularLimitPair


public class PxJointAngularLimitPair extends PxJointLimitParameters
  • Field Details

    • SIZEOF

      public static final int SIZEOF
    • ALIGNOF

      public static final int ALIGNOF
      See Also:
  • Constructor Details

    • PxJointAngularLimitPair

      protected PxJointAngularLimitPair()
    • PxJointAngularLimitPair

      protected PxJointAngularLimitPair(long address)
    • PxJointAngularLimitPair

      public PxJointAngularLimitPair(float lowerLimit, float upperLimit, PxSpring spring)
      construct an angular soft limit pair.

      The lower value must be less than the upper value.

      Parameters:
      lowerLimit - The lower angle of the limit
      upperLimit - The upper angle of the limit
      spring - The stiffness and damping of the limit spring
      See Also:
  • Method Details

    • wrapPointer

      public static PxJointAngularLimitPair wrapPointer(long address)
    • arrayGet

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

      public void destroy()
    • getUpper

      public float getUpper()
      Returns:
      WebIDL type: float
    • setUpper

      public void setUpper(float value)
      Parameters:
      value - WebIDL type: float
    • getLower

      public float getLower()
      the range of the limit. The upper limit must be no lower than the lower limit.

      Unit: Angular: Radians Range: See the joint on which the limit is used for details
      Default: lower = -PI/2, upper = PI/2

    • setLower

      public void setLower(float value)
      the range of the limit. The upper limit must be no lower than the lower limit.

      Unit: Angular: Radians Range: See the joint on which the limit is used for details
      Default: lower = -PI/2, upper = PI/2