diff options
author | Mitchell Stokes <mogurijin@gmail.com> | 2012-11-10 07:11:18 +0400 |
---|---|---|
committer | Mitchell Stokes <mogurijin@gmail.com> | 2012-11-10 07:11:18 +0400 |
commit | f6a110d6ea99b10be72203dee44175624adafa82 (patch) | |
tree | c0b8827ad1483beb5b0228ebf9015c59cfac6df6 /doc | |
parent | 489e9cb7881ccf70153b125d34e148b96497ef8d (diff) |
BGE: Committing patch [#32697] "New BGE gravity API" by HG1.
This patch adds a gravity attribute to KX_Scene.
Diffstat (limited to 'doc')
-rw-r--r-- | doc/python_api/rst/bge.types.rst | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/doc/python_api/rst/bge.types.rst b/doc/python_api/rst/bge.types.rst index fdaeb61173f..431b264ba73 100644 --- a/doc/python_api/rst/bge.types.rst +++ b/doc/python_api/rst/bge.types.rst @@ -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. |