AnimationNodeStateMachineTransition.advanceCondition

Turn on auto advance when this condition is set. The provided name will become a boolean parameter on the AnimationTree that can be controlled from code (see url=https://docs.godotengine.org/en/3.3/tutorials/animation/animation_tree.html#controlling-from-code/url). For example, if AnimationTree.treeRoot is an AnimationNodeStateMachine and advanceCondition is set to "idle":

More...
  1. String advanceCondition [@property getter]
    struct AnimationNodeStateMachineTransition
    @nogc nothrow @property
    String
    advanceCondition
    ()
  2. String advanceCondition [@property setter]

Detailed Description

$animation_tree"parameters/conditions/idle" = is_on_floor and (linear_velocity.x == 0)

Meta