Commit Graph

102 Commits

Author SHA1 Message Date
Serhii Snitsaruk 1e9b321283
Allow setting custom scene root for behavior trees
- Adds new argument to `BehaviorTree.instantiate()`
- Adds `BTPlayer.set_scene_root_hint()` method
2024-08-05 13:03:50 +02:00
Serhii Snitsaruk ee12a56e96
BTPlayer: Allow changing BT instance at runtime 2024-08-04 12:36:44 +02:00
Serhii Snitsaruk df11afaf44
Allow monitoring BT performance in BTState 2024-08-04 10:37:41 +02:00
Serhii Snitsaruk 63ef3e0555
BTPlayer: Fix `updated` signal and deprecate `behavior_tree_finished` signal 2024-08-03 16:11:47 +02:00
Serhii Snitsaruk 91edd1c0b5
Documentation fixes 2024-08-03 14:39:27 +02:00
Serhii Snitsaruk 6b4c97e545
Fix BehaviorTree.instantiate() method binding 2024-08-03 14:29:24 +02:00
Serhii Snitsaruk 9abfe4ce95
Update class docs 2024-08-03 13:14:31 +02:00
Serhii Snitsaruk f7eb374c1e
Add `LimboHSM.has_transition(from, event)` 2024-07-21 13:35:16 +02:00
Serhii Snitsaruk 0934e4e672
Expose `LimboHSM.change_active_state()` 2024-07-20 18:15:21 +02:00
Serhii Snitsaruk ddbfa132a5
Update docs 2024-07-20 17:25:24 +02:00
Serhii Snitsaruk c6851259e8
Doc: Mention mapping in BTSubtree class doc 2024-06-18 13:25:33 +02:00
Serhii Snitsaruk 35f2c3c142
API: Add `Blackboard` methods to enable iteration, state inspection and serialization 2024-05-31 11:46:11 +02:00
Serhii Snitsaruk dc77ecd2b2
Fix `parent_scope` argument in `create_blackboard` should have a default value 2024-05-17 10:36:25 +02:00
Serhii Snitsaruk d920060dee
Update class documentation 2024-05-15 20:58:38 +02:00
Serhii Snitsaruk e5d04b9eda
Doc: Update doc pages and examples 2024-05-02 19:38:05 +02:00
Serhii Snitsaruk 803da63fa8
Doc: Update class docs 2024-05-02 13:39:19 +02:00
Serhii Snitsaruk 769de9a7e2
Merge pull request #89 from limbonaut/blackboard-api-improvements
Blackboard: Add `create` parameter to `bind_var_to_property` and `link_var`
2024-04-30 11:31:22 +02:00
val 29d4b92bf4 found how to get custom links into the doc 2024-04-22 13:52:09 -04:00
val 40850067c8 moved the change to the doc sources 2024-04-22 12:58:44 -04:00
Serhii Snitsaruk c739a876b0
Blackboard: Add `create` parameter to `bind_var_to_property` and `link_var` 2024-04-09 11:34:22 +02:00
Serhii Snitsaruk 3918272227
BehaviorTree: New signal for when BB plan changes
Utilize `plan_changed` signal in `BTPlayer` and `BTState`.
2024-04-01 16:34:36 +02:00
Serhii Snitsaruk 06ea008105
Expose checks and operations in `LimboUtility` 2024-03-20 12:13:32 +01:00
Serhii Snitsaruk 434545ebad Blackboard: Linking vars with `Blackboard::link_var` 2024-03-12 16:17:34 +01:00
Serhii Snitsaruk 9957ef2ea7 Expose additional `BlackboardPlan` methods for custom tooling 2024-03-08 15:33:28 +01:00
Wilson E. Alvarez 3f34e4dde2
Expose BehaviorTreeView::clear to GDScript 2024-03-07 11:39:53 -05:00
Serhii Snitsaruk 81f49be6b4 Doc: Update class docs 2024-03-06 21:50:35 +01:00
Serhii Snitsaruk 193743e782 Provide the previous state in the state_changed signal
- Also provide `get_previous_active_state()` method.
- Rename state_changed -> active_state_changed.
2024-03-05 12:58:55 +01:00
Serhii Snitsaruk 4c26583007 Remove "p_" from the argument names in the `ClassDB` bindings 2024-03-04 21:36:16 +01:00
Serhii Snitsaruk ecf1e4b65f Doc: Update class docs 2024-03-04 16:19:39 +01:00
Serhii Snitsaruk bb6fab7555 API: Expose BlackboardPlan factory methods 2024-03-02 16:06:32 +01:00
Serhii Snitsaruk c4931ae420 Fix Blackboard.{set,get}_parent_scope should be {set,get}_parent in the API 2024-03-02 15:43:55 +01:00
Serhii Snitsaruk 6f9ff6a487 Doc: Update LimboState class doc 2024-03-02 00:10:44 +01:00
Serhii Snitsaruk 7626c84633 New `task_selected` signal for BehaviorTreeView 2024-02-29 23:42:24 +01:00
Wilson E. Alvarez fb958c7c34
Add BTEvaluateExpression 2024-02-18 12:20:48 -05:00
Wilson E. Alvarez dad8d86d3e
Fix BehaviorTreeView doc formatting 2024-02-17 16:05:13 -05:00
Serhii Snitsaruk 7ebdfc9026 Update BehaviorTreeView class doc 2024-02-17 15:03:18 +01:00
Serhii Snitsaruk 6d36d20d06 Blackboard: Complain when variable is missing 2024-02-13 17:15:19 +01:00
Serhii Snitsaruk 3a6dc1e90c BTRunLimit: Update class doc 2024-02-10 20:29:48 +01:00
Serhii Snitsaruk 899335d1fe Util: Function to decorate output variable 2024-02-10 12:34:29 +01:00
Serhii Snitsaruk 8dc645c9a7 Fix issues and update docs for BehaviorTreeData/View 2024-02-03 17:53:12 +01:00
Wilson E. Alvarez b765b2adc8
Fix wrong parameter reference in Blackboard documentation 2024-02-01 20:47:54 -05:00
Serhii Snitsaruk 2612ec0855 Fix LimboHSM::add_transition signature 2024-01-28 11:56:53 +01:00
Serhii Snitsaruk c81c1ec872 Blackboard: Add variable-to-property binding interface 2024-01-27 21:44:58 +01:00
Serhii Snitsaruk a251d92aa3 Update class documentation 2024-01-25 14:56:59 +01:00
Serhii Snitsaruk 33b455f8d9 Add BBParam missing types 2024-01-19 17:15:22 +01:00
Serhii Snitsaruk 594097ae4c Update class documentation and add rst update script 2024-01-16 11:21:02 +01:00
Serhii Snitsaruk 7fc3831384 Fix various class documentation issues.
Fixes #10.
2023-12-28 17:00:32 +01:00
Serhii Snitsaruk 22bfb9e3ab Improve BTCallMethod
- Fix `include_delta` not initialized for some reason
- Add additional tests
- Group argument properties
- Improve name generation
2023-12-28 14:26:39 +01:00
Wilson E. Alvarez ab311c5770
Allow BTCallMethod to include its delta as an argument 2023-12-27 19:46:19 -05:00
Serhii Snitsaruk 60012d984b Fix drag & drop position in the same branch
Also, refactor get_child_index() into get_index().
2023-11-22 13:05:55 +01:00