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