Merge pull request #31163 from nekomatata/fix-state-machine-transition-priority
Fixed AnimationTreeStateMachine transition priority
This commit is contained in:
@@ -235,6 +235,7 @@ bool AnimationNodeStateMachinePlayback::_travel(AnimationNodeStateMachine *p_sta
|
||||
|
||||
if (cost < least_cost) {
|
||||
least_cost_transition = E;
|
||||
least_cost = cost;
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user