SetGravity

(Difference between revisions)
Jump to: navigation, search
m
Line 1: Line 1:
 +
{{lua-function|setGravity|gravity}}
 +
 
Set a scene gravity
 
Set a scene gravity
  

Revision as of 17:58, 8 February 2014

setGravity(gravity)

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