velocity_to_direction

Sets the velocity to point in the direction that the location is facing.

Categories: location, movement

Required arguments

Key(s)DescriptionType
strengthThe length of the resulting velocity vector.EXPRESSION

Parameter transformers

  • LOCATION becomes VELOCITY

Example

mutators:
  - id: velocity_to_direction
    args:
      strength: 1.5