Module KX_SCA_DynamicActuator :: Class KX_SCA_DynamicActuator

Class KX_SCA_DynamicActuator

SCA_ILogicBrick.SCA_ILogicBrick --+    
                                  |    
        SCA_IActuator.SCA_IActuator --+
                                      |
                                     KX_SCA_DynamicActuator

Dynamic Actuator.

Instance Methods
 
setOperation(operation)
DEPRECATED: Use the operation property instead.
 
getOperation()
DEPRECATED: Use the operation property instead.
integer
getExecutePriority()
Gets the execution priority of this logic brick. (Inherited from SCA_ILogicBrick.SCA_ILogicBrick)
KX_GameObject
getOwner()
Gets the game object associated with this logic brick. (Inherited from SCA_ILogicBrick.SCA_ILogicBrick)
 
setExecutePriority(priority)
Sets the priority of this logic brick. (Inherited from SCA_ILogicBrick.SCA_ILogicBrick)
Instance Variables
int executePriority
This determines the order controllers are evaluated, and actuators are activated (lower priority is executed first). (Inherited from SCA_ILogicBrick.SCA_ILogicBrick)
float mass
the mass value for the KX_DYN_SET_MASS operation
integer operation
the type of operation of the actuator, 0-4 KX_DYN_RESTORE_DYNAMICS, KX_DYN_DISABLE_DYNAMICS, KX_DYN_ENABLE_RIGID_BODY, KX_DYN_DISABLE_RIGID_BODY, KX_DYN_SET_MASS
KX_GameObject or None in exceptional cases. owner
The game object this logic brick is attached to (read only). (Inherited from SCA_ILogicBrick.SCA_ILogicBrick)
Method Details

setOperation(operation)

 

DEPRECATED: Use the operation property instead. Set the type of operation when the actuator is activated:

  • 0 = restore dynamics
  • 1 = disable dynamics
  • 2 = enable rigid body
  • 3 = disable rigid body
  • 4 = set mass

getOperation()

 

DEPRECATED: Use the operation property instead. return the type of operation