# Control box

The control box allows you to inspect an object distally by combining the following interactions: move, rotate and resize. The box provides visual feedback to indicate an interaction with the object inside. A box is drawn around the target object and should fit the object's size.
# QCHT Control Box description
Thanks to this component, you can customize all aspects of the interactions. You can set a color and a sprite on the reticle for example, or change the laser color and the box lights. This component allows you to customize the move, rotate and resize interactions.

# How to interact with the control box ?
- Raycasting the box on it faces allows to move it around
- Aiming for the corners allows to resizing it
- Aiming for the middle of the edges allows to rotating it

# Visual cues
The control box reacts by providing visual feedback when the user interacts with.
At first, when the object is idle, the box is imperceptible. When the user starts raycasting it, the reticle will illuminate the box in order to show that an interaction is possible. In addition, its icon will indicate which interaction is (move, rotate, resize). When selected, the box's outlines light up to indicate the selection.

# Integration step by step
- Create an object (a 3D cube for example)
- Add
QCHT Control Box
script - The collider needs to be in trigger mode
- Customize the control box