velocity_towards_location
Sets the velocity to point from an entity towards the location.
Categories: location, movement
Required arguments
| Key(s) | Description | Type |
|---|---|---|
from | The entity that the velocity points away from. Choices: player, victim | STRING |
strength | The length of the resulting velocity vector. | EXPRESSION |
Parameter transformers
LOCATIONbecomesVELOCITY
Example
mutators:
- id: velocity_towards_location
args:
from: player|victim
strength: 1.5