2 # Documentation for KX_SCA_DynamicActuator
3 from SCA_IActuator import *
5 class KX_SCA_DynamicActuator(SCA_IActuator):
8 @ivar operation: the type of operation of the actuator, 0-4
9 KX_DYN_RESTORE_DYNAMICS, KX_DYN_DISABLE_DYNAMICS,
10 KX_DYN_ENABLE_RIGID_BODY, KX_DYN_DISABLE_RIGID_BODY, KX_DYN_SET_MASS
11 @type operation: integer
12 @ivar mass: the mass value for the KX_DYN_SET_MASS operation
15 def setOperation(operation):
17 DEPRECATED: Use the operation property instead.
18 Set the type of operation when the actuator is activated:
19 - 0 = restore dynamics
20 - 1 = disable dynamics
21 - 2 = enable rigid body
22 - 3 = disable rigid body
27 DEPRECATED: Use the operation property instead.
28 return the type of operation