This shows you the differences between two versions of the page.
Next revision | Previous revision | ||
4rpl:commands:setrplcam [2021/01/08 16:01] – created - external edit 127.0.0.1 | 4rpl:commands:setrplcam [2025/02/14 14:57] (current) – external edit 127.0.0.1 | ||
---|---|---|---|
Line 6: | Line 6: | ||
===== Description ===== | ===== Description ===== | ||
- | Sets if the camera is controlled by rpl. When in this mode, the camera position and rotation must be set by rpl. | + | Sets if the camera is controlled by RPL. When in this mode, the camera position and rotation must be set by rpl immediately after this call, otherwise the Camera will be placed at 0,0,0 looking straight north (orientation of 0,0,0). |
+ | |||
+ | This API disables all camera control when set to true. Camera control must be substituted by RPL. | ||
===== Examples ===== | ===== Examples ===== | ||
<code 4rpl> | <code 4rpl> | ||
+ | SetRPLCam(true) | ||
+ | </ | ||
+ | <code 4rpl> | ||
+ | RPLCamCopyPosAndRot #So when RPLCam is activated, we say the current camera is how the RPL cam should be setup. | ||
SetRPLCam(true) | SetRPLCam(true) | ||
</ | </ | ||
< | < | ||