Python Controller: Script

Python Controller: Script
  • Runs an internal (Blender Text Editor) Python Script

  • Runs the python program with each pulse (both positive and negative) from a sensor

Note:
  • Python script is internal.  It is located in the Blender Text Editor

  • The name of the python script is the name of Blender Text Editor file

Python:
  • The type of controller
Name:
  • The name you give the controller
State Mask Group:
  • The State Mask group the controller belongs to
     
  • A controller belongs to one and only one State Mask group
     
  • Sensors and actuators connected to the controller belong to the same State Mask group as the controller
Priority:
  • A controller with Priority enabled is executed before controllers that don't have Priority enabled
Checkbox:
  • Enabled:
    • Controller is turned on
  • Disabled:
    • Controller is turned off
Note:
  • A controller can be connected to more than one sensor
     
  • A controller can be connected to more than one actuator
     
  • A controller belongs to one and only one State Mask group
     
  • Sensors and actuators connected to the controller belong to the same State Mask group as the controller