About the Priority of SceneNodeLink

When using SceneTransition to extend multiple SceneNodeLinks from one scene,
is it possible to set priorities for the SceneNodeLinks?

For example, when trying to transition from Scene A to Scene B and Scene C using SceneNodeLinks,
the condition for A-B is “previous scene has ended,”
and the condition for A-C is “previous scene has ended” and “switch/variable has changed.”

Even if the conditions for A-C are met, the transition to A-B still occurs.

I haven’t checked in detail, but since there is no SceneNodeLink priority, the links should be checked in order of their age (i.e., from the earliest to the latest).
As a solution, it might be good to set “switch, variable changed” for the A-B scene transition. However, would that cause any issues?

Thank you for your reply. The method you pointed out is fine.

So, when there are multiple branches in a scene transition without priority, they must always be mutually exclusive conditions, right?

Yes, that’s right.
Probably because it checks in ascending order of IDs, removing and recreating the A-B transition link might make it work as expected, but I think it’s safer to make it exclusive.

1 Like