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:
Diffstat (limited to 'source/gameengine/PyDoc/KX_PhysicsObjectWrapper.py')
-rw-r--r--source/gameengine/PyDoc/KX_PhysicsObjectWrapper.py63
1 files changed, 37 insertions, 26 deletions
diff --git a/source/gameengine/PyDoc/KX_PhysicsObjectWrapper.py b/source/gameengine/PyDoc/KX_PhysicsObjectWrapper.py
index ea9a2a3a411..4cbdbf7cebb 100644
--- a/source/gameengine/PyDoc/KX_PhysicsObjectWrapper.py
+++ b/source/gameengine/PyDoc/KX_PhysicsObjectWrapper.py
@@ -4,46 +4,57 @@ class KX_PhysicsObjectWrapper(PyObjectPlus):
"""
KX_PhysicsObjectWrapper
- All placeholders have a __ prefix
"""
- def __setActive(val):
+ def setActive(active):
"""
- TODO - Description
+ Set the object to be active.
- @param val: the starting frame of the animation
- @type val: float
-
- @rtype: integer
- @return: TODO Description
+ @param active: set to True to be active
+ @type active: bool
"""
- def __setAngularVelocity(val):
+ def setAngularVelocity(x, y, z, local):
"""
- TODO - Description
+ Set the angular velocity of the object.
+
+ @param x: angular velocity for the x-axis
+ @type x: float
+
+ @param y: angular velocity for the y-axis
+ @type y: float
- @param val: the starting frame of the animation
- @type val: float
+ @param z: angular velocity for the z-axis
+ @type z: float
- @rtype: integer
- @return: TODO Description
+ @param local: set to True for local axis
+ @type local: bool
"""
- def __setLinearVelocity(val):
+ def setLinearVelocity(x, y, z, local):
"""
- TODO - Description
+ Set the linear velocity of the object.
- @param val: the starting frame of the animation
- @type val: float
+ @param x: linear velocity for the x-axis
+ @type x: float
- @rtype: integer
- @return: TODO Description
+ @param y: linear velocity for the y-axis
+ @type y: float
+
+ @param z: linear velocity for the z-axis
+ @type z: float
+
+ @param local: set to True for local axis
+ @type local: bool
"""
- def __setPosition(val):
+ def setPosition(x, y, z):
"""
- TODO - Description
+ Set the position of the object
+
+ @param x: x coordinate
+ @type x: float
- @param val: the starting frame of the animation
- @type val: float
+ @param y: y coordinate
+ @type y: float
- @rtype: integer
- @return: TODO Description
+ @param z: z coordinate
+ @type z: float
"""