Page 1 of 1

[Command] cameraMove

Posted: Thu Oct 28, 2021 6:13 pm
by Raddeck
cameraMove(LocX,LocY,LocZ,RotX,RotY,RotZ)


USE:
Moves and rotates the camera.

First three parameters are the position of the camera.
Following three parameters are the rotation.


TYPE: Command, Non-Ref
RETURNS: /
THEME: Camera
COMPARE: cameraFocus


EXAMPLE:

Code: Select all

    cameraMove( 0, 0, 800 ) // Move camera to the middle of the room
    cameraFocus(MainActor)  // Make cam point to the main actor