Interface ConstRodBendTwist

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

public interface ConstRodBendTwist extends ConstJoltPhysicsObject
Read-only access to an RodBendTwist. (native type: const SoftBodySharedSettings::RodBendTwist)
  • Method Details

    • getCompliance

      float getCompliance()
      Return the inverse of the spring's stiffness. The constraint is unaffected.
      Returns:
      the compliance value
    • getOmega0

      Quat getOmega0()
      Return the Omega0 rotation of the constraint. The constraint is unaffected.
      Returns:
      a new quaternion
    • getRod

      int getRod(int indexInConstraint)
      Return the rod at the specified end. The constraint is unaffected.
      Parameters:
      indexInConstraint - which end of the constraint (0 or 1)
      Returns:
      the index of the rod (≥0)