Interface ConstConnectedConstraint

All Superinterfaces:
AutoCloseable, Comparable<JoltPhysicsObject>, ConstJoltPhysicsObject
All Known Implementing Classes:
ConnectedConstraint

public interface ConstConnectedConstraint extends ConstJoltPhysicsObject
Read-only access to a ConnectedConstraint. (native type: const PhysicsScene::ConnectedConstraint)
  • 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

      Access the constraint settings.
      Returns:
      a new JVM object with the pre-existing native object assigned