Description
Starts accelerating one or more players in a specified direction.
Snippet
Start Accelerating(Event Player, Vector(0, 0, 0), 0, 0, To World, Direction, Rate, And Max Speed);
Properties
Returns: Void
Parameters: Player, Direction, Rate, Max Speed, Relative, Reevaluation
Player
Type: Player | Array (Player), Default: Event Player
The player or players that will begin accelerating.Direction
Type: Direction, Default: Vector
The unit direction in which the acceleration will be applied. This value is normalized internally.Rate
Type: Float, Default: Number
The rate of acceleration in meters per second squared. This value may need to be quite high in order to overcome gravity and/or surface friction.Max Speed
Type: Float, Default: Number
The speed at which acceleration will stop for the player or players. It may not be possible to reach this speed due to gravity and/or surface friction.Relative
Type: Relativity, Default: To World
Specifies whether direction is relative to world coordinates or the local coordinates of the player or players.Reevaluation
Type: Acceleration Reevaluation, Default: Direction, Rate, And Max Speed
Specifies which of this action's inputs will be continuously reevaluated. This action will keep asking for and using new values from reevaluated inputs.
Trivia
This action has properties that may not appear intuitive:
- Speed in a horizontal direction is capped to maximum walking speed of the Player (5.5m/s by default for most heroes).
- The speed at which acceleration stops is not equal to
Max Speedbut is equal toMax Speed^2 - Rate/62.5. - Speed at which acceleration stops is measured as the speed in the direction of acceleration.