Package jolt.physics.constraint
Class SwingTwistConstraint
java.lang.Object
jolt.BaseJoltNative
jolt.AddressedJoltNative
jolt.DeletableJoltNative
jolt.physics.constraint.Constraint
jolt.physics.constraint.TwoBodyConstraint
jolt.physics.constraint.SwingTwistConstraint
- All Implemented Interfaces:
Deletable,JoltNative
SwingTwistConstraint relies on preview features of the Java platform:
SwingTwistConstraintrefers to one or more preview APIs:MemoryAddress,MemorySession.
Preview features may be removed in a future release, or upgraded to permanent features of the Java platform.
-
Field Summary
Fields inherited from class jolt.DeletableJoltNative
deletedFields inherited from class jolt.AddressedJoltNative
handle -
Method Summary
Modifier and TypeMethodDescriptionstatic SwingTwistConstraintat(MemoryAddressPREVIEW addr) voidgetConstraintToBody1(Quat out) voidgetConstraintToBody2(Quat out) voidvoidfloatfloatvoidvoidvoidgetTotalLambdaMotor(FVec3 out) voidfloatfloatfloatfloatfloatvoidsetNormalHalfConeAngle(float angle) voidsetPlaneHalfConeAngle(float angle) voidsetSwingMotorState(MotorState state) voidsetTargetAngularVelocityCS(FVec3 angularVelocity) voidsetTargetOrientationBS(Quat orientation) voidsetTargetOrientationCS(Quat orientation) voidsetTwistMaxAngle(float twistMaxAngle) voidsetTwistMinAngle(float twistMinAngle) voidsetTwistMotorState(MotorState state) Methods inherited from class jolt.physics.constraint.TwoBodyConstraint
getBody1, getBody2, getConstraintToBody1Matrix, getConstraintToBody2MatrixMethods inherited from class jolt.physics.constraint.Constraint
deleteInternal, getEnabled, getNumPositionStepsOverride, getNumVelocityStepsOverride, getSubType, getType, setEnabled, setNumPositionStepsOverride, setNumVelocityStepsOverrideMethods inherited from class jolt.DeletableJoltNative
delete, isDeletedMethods inherited from class jolt.AddressedJoltNative
addressMethods inherited from class jolt.BaseJoltNative
equals, hashCode
-
Method Details
-
at
-
getLocalSpacePosition1
-
getLocalSpacePosition2
-
getConstraintToBody1
-
getConstraintToBody2
-
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
-
getTwistMotorSettings
-
setSwingMotorState
-
getSwingMotorState
-
setTwistMotorState
-
getTwistMotorState
-
setTargetAngularVelocityCS
-
getTargetAngularVelocityCS
-
setTargetOrientationCS
-
getTargetOrientationCS
-
setTargetOrientationBS
-
getTotalLambdaPosition
-
getTotalLambdaTwist
public float getTotalLambdaTwist() -
getTotalLambdaSwingY
public float getTotalLambdaSwingY() -
getTotalLambdaSwingZ
public float getTotalLambdaSwingZ() -
getTotalLambdaMotor
-
SwingTwistConstraintwhen preview features are enabled.