diff options
author | Porteries Tristan <republicthunderbolt9@gmail.com> | 2015-03-27 07:52:28 +0300 |
---|---|---|
committer | Jorge Bernal <jbernalmartinez@gmail.com> | 2015-03-27 08:11:23 +0300 |
commit | a12b2ec66dbadd3ff06883d80509773139a40262 (patch) | |
tree | 88e6662ccac50a86340bded3a9fd15c49e5ef515 /doc | |
parent | c8f95cbb604ce833b759b134b36dd7ea42d69d76 (diff) |
BGE: New isDynamicSuspended python attribute
This is a new KX_GameObject attribute that it increments the
possibilities of optimization during the game
Additionally the unused m_bSuspendDynamics variable is removed.
Reviewers: moguri, agoose77, lordloki
Reviewed By: agoose77, lordloki
Subscribers: agoose77, lordloki
Differential Revision: https://developer.blender.org/D1091
Diffstat (limited to 'doc')
-rw-r--r-- | doc/python_api/rst/bge_types/bge.types.KX_GameObject.rst | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/doc/python_api/rst/bge_types/bge.types.KX_GameObject.rst b/doc/python_api/rst/bge_types/bge.types.KX_GameObject.rst index 8d6996dc401..abf1b8b9707 100644 --- a/doc/python_api/rst/bge_types/bge.types.KX_GameObject.rst +++ b/doc/python_api/rst/bge_types/bge.types.KX_GameObject.rst @@ -78,6 +78,12 @@ base class --- :class:`SCA_IObject` The object must have a physics controller for the mass to be applied, otherwise the mass value will be returned as 0.0. + .. attribute:: isDynamicsSuspended + + The object's dynamic state (read-only). + + :type: boolean + .. attribute:: linearDamping The object's linear damping, also known as translational damping. Can be set simultaneously with angular damping using the :py:meth:`setDamping` method. |