Skip to content

Reset decorators correctly#392

Merged
bitbrain merged 1 commit intogodot-4.xfrom
reset-decorators-properly
Apr 20, 2025
Merged

Reset decorators correctly#392
bitbrain merged 1 commit intogodot-4.xfrom
reset-decorators-properly

Conversation

@bitbrain
Copy link
Owner

@bitbrain bitbrain commented Apr 19, 2025

Related to #340 but not yet fixing it, as propagating interrupts on branch changes does not yet work correctly.

@bitbrain
Copy link
Owner Author

As stated in #340 we need to interrupt also non-running children to ensure they can reset accordingly. This creates a problem in some cases where the expectation is that interrupt should only be called on running children. I'll see how other famous behaviour tree solutions solve this (e.g. Unreal Engine)

@bitbrain bitbrain changed the title Reset+interrupt decorators correctly Reset decorators correctly Apr 20, 2025
@bitbrain bitbrain force-pushed the reset-decorators-properly branch from 8ad3384 to 90c98cc Compare April 20, 2025 13:48
@bitbrain bitbrain force-pushed the reset-decorators-properly branch from 90c98cc to 2ea98bb Compare April 20, 2025 13:49
@bitbrain bitbrain merged commit 2be16db into godot-4.x Apr 20, 2025
4 checks passed
@bitbrain bitbrain deleted the reset-decorators-properly branch April 20, 2025 13:51
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant