Fix PositionAndLookAt CameraSetting¶
With this Fix PositionAndLookAt CameraSetting community component, you can set the initial position of the camera and keep a specified target in the camera view like a security camera. This component includes:
Property | Description |
---|---|
At position | The initial position of the camera |
FOV | The field of view of the camera in degrees |
Target | An object to look at in the scene. By default, the the local player is set as the target. |
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.