Interface BookInteractable


public interface BookInteractable
Something that can be interacted with in a book.
  • Method Details

    • getOBB

      OBB getOBB()
      Returns:
      The OBB for interaction.
    • hover

      void hover(ClientBookData data, PosRot bookPosRot, PosRot other)
      Called when this interactable is hovered.
      Parameters:
      data - Book data.
      bookPosRot - Position and rotation of the book.
      other - Position and rotation of the thing hovering the interactable.
    • interact

      void interact(ClientBookData data, PosRot bookPosRot, PosRot other)
      Called when this interactable is interacted with.
      Parameters:
      data - Book data.
      bookPosRot - Position and rotation of the book.
      other - Position and rotation of the thing interacting with the interactable.