The Inverter node, or inverter, is one of the basic nodes in behavior trees. Its main function is to invert the result of its child node. If the child node returns Success, then the Inverter will return Failure, and vice versa.
Example of Use:
Here, the Fixed Status node returns Failure
, but the inverter will return Success
.
Operation:
Success
, the Inverter will return Failure
.Failure
, the Inverter will return Success
.Running
, the Inverter will also return Running
.