Vehicle::setGravity: Difference between revisions

From RAGE Multiplayer Wiki
(yay)
 
No edit summary
 
(One intermediate revision by the same user not shown)
Line 1: Line 1:
 
if you set this to false the vehicle will no longer move and will not have any gravity (vehicles with parachute will no longer go up when the parachute is open)
==Syntax==
==Syntax==
<syntaxhighlight lang="javascript">vehicle.setGravity(toggle);</syntaxhighlight>
<syntaxhighlight lang="javascript">vehicle.setGravity(toggle);</syntaxhighlight>

Latest revision as of 14:27, 17 May 2020

if you set this to false the vehicle will no longer move and will not have any gravity (vehicles with parachute will no longer go up when the parachute is open)

Syntax

vehicle.setGravity(toggle);

Required Arguments

  • toggle: Boolean

Return value

  • Undefined

Example

// todo

See also