Difference between revisions of "World:setGravity"

m (1 revision: Imported docs from potato.)
 
(3 intermediate revisions by 2 users not shown)
Line 1: Line 1:
 
+
Set the gravity of the world.
 
 
 
== Function ==
 
== Function ==
 
=== Synopsis ===
 
=== Synopsis ===
Line 14: Line 13:
 
* [[parent::World]]
 
* [[parent::World]]
 
[[Category:Functions]]
 
[[Category:Functions]]
{{#set:Description=}}
+
{{#set:Description=Set the gravity of the world.}}
 +
{{#set:Since=000}}
 +
== Other Languages ==
 +
{{i18n|World:setGravity}}

Latest revision as of 17:53, 25 March 2011

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


Other Languages