SetGravity
From MaratisWiki
setGravity(gravity)
Set a scene gravity.
-
gravity
: gravity constant
gravity = {0, 0, -0.98} setGravity(gravity) -- set current scene gravity setGravity(scene2, gravity) -- set scene2 gravity