Class SixDOFConstraint

All Implemented Interfaces:
Deletable, JoltNative

public final class SixDOFConstraint extends TwoBodyConstraint
SixDOFConstraint relies on preview features of the Java platform:
Programs can only use SixDOFConstraint 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 SixDOFConstraint at(MemoryAddressPREVIEW addr)
    • setTranslationLimits

      public void setTranslationLimits(FVec3 limitMin, FVec3 limitMax)
    • setRotationLimits

      public void setRotationLimits(FVec3 limitMin, FVec3 limitMax)
    • getLimitsMin

      public float getLimitsMin(Axis axis)
    • getLimitsMax

      public float getLimitsMax(Axis axis)
    • isFixedAxis

      public boolean isFixedAxis(Axis axis)
    • isFreeAxis

      public boolean isFreeAxis(Axis axis)
    • setMaxFriction

      public void setMaxFriction(Axis axis, float friction)
    • getMaxFriction

      public float getMaxFriction(Axis axis)
    • getMotorSettings

      public MotorSettings getMotorSettings(MemorySessionPREVIEW alloc, Axis axis)
    • setMotorState

      public void setMotorState(Axis axis, MotorState state)
    • getMotorState

      public MotorState getMotorState(Axis axis)
    • getTargetVelocityCS

      public void getTargetVelocityCS(FVec3 out)
    • setTargetVelocityCS

      public void setTargetVelocityCS(FVec3 velocity)
    • setTargetAngularVelocityCS

      public void setTargetAngularVelocityCS(FVec3 angularVelocity)
    • getTargetAngularVelocityCS

      public void getTargetAngularVelocityCS(FVec3 out)
    • getTargetPositionCS

      public void getTargetPositionCS(FVec3 out)
    • setTargetPositionCS

      public void setTargetPositionCS(FVec3 position)
    • setTargetOrientationBS

      public void setTargetOrientationBS(Quat orientation)
    • getTotalLambdaPosition

      public void getTotalLambdaPosition(FVec3 out)
    • getTotalLambdaRotation

      public void getTotalLambdaRotation(FVec3 out)
    • getTotalLambdaMotorTranslation

      public void getTotalLambdaMotorTranslation(FVec3 out)
    • getTotalLambdaMotorRotation

      public void getTotalLambdaMotorRotation(FVec3 out)