Package jolt.physics.constraint
Class ConeConstraint
java.lang.Object
jolt.BaseJoltNative
jolt.AddressedJoltNative
jolt.DeletableJoltNative
jolt.physics.constraint.Constraint
jolt.physics.constraint.TwoBodyConstraint
jolt.physics.constraint.ConeConstraint
- All Implemented Interfaces:
Deletable,JoltNative
ConeConstraint relies on preview features of the Java platform:
ConeConstraintrefers to one or more preview APIs:MemoryAddress.
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 ConeConstraintat(MemoryAddressPREVIEW addr) floatvoidfloatvoidsetHalfConeAngle(float halfConeAngle) 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
-
setHalfConeAngle
public void setHalfConeAngle(float halfConeAngle) -
getCosHalfConeAngle
public float getCosHalfConeAngle() -
getTotalLambdaPosition
-
getTotalLambdaRotation
public float getTotalLambdaRotation()
-
ConeConstraintwhen preview features are enabled.