SetGravity

(Difference between revisions)
Jump to: navigation, search
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
Personal tools
Namespaces
Variants
Actions
Navigation
Toolbox