Description
Overrides the direction of gravity for a specified player, redefining which direction is treated as down for the purposes of falling, jumping, and movement. A value of Vector(0, -1, 0) is the default downward direction. Useful for anti-gravity modes, wall-walking mechanics, or disorientation effects.
Snippet
Set Gravity Direction(Event Player, Vector(0, 1, 0));
Properties
Returns: Void
Parameters: Player, Direction
Player
Type: Player, Default: Event Player
The player whose gravity direction will be overridden.Direction
Type: Vector, Default: Vector(0, -1, 0)
The normalized direction vector that will be treated as down for this player.