SetGravity

From MaratisWiki
Jump to: navigation, search

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
Personal tools
Namespaces
Variants
Actions
Navigation
Toolbox