User Tools

Site Tools


rotate_camera_over_time

This is an old revision of the document!


Rotate Camera Over Time


Rotates the camera horizontally and/or vertically by the specified number of degrees over a period of time (in seconds). The angles are relative to the current view.

A positive horizontal angle will rotate the camera to the right and a negative horizontal angle will rotate the camera to the left. Likewise, a positive vertical angle will rotate the camera upwards and a negative vertical angle will rotate the camera downwards.

rotate_camera_over_time(horizontal_angle, vertical_angle, duration)
ArgumentDescriptionTypeRequired
horizonal_angleAngle by which to rotate the camera left or right (in degrees).DecimalYes
vertical_angleAngle by which to rotate the camera up or down (in degrees).DecimalYes
durationDuration of the camera rotation (in seconds).DecimalYes

Example:

rotate_camera_over_time(0, 0, 1)

Results:

Use the Rotate Camera Over Time function to …


Editor Node:

Visual Demo:

rotate_camera_over_time.1494025026.txt.gz · Last modified: 2017/05/05 15:57 by justin