From a12b2ec66dbadd3ff06883d80509773139a40262 Mon Sep 17 00:00:00 2001 From: Porteries Tristan Date: Fri, 27 Mar 2015 05:52:28 +0100 Subject: 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 --- doc/python_api/rst/bge_types/bge.types.KX_GameObject.rst | 6 ++++++ 1 file changed, 6 insertions(+) (limited to 'doc/python_api') 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. -- cgit v1.2.3