Welcome to mirror list, hosted at ThFree Co, Russian Federation.

git.blender.org/blender.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMitchell Stokes <mogurijin@gmail.com>2012-11-10 07:11:18 +0400
committerMitchell Stokes <mogurijin@gmail.com>2012-11-10 07:11:18 +0400
commitf6a110d6ea99b10be72203dee44175624adafa82 (patch)
treec0b8827ad1483beb5b0228ebf9015c59cfac6df6 /doc/python_api/rst/bge.types.rst
parent489e9cb7881ccf70153b125d34e148b96497ef8d (diff)
BGE: Committing patch [#32697] "New BGE gravity API" by HG1.
This patch adds a gravity attribute to KX_Scene.
Diffstat (limited to 'doc/python_api/rst/bge.types.rst')
-rw-r--r--doc/python_api/rst/bge.types.rst6
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.