Interface ConstOrientedBox

All Superinterfaces:
Comparable<ConstJoltPhysicsObject>, ConstJoltPhysicsObject

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 positions and rotates the local space axes to world space. The box is unaffected.
      Returns:
      a new matrix