API REFERENCE
SetCameraPos
Changes the gameplay camera position while the camera is locked.
Syntax
ONYX.SetCameraPos(x, y, z)Parameters
x, y, z(number) — World position for the camera.
Return(s)
None
Behavior
- Only takes effect while the camera is locked with LockCameraPos(true).
Example(s)
ONYX.LockCameraPos(true)
ONYX.SetCameraPos(15.0, 20.0, 30.0)