Class PxJointLinearLimit


public class PxJointLinearLimit extends PxJointLimitParameters
Describes a one-sided linear limit.
  • Field Details

    • SIZEOF

      public static final int SIZEOF
    • ALIGNOF

      public static final int ALIGNOF
      See Also:
  • Constructor Details

    • PxJointLinearLimit

      protected PxJointLinearLimit()
    • PxJointLinearLimit

      protected PxJointLinearLimit(long address)
    • PxJointLinearLimit

      public PxJointLinearLimit(float extent, PxSpring spring)
      construct a linear soft limit
      Parameters:
      extent - the extent of the limit
      spring - the stiffness and damping parameters for the limit spring
      See Also:
  • Method Details

    • wrapPointer

      public static PxJointLinearLimit wrapPointer(long address)
    • arrayGet

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

      public void destroy()
    • getValue

      public float getValue()
      the extent of the limit.

      Range: (0, PX_MAX_F32)
      Default: PX_MAX_F32

    • setValue

      public void setValue(float value)
      the extent of the limit.

      Range: (0, PX_MAX_F32)
      Default: PX_MAX_F32