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:48] justinrotate_entity_towards [2017/05/08 15:48] justin
Line 18: Line 18:
 rotate_entity_towards(player, entity["purple_slime"], 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 "purple_slime" 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 purple slime 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