Class PxJointLimitPyramid


public class PxJointLimitPyramid extends PxJointLimitParameters
Describes a pyramidal joint limit.
See Also:
  • Field Details

    • SIZEOF

      public static final int SIZEOF
    • ALIGNOF

      public static final int ALIGNOF
      See Also:
  • Constructor Details

    • PxJointLimitPyramid

      protected PxJointLimitPyramid()
    • PxJointLimitPyramid

      protected PxJointLimitPyramid(long address)
    • PxJointLimitPyramid

      public PxJointLimitPyramid(float yLimitAngleMin, float yLimitAngleMax, float zLimitAngleMin, float zLimitAngleMax, PxSpring spring)
      Construct a pyramid soft limit.
      Parameters:
      yLimitAngleMin - The minimum limit angle from the Y-axis of the constraint frame
      yLimitAngleMax - The maximum limit angle from the Y-axis of the constraint frame
      zLimitAngleMin - The minimum limit angle from the Z-axis of the constraint frame
      zLimitAngleMax - The maximum limit angle from the Z-axis of the constraint frame
      spring - The stiffness and damping of the limit spring
      See Also:
  • Method Details

    • wrapPointer

      public static PxJointLimitPyramid wrapPointer(long address)
    • arrayGet

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

      public void destroy()
    • getYAngleMin

      public float getYAngleMin()
      the minimum angle from the Y axis of the constraint frame.

      Unit: Angular: Radians Range: Angular: (-PI,PI)
      Default: -PI/2

    • setYAngleMin

      public void setYAngleMin(float value)
      the minimum angle from the Y axis of the constraint frame.

      Unit: Angular: Radians Range: Angular: (-PI,PI)
      Default: -PI/2

    • getYAngleMax

      public float getYAngleMax()
      the maximum angle from the Y axis of the constraint frame.

      Unit: Angular: Radians Range: Angular: (-PI,PI)
      Default: PI/2

    • setYAngleMax

      public void setYAngleMax(float value)
      the maximum angle from the Y axis of the constraint frame.

      Unit: Angular: Radians Range: Angular: (-PI,PI)
      Default: PI/2

    • getZAngleMin

      public float getZAngleMin()
      the minimum angle from the Z-axis of the constraint frame.

      Unit: Angular: Radians Range: Angular: (-PI,PI)
      Default: -PI/2

    • setZAngleMin

      public void setZAngleMin(float value)
      the minimum angle from the Z-axis of the constraint frame.

      Unit: Angular: Radians Range: Angular: (-PI,PI)
      Default: -PI/2

    • getZAngleMax

      public float getZAngleMax()
      the maximum angle from the Z-axis of the constraint frame.

      Unit: Angular: Radians Range: Angular: (-PI,PI)
      Default: PI/2

    • setZAngleMax

      public void setZAngleMax(float value)
      the maximum angle from the Z-axis of the constraint frame.

      Unit: Angular: Radians Range: Angular: (-PI,PI)
      Default: PI/2