利用者:Sculptorjim/Game Engine/Logic/Controllers/Expressions
< 利用者:Sculptorjim | Game Engine | Logic | Controllers
2012年7月3日 (火) 23:01時点におけるwiki>Sculptorjimによる版
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.