User Tools

Site Tools


move_camera

This is an old revision of the document!


Move Camera


Instantly moves the camera to the specified (X,Y,Z) coordinate or pre-defined camera position by name.

move_camera(destination, look_at_target)
ArgumentDescriptionTypeRequired
destinationDescription.Coordinate or StringYes
look_at_targetDescription.Coordinate or EntityNo

Lock Camera must be called before using this function to prevent the player from manually controlling the camera.

Example:

move_camera("Inside House", entity["Cat"])

Results:

Use the Move Camera function to focus on certain characters/events during a cutscene or to indicate to the player that something in the scene has changed.


Editor Node:

Visual Demo:

move_camera.1492574917.txt.gz · Last modified: 2017/04/18 21:08 by justin