base class — SCA_IController
A Python controller uses a Python script to activate it’s actuators, based on it’s sensors.
The object the controller is attached to.
| Type: | KX_GameObject |
|---|
The value of this variable depends on the execution methid.
| Type: | string |
|---|
Note
Once this is set the script name given for warnings will remain unchanged.
the execution mode for this controller (read-only).
| Type: | integer |
|---|
Activates an actuator attached to this controller.
| Parameters: | actuator (actuator or the actuator name as a string) – The actuator to operate on. |
|---|
Deactivates an actuator attached to this controller.
| Parameters: | actuator (actuator or the actuator name as a string) – The actuator to operate on. |
|---|