User Tools

Site Tools


rotate_entity_towards

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_entity_towards [2017/05/08 15:43] justinrotate_entity_towards [2017/05/08 15:48] justin
Line 16: Line 16:
 ====Example:==== ====Example:====
 <code python> <code python>
-rotate_entity_towards(player, entity["character_id"], true, 1)+rotate_entity_towards(player, entity["purple_slime"], true, 1)
 </code> </code>
-//Results:// The player character is rotated to face towards the entity with an ID of "character_id" over a duration of one second. The second entity is also simultaneously rotated to face towards the player character.+//Results:// The player character is rotated to face towards the entity with an ID of "purple_slime" over a duration of one second. The second entity is also simultaneously rotated to face towards the player character.
  
 <WRAP center round tip 100%> <WRAP center round tip 100%>
rotate_entity_towards.txt · Last modified: 2021/04/21 18:48 by justin