Camera Mode Component {{ currentPage ? currentPage.title : "" }}

The component is mostly responsible for handling cinematic and gameplay camera changes. its mostly noticeable in the case of targeting an enemy in the sample project. a camera mode gets called when targeting starts.

its worthy to note that only ONE active mode can be active at any given time, meaning that if you change the mode, all the camera related changes will also change with every mode you activate.

The camera mode Object has 2 main functions to it.

Start Camera Mode: the one gets called when the camera mode gets set.

Tick Camera Mode: this function is called every frame, so you can do the mathematical changes here.

{{{ content }}}