User Tools

Site Tools


4rpl:commands:setrplcam

Index

SetRPLCam

SetRPLCam(<-rplCam)

Description

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

SetRPLCam(true)
GetCameraPosition ->cameraPos
GetCameraRotation ->cameraRot
 
SetRPLCam(true)
SetRPLCamPosition(<-cameraPos) #So the camera isn't sitting at 0,0,0.
SetRPLCamRotation(<-cameraRot) #So the camera isn't oriented as 0,0,0.

Index

4rpl/commands/setrplcam.txt · Last modified: 2023/08/23 15:46 by Vertu