Package jolt.physics.constraint
Class SixDOFConstraint
java.lang.Object
jolt.BaseJoltNative
jolt.AddressedJoltNative
jolt.DeletableJoltNative
jolt.physics.constraint.Constraint
jolt.physics.constraint.TwoBodyConstraint
jolt.physics.constraint.SixDOFConstraint
- All Implemented Interfaces:
Deletable,JoltNative
SixDOFConstraint relies on preview features of the Java platform:
SixDOFConstraintrefers 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 SixDOFConstraintat(MemoryAddressPREVIEW addr) floatgetLimitsMax(Axis axis) floatgetLimitsMin(Axis axis) floatgetMaxFriction(Axis axis) getMotorSettings(MemorySessionPREVIEW alloc, Axis axis) getMotorState(Axis axis) voidvoidgetTargetPositionCS(FVec3 out) voidgetTargetVelocityCS(FVec3 out) voidvoidvoidvoidbooleanisFixedAxis(Axis axis) booleanisFreeAxis(Axis axis) voidsetMaxFriction(Axis axis, float friction) voidsetMotorState(Axis axis, MotorState state) voidsetRotationLimits(FVec3 limitMin, FVec3 limitMax) voidsetTargetAngularVelocityCS(FVec3 angularVelocity) voidsetTargetOrientationBS(Quat orientation) voidsetTargetPositionCS(FVec3 position) voidsetTargetVelocityCS(FVec3 velocity) voidsetTranslationLimits(FVec3 limitMin, FVec3 limitMax) 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
-
setTranslationLimits
-
setRotationLimits
-
getLimitsMin
-
getLimitsMax
-
isFixedAxis
-
isFreeAxis
-
setMaxFriction
-
getMaxFriction
-
getMotorSettings
-
setMotorState
-
getMotorState
-
getTargetVelocityCS
-
setTargetVelocityCS
-
setTargetAngularVelocityCS
-
getTargetAngularVelocityCS
-
getTargetPositionCS
-
setTargetPositionCS
-
setTargetOrientationBS
-
getTotalLambdaPosition
-
getTotalLambdaRotation
-
getTotalLambdaMotorTranslation
-
getTotalLambdaMotorRotation
-
SixDOFConstraintwhen preview features are enabled.