This component allows for a dynamic tracking camera in a 2D game.
Suggested use:
Add to any perspective or orthogonal camera to make that camera follow the specified objects. It will only follow an object with Tracking Camera Object on it.
Examples found in: Project 2
| Components | |||
|---|---|---|---|
| Property | Type | Description | Default Value | Component Properties |
| Position Offset | Vector3 | Offset of where the camera should look. | 0,0,0 |
| Max Track Distance | Float | Distance at which tracked game objects will not be factored into determining the camera's position. | Infinity |
| Lock X Translation | Boolean | Lock X translation to disable movement of the camera in this axis. | False |
| Lock Y Translation | Boolean | Lock Y translation to disable movement of the camera in this axis. | False |
| Translation Movement | Float | Maximum allowed movement in translation per frame. | 0.2 |
| Camera Size Scalar | Float | Max change in camera size per frame. | 0.2 |
| Min Camera Size | Float | Minimum allowed size of the camera. | 6.5 |
| Max Camera Size | Float | Maximum allowed size of the camera. | 10 |
| Size Scalar Point | Float | Scalar for the alternation of camera size. | 10 | Debug Properties |
| Print Debug Info | Boolean | Toggle console debug messages. | False |
| Label | String | Notes for the user about this component. This does nothing to the game or build. | None |