Difference between revisions of "World:setGravity"

m (1 revision: Imported docs from potato.)
Line 1: Line 1:
  
 
+
Set the gravity of the world.
 
== Function ==
 
== Function ==
 
=== Synopsis ===
 
=== Synopsis ===
Line 14: Line 14:
 
* [[parent::World]]
 
* [[parent::World]]
 
[[Category:Functions]]
 
[[Category:Functions]]
{{#set:Description=}}
+
{{#set:Description=Set the gravity of the world.}}

Revision as of 16:17, 14 February 2010

Set the gravity of the world.

Function

Synopsis

World:setGravity( x, y )

Arguments

number x
The x component of gravity.
number y
The y component of gravity.

Returns

Nothing.

See Also