get/set Angular velocity for KX_GameObjects python api and for the AddObject actuator.
[blender.git] / source / gameengine / PyDoc / KX_SCA_AddObjectActuator.py
index 4f2bf85bff3bcd058117836d6154686b34f353a2..c3b2e947ddbca023916cbd5ed1a19b6486eb5a6a 100644 (file)
@@ -64,6 +64,23 @@ class KX_SCA_AddObjectActuator(SCA_IActuator):
                """
                Returns the initial linear velocity of added objects.
                
+               @rtype: list [vx, vy, vz]
+               """
+       def setAngularVelocity(vx, vy, vz):
+               """
+               Sets the initial angular velocity of added objects.
+               
+               @type vx: float
+               @param vx: the x component of the initial angular velocity.
+               @type vy: float
+               @param vy: the y component of the initial angular velocity.
+               @type vz: float
+               @param vz: the z component of the initial angular velocity.
+               """
+       def getAngularVelocity():
+               """
+               Returns the initial angular velocity of added objects.
+               
                @rtype: list [vx, vy, vz]
                """
        def getLastCreatedObject():