Third Person Mode CameraSetting¶
With this Third Person Mode CameraSetting community component, you can create a third-person player view.
This component includes:
Property | Description |
---|---|
Distance interval | The offset distance between the camera and the target. X: minimum distance; Y: maximum distance; Z: default distance. |
Top and bottom clamp | The angle interval from the top to the bottom of the camera |
Relative rotation speed | The speed of target rotation in the X-Z plane relative to the camera's yaw axis. A value between 0 and 30. The higher the value is, the slower the target moves along the Z axis and the higher target angular velocity is around the Y axis. |
Screen bias | Towards which side of the screen is biased. A value between 0.3 (leftward bias) and 0.7 (rightward bias). By default, this value is 0.5, meaning an unbiased screen. |
Height offset | Height offset. It's recommended keeping the default value -0.1. |
FOV | The field of view of the camera in degrees |
EnabledPhysics | Is Physics enabled? If it's enabled, this camera will collide with objects that have collision enabled. |
Sensitivity | The speed of camera rotation. A value between 1 and 10. The higher the value is, the faster the camera rotates. |
Note
-
As this is a global component, you can attach this component to any object in the scene. However, it's a best practice to create an empty object named GameManager and attach this component to it.
-
It's recommended using only one camera component in a scene to ensure smooth gaming. To replace an existing camera component, remove the current one and add a new one.