velocity_to_direction
Sets the velocity to point in the direction that the location is facing.
Categories: location, movement
Required arguments
| Key(s) | Description | Type |
|---|---|---|
strength | The length of the resulting velocity vector. | EXPRESSION |
Parameter transformers
LOCATIONbecomesVELOCITY
Example
mutators:
- id: velocity_to_direction
args:
strength: 1.5