FANDOM



This command will turn the camera left.

Syntax
TURN CAMERA LEFT Angle Value
TURN CAMERA LEFT Camera Number, Angle Value
Parameters
Camera Number

Integer
The camera number Angle Value Float
The amount of the angle to turn,can be positive or negative

Returns

This command does not return a value.

Description

The rotation is independent of any axis orientation and allows free motion. The value of the angle can be positive or negative. The angle must be specified using a real value.

Example Code
autocam on

make matrix 1,4000,4000,100,100

set matrix height 1,50,50,500

update matrix 1

while mouseclick()<>1

set cursor 0,0 :print "USE ARROW KEYS TO ROTATE / A+Z Roll Camera"

if upkey()=1 then pitch camera up 0,1

if downkey()=1 then pitch camera down 0,1

if leftkey()=1 then turn camera left 0,1

if rightkey()=1 then turn camera right 0,1

if inkey$()="a" then roll camera left 0,1

if inkey$()="z" then roll camera right 0,1

endwhile

while mouseclick()=1 : endwhile

delete matrix 1:autocam off

end