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 revision
Previous revision
Next revisionBoth sides next revision
rotate_entity_towards [2017/05/08 15:48] justinrotate_entity_towards [2018/03/16 09:47] justin
Line 4: Line 4:
 Rotates an entity to face towards another entity over the specified duration (in seconds). The target entity can optionally be rotated to face towards the first entity simultaneously. Rotates an entity to face towards another entity over the specified duration (in seconds). The target entity can optionally be rotated to face towards the first entity simultaneously.
  
 +====Signature:====
 <code python> <code python>
 rotate_entity_towards(entity, target_entity, also_rotate_target, duration) rotate_entity_towards(entity, target_entity, also_rotate_target, duration)
Line 21: Line 22:
  
 <WRAP center round tip 100%> <WRAP center round tip 100%>
-Use the **Rotate Entity Towards** function to rotate characters towards each other as they speak during cutscenes or to have them look towards an object that is the focus of the conversation.+Use the **Rotate Entity Towards** function to have characters look at each other during a cutscene or to have them look towards an object that is the focus of conversation.
 </WRAP> </WRAP>
  
rotate_entity_towards.txt · Last modified: 2021/04/21 18:48 by justin