Description
Applies an instantaneous change in velocity to the movement of one or more players.
Snippet
Apply Impulse(Event Player, Vector(0, 0, 0), 0, To World, Cancel Contrary Motion);Properties
Returns: Void Parameters: ==Player==, ==Direction==, ==Speed==, ==Relative==, ==Motion==
==Player== Type: Player | Array (Player), Default: Event Player The player or players whose velocity will be changed.
==Direction== Type: Direction, Default: Vector The unit direction in which the impulse will be applied. This value is normalized internally.
==Speed== Type: Float, Default: Number The magnitude of the change to the velocities of the player or players.
==Relative== Type: Relativity, Default: To World Specifies whether direction is relative to world coordinates or the local coordinates of the player or players.
==Motion== Type: Impulse, Default: Cancel Contrary Motion Specifies whether existing velocity that is counter to direction should first be cancelled out before applying the impulse.