Class PxFixedJoint


public class PxFixedJoint extends PxJoint
A fixed joint permits no relative movement between two bodies. ie the bodies are glued together.

\image html fixedJoint.png

See Also:
  • Field Details

    • SIZEOF

      public static final int SIZEOF
    • ALIGNOF

      public static final int ALIGNOF
      See Also:
  • Constructor Details

    • PxFixedJoint

      protected PxFixedJoint()
    • PxFixedJoint

      protected PxFixedJoint(long address)
  • Method Details

    • wrapPointer

      public static PxFixedJoint wrapPointer(long address)
    • arrayGet

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

      public void destroy()
    • setProjectionLinearTolerance

      @Deprecated public void setProjectionLinearTolerance(float tolerance)
      Deprecated.
      Set the linear tolerance threshold for projection. Projection is enabled if PxConstraintFlag::ePROJECTION is set for the joint.

      If the joint separates by more than this distance along its locked degrees of freedom, the solver will move the bodies to close the distance.

      Setting a very small tolerance may result in simulation jitter or other artifacts.

      Sometimes it is not possible to project (for example when the joints form a cycle).

      Range: [0, PX_MAX_F32)
      Default: 1e10f

      Parameters:
      tolerance - the linear tolerance threshold
      See Also:
    • getProjectionLinearTolerance

      @Deprecated public float getProjectionLinearTolerance()
      Deprecated.
      Get the linear tolerance threshold for projection.
      Returns:
      the linear tolerance threshold
      See Also:
    • setProjectionAngularTolerance

      @Deprecated public void setProjectionAngularTolerance(float tolerance)
      Deprecated.
      Set the angular tolerance threshold for projection. Projection is enabled if PxConstraintFlag::ePROJECTION is set for the joint.

      If the joint deviates by more than this angle around its locked angular degrees of freedom, the solver will move the bodies to close the angle.

      Setting a very small tolerance may result in simulation jitter or other artifacts.

      Sometimes it is not possible to project (for example when the joints form a cycle).

      Range: [0,Pi]
      Default: Pi

      Parameters:
      tolerance - the angular tolerance threshold in radians
      See Also:
    • getProjectionAngularTolerance

      @Deprecated public float getProjectionAngularTolerance()
      Deprecated.
      Get the angular tolerance threshold for projection.
      Returns:
      the angular tolerance threshold in radians
      See Also: