Merge pull request #31163 from nekomatata/fix-state-machine-transition-priority
Fixed AnimationTreeStateMachine transition priority
This commit is contained in:
commit
efc0256483
1 changed files with 1 additions and 0 deletions
|
@ -235,6 +235,7 @@ bool AnimationNodeStateMachinePlayback::_travel(AnimationNodeStateMachine *p_sta
|
|||
|
||||
if (cost < least_cost) {
|
||||
least_cost_transition = E;
|
||||
least_cost = cost;
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue