User Tools

Site Tools


rotate_player_to_direction

Differences

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

Link to this comparison view

Both sides previous revisionPrevious revision
Next revision
Previous revision
Next revisionBoth sides next revision
rotate_player_to_direction [2017/05/08 16:35] justinrotate_player_to_direction [2017/05/08 17:09] justin
Line 17: Line 17:
 ====Example:==== ====Example:====
 <code python> <code python>
-rotate_player_to_direction(NORTH)+rotate_player_to_direction(SOUTH)
 </code> </code>
-//Results://+//Results:// Rotates the player until their viewpoint is facing towards the south.
  
 <WRAP center round tip 100%> <WRAP center round tip 100%>
-Use the **Rotate Player To Direction** function to force the player'view towards particular area of the map during a cutscene.+Use the **Rotate Player To Direction** function to force the player'viewpoint before an event occurs or to have them facing specific direction at the end of a cutscene.
 </WRAP> </WRAP>
  
rotate_player_to_direction.txt · Last modified: 2021/04/21 18:48 by justin