User Tools

Site Tools


rotate_entity_towards

This is an old revision of the document!


Rotate Entity Towards


Rotates an entity to face towards another over the specified duration (in seconds). The target entity can optionally be rotated simultaneously to face towards the first entity.

rotate_entity_towards(player, entity["character_id"], false, 1)
ArgumentDescriptionTypeRequired
playerDescription.StringYes
entity[“character_id”]Description.StringYes
falseDescription.StringYes
1Description.StringYes

Example:

rotate_entity_towards(player, entity["character_id"], false, 1)

Results:

Use the Rotate Entity Towards function to …


Editor Node:

Visual Demo:

rotate_entity_towards.1494277821.txt.gz · Last modified: 2017/05/08 14:10 by 127.0.0.1