Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

BlackboardPlan fixes #85

Merged
merged 4 commits into from
Apr 1, 2024
Merged

BlackboardPlan fixes #85

merged 4 commits into from
Apr 1, 2024

Conversation

limbonaut
Copy link
Owner

@limbonaut limbonaut commented Mar 31, 2024

  • Avoid circular references in derived mode
  • Always duplicate BlackboardPlan property resource for BTPlayer and BTState
  • Prevent using external resources for derived blackboard plans

If the same plan resource is assigned in BehaviorTree and in BTPlayer, simply use the resource as is. Using the same resource for `BehaviorTree` and `BTPlayer` will disable derived mode, and allow managing from `BTPlayer` . There is a risk of using `NodePath` variables with different scenes: the path may actually be different if node structure is not the same. It will lead to fetching breaking for some of those scenes.
@limbonaut limbonaut self-assigned this Mar 31, 2024
@limbonaut limbonaut added bug Something isn't working enhancement New feature or request labels Mar 31, 2024
@limbonaut limbonaut force-pushed the plan-improvements branch from 4543439 to 302de87 Compare April 1, 2024 13:26
Utilize `plan_changed` signal in `BTPlayer` and `BTState`.
@limbonaut limbonaut changed the title BlackboardPlan improvements BlackboardPlan fixes Apr 1, 2024
@limbonaut limbonaut merged commit 0ff93fa into master Apr 1, 2024
18 checks passed
@limbonaut limbonaut deleted the plan-improvements branch April 1, 2024 16:03
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working enhancement New feature or request
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant