SetGravity
(Difference between revisions)
Dahnielson (Talk | contribs) |
Dahnielson (Talk | contribs) m |
||
Line 1: | Line 1: | ||
+ | {{lua-function|setGravity|gravity}} | ||
+ | |||
Set a scene gravity | Set a scene gravity | ||
Revision as of 17:58, 8 February 2014
setGravity(gravity)
Set a scene gravity
gravity = {0, 0, -0.98} setGravity(gravity) -- set current scene gravity setGravity(scene2, gravity) -- set scene2 gravity