Login
Create

Apply Impulse Last updated July 06, 2020

Description

Applies an instantaneous change in velocity to the movement of one or more players.

Arguments

Name: PLAYER
Description: The player or players whose velocity will be changed.
Type:

  • Player
  • Array: Player Default: EVENT PLAYER

Name: DIRECTION
Description: The unit direction in which the impulse will be applied. This value is normalized internally.
Type: Direction
Default: VECTOR

Name: SPEED
Description: The magnitude of the change to the velocities of the player or players.
Type: float
Default: NUMBER

Name: RELATIVE
Description: Specifies whether direction is relative to world coordinates or the local coordinates of the player or players.
Type: Relativity
Default: TO WORLD

Name: MOTION
Description: Specifies whether existing velocity that is counter to direction should first be cancelled out before applying the impulse.
Type: Impulse
Default: CANCEL CONTRARY MOTION

Elo Hell Logo_H-M-Dark
Join the Elo Hell Workshops Discord