SetGravity
(Difference between revisions)
Dahnielson (Talk | contribs) |
|||
Line 4: | Line 4: | ||
setGravity(gravity) -- set current scene gravity | setGravity(gravity) -- set current scene gravity | ||
setGravity(scene2, gravity) -- set scene2 gravity | setGravity(scene2, gravity) -- set scene2 gravity | ||
+ | |||
+ | [[Category:Lua scripting]] |
Revision as of 18:05, 4 February 2014
Set a scene gravity
gravity = {0, 0, -0.98} setGravity(gravity) -- set current scene gravity setGravity(scene2, gravity) -- set scene2 gravity