Interface ConstConnectedConstraint
- All Superinterfaces:
AutoCloseable,Comparable<JoltPhysicsObject>,ConstJoltPhysicsObject
- All Known Implementing Classes:
ConnectedConstraint
Read-only access to a
ConnectedConstraint. (native type:
const PhysicsScene::ConnectedConstraint)-
Method Summary
Methods inherited from interface java.lang.Comparable
compareToMethods inherited from interface com.github.stephengold.joltjni.readonly.ConstJoltPhysicsObject
close, hasAssignedNativeObject, ownsNativeObject, targetVa, targetVaOrZero
-
Method Details
-
getBody1
int getBody1()Return the index of the first body.- Returns:
- the index of the first body
-
getBody2
int getBody2()Return the index of the 2nd body.- Returns:
- the index of the 2nd body
-
getSettings
TwoBodyConstraintSettings getSettings()Access the constraint settings.- Returns:
- a new JVM object with the pre-existing native object assigned
-