Interface ConstOrientedBox

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

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

    • getHalfExtents

      Vec3 getHalfExtents()
      Copy the (half) extent of the box on each local axis. The box is unaffected.
      Returns:
      a new vector
    • getOrientation

      Mat44 getOrientation()
      Copy the transform that translates and rotates the local-space axes to world space. The box is unaffected.
      Returns:
      a new matrix