User Tools

Site Tools


rotate_camera

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revisionPrevious revision
Next revisionBoth sides next revision
rotate_camera [2017/05/05 15:56] justinrotate_camera [2017/05/05 16:03] justin
Line 2: Line 2:
 ---- ----
  
-Rotates the camera horizontally and/or vertically by the specified number of degrees. The angles are relative to the current view.+Rotates the camera horizontally and/or vertically by the specified number of degrees. 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.
  
 <WRAP center round info 100%> <WRAP center round info 100%>
-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.+[[Lock Camera]] must be called before using this function to prevent the player from manually controlling the camera.
 </WRAP> </WRAP>
  
rotate_camera.txt · Last modified: 2021/04/21 18:48 by justin