利用者:Sculptorjim/Game Engine/Logic/Controllers/Expressions

提供: wiki
移動先: 案内検索

Game Expressions

As well as a simple logical operation, a controller can evaluate an expression in order to send a positive or negative pulse to the connected actuators:

  • if the expression evaluates to True, the controller sends a positive pulse to the connected actuators.
  • if the expression evaluates to False, the controller sends a negative pulse to the connected actuators.


The logical expressions can contain mathematical operations, variables and/or the result from other sensors.

Details of how ti write expressions are given in the Expression controller page.