BGE: Committing patch [#32697] "New BGE gravity API" by HG1.

This patch adds a gravity attribute to KX_Scene.
This commit is contained in:
Mitchell Stokes
2012-11-10 03:11:18 +00:00
parent 489e9cb788
commit f6a110d6ea
6 changed files with 46 additions and 3 deletions

View File

@@ -3113,6 +3113,12 @@ Types
:type: list
.. attribute:: gravity
The scene gravity using the world x, y and z axis.
:type: list [fx, fy, fz]
.. method:: addObject(object, other, time=0)
Adds an object to the scene like the Add Object Actuator would.