Click or drag to resize

AnimationNodeStateMachineTransitionAdvanceCondition Property

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 ). For example, if TreeRoot is an AnimationNodeStateMachine and AdvanceCondition is set to "idle":

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

Namespace:  Godot
Assembly:  GodotSharp (in GodotSharp.dll) Version: 1.0.0
Syntax
C#
public string AdvanceCondition { get; set; }

Property Value

Type: String
See Also