Skip to content

Commit 6d5c411

Browse files
authored
Updated README (#107)
* Updated README Signed-off-by: Patryk Antosz <[email protected]> * Added info about default value Signed-off-by: Patryk Antosz <[email protected]> --------- Signed-off-by: Patryk Antosz <[email protected]>
1 parent 74303eb commit 6d5c411

File tree

1 file changed

+17
-0
lines changed

1 file changed

+17
-0
lines changed

readme.md

Lines changed: 17 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -47,6 +47,23 @@ Refer to [readme](https://github.com/RobotecAI/robotec-o3de-tools/tree/main/Gems
4747
# RobotecSpectatorCamera
4848

4949
A component that allows to look at an entity from 3rd person perspective and to switch camera mode to the free flying mode (to switch mode press the `C` key). It also allows to enable/disable following the target's rotation and to add a vertical offset to change the `look at` point of the target entity.
50+
The Spectator camera component can be configured to centre the cursor when moving the camera (this gives the full range of rotation regardless of the available screen space) or to let the cursor move freely on the screen when moving the camera (this reduces the range of rotation, e.g. in third person mode a full rotation may require a few repeats of the (RMB press ->Rotate camera ->RMB release ->Move cursor to previous start position ->Repeat) cycle). By default this option is set to false (cursor is not centered). This option can be configured via the `setreg` file or by passing `--regset` flag in the command line. Example:
51+
- `.setreg`:
52+
```json
53+
{
54+
"O3DE":
55+
{
56+
"SpectatorCamera":
57+
{
58+
"MoveCursorToTheCenter": false
59+
}
60+
}
61+
}
62+
```
63+
- `--regset flag`:
64+
```
65+
./Editor --regset="/O3DE/SpectatorCamera/MoveCursorToTheCenter=true"
66+
```
5067
![](doc/RobotecSpectatorCamera.png)
5168

5269

0 commit comments

Comments
 (0)