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 revision Previous revision
Next revision
Previous revision
rotate_camera [2017/05/07 16:27]
justin
rotate_camera [2018/03/16 09:47]
justin
Line 4: Line 4:
 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. 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.
  
 +====Signature:​====
 <code python> <code python>
 rotate_camera(horizontal_angle,​ vertical_angle) rotate_camera(horizontal_angle,​ vertical_angle)
Line 23: Line 24:
  
 <WRAP center round tip 100%> <WRAP center round tip 100%>
-Use the **Rotate Camera** function to ...+Use the **Rotate Camera** function to focus the camera towards an event taking place during a cutsceneThis is particularly useful in first-person mode since the camera rotations will be relative to the player'​s view.
 </​WRAP>​ </​WRAP>​
  
rotate_camera.txt ยท Last modified: 2018/03/16 09:47 by justin