Doc:2.6/Manual/Game Engine/Logic/Controllers/XOR

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

XOR Controller

This controller gives a positive (TRUE) output when

One (and only one) of its inputs are TRUE, and
The object is in the designated State.
For all other conditions the controller gives a negative (FALSE) output.

Options:

XOR Controller
Controller Type menu
Specifies the type of the controller.
Controller Name
The name of the controller. This can be selected by the user. It is used to access controllers with python; it needs to be unique among the selected objects.
State Index
Sets the designated state for which this controller will operate.
Preference Button
If on, this controller will operate before all other non-preference controllers (useful for start-up scripts).
X Button
Deletes the sensor.