Class SwingTwistConstraint

All Implemented Interfaces:
Deletable, JoltNative

public final class SwingTwistConstraint extends TwoBodyConstraint
SwingTwistConstraint relies on preview features of the Java platform:
Programs can only use SwingTwistConstraint when preview features are enabled.
Preview features may be removed in a future release, or upgraded to permanent features of the Java platform.
  • Method Details

    • at

      public static SwingTwistConstraint at(MemoryAddressPREVIEW addr)
    • getLocalSpacePosition1

      public void getLocalSpacePosition1(FVec3 out)
    • getLocalSpacePosition2

      public void getLocalSpacePosition2(FVec3 out)
    • getConstraintToBody1

      public void getConstraintToBody1(Quat out)
    • getConstraintToBody2

      public void getConstraintToBody2(Quat out)
    • getNormalHalfConeAngle

      public float getNormalHalfConeAngle()
    • setNormalHalfConeAngle

      public void setNormalHalfConeAngle(float angle)
    • getPlaneHalfConeAngle

      public float getPlaneHalfConeAngle()
    • setPlaneHalfConeAngle

      public void setPlaneHalfConeAngle(float angle)
    • getTwistMinAngle

      public float getTwistMinAngle()
    • setTwistMinAngle

      public void setTwistMinAngle(float twistMinAngle)
    • getTwistMaxAngle

      public float getTwistMaxAngle()
    • setTwistMaxAngle

      public void setTwistMaxAngle(float twistMaxAngle)
    • getSwingMotorSettings

      public MotorSettings getSwingMotorSettings(MemorySessionPREVIEW alloc)
    • getTwistMotorSettings

      public MotorSettings getTwistMotorSettings(MemorySessionPREVIEW alloc)
    • setSwingMotorState

      public void setSwingMotorState(MotorState state)
    • getSwingMotorState

      public MotorState getSwingMotorState()
    • setTwistMotorState

      public void setTwistMotorState(MotorState state)
    • getTwistMotorState

      public MotorState getTwistMotorState()
    • setTargetAngularVelocityCS

      public void setTargetAngularVelocityCS(FVec3 angularVelocity)
    • getTargetAngularVelocityCS

      public void getTargetAngularVelocityCS(FVec3 out)
    • setTargetOrientationCS

      public void setTargetOrientationCS(Quat orientation)
    • getTargetOrientationCS

      public void getTargetOrientationCS(Quat out)
    • setTargetOrientationBS

      public void setTargetOrientationBS(Quat orientation)
    • getTotalLambdaPosition

      public void getTotalLambdaPosition(FVec3 out)
    • getTotalLambdaTwist

      public float getTotalLambdaTwist()
    • getTotalLambdaSwingY

      public float getTotalLambdaSwingY()
    • getTotalLambdaSwingZ

      public float getTotalLambdaSwingZ()
    • getTotalLambdaMotor

      public void getTotalLambdaMotor(FVec3 out)