Commit Graph

50 Commits

Author SHA1 Message Date
jacob wang
ab360118e2 [State Tree] Added icon for random selection
#jira UE-212343
#rb mikko.mononen

[CL 33006569 by jacob wang in ue5-main branch]
2024-04-16 13:32:28 -04:00
mikko mononen
da69f444d5 StateTree: Added warning about linked state's child states (which cannot be selected)
#jira UE-208928
#rb Mieszko.Zielinski

[CL 32925706 by mikko mononen in ue5-main branch]
2024-04-12 07:21:04 -04:00
mikko mononen
25d1ba6c73 StateTree: Improved transition visualization and fixed some logic to better match the execution.
#jira UE-210496
#rb Yoan.StAmant

[CL 32875559 by mikko mononen in ue5-main branch]
2024-04-11 04:14:59 -04:00
mikko mononen
b888b0f394 StateTree: Added automatic description to tasks and conditions.
#rb Mieszko.Zielinski

[CL 32754463 by mikko mononen in ue5-main branch]
2024-04-05 03:37:02 -04:00
maxime mercier
b121e30c79 CIS fix in 29.40 rollback original fix as the one I have made earlier today is conflicting with this one but it was in 29.20 branches which was for 5.4 release.
[CL 32653750 by maxime mercier in ue5-main branch]
2024-04-01 18:02:13 -04:00
maxime mercier
c10a982b7d #jira UE-211098
[REVIEW]
#rb aurel.cordonnier

[CL 32652720 by maxime mercier in ue5-main branch]
2024-04-01 17:23:03 -04:00
mikko mononen
83d4312a2c StateTree: Improve state picker.
- imropoved the state picker to display the states in hieracrchy

#rb Mieszko.Zielinski

[CL 32576972 by mikko mononen in ue5-main branch]
2024-03-28 10:25:37 -04:00
yoan stamant
460926373f [SStateTreeViewRow] removed unreachable code
#jira UE-210111
#rb mikko.mononen

[CL 32471660 by yoan stamant in ue5-main branch]
2024-03-25 11:46:14 -04:00
grant medine
1361c96bd5 [Backout] - CL32448872
[FYI] Yoan.StAmant
Original CL Desc
-----------------------------------------------------------------
[SStateTreeViewRow] removed unreachable code
#jira UE-210111
#rb yoan.stamant

[CL 32451272 by grant medine in ue5-main branch]
2024-03-22 17:18:42 -04:00
yoan stamant
892cbfffb5 [SStateTreeViewRow] removed unreachable code
#jira UE-210111
#rb yoan.stamant

[CL 32449922 by yoan stamant in ue5-main branch]
2024-03-22 16:53:45 -04:00
ryan hummer
e5e9ec6d88 Fixing unreachable code shipping compile error
#rnx
#rb trivial

[CL 32313757 by ryan hummer in ue5-main branch]
2024-03-18 17:54:31 -04:00
mikko mononen
00ae9d4fac StateTree: Change StateTree editor transition display to reflect the execution logic
- The execution logic will transition to Root if no state is found, change editor to reflet that
- Change viewmodel from ref to ptr to make it optional (allows to reuse the row for non-editing purposes)

[CL 30315165 by mikko mononen in ue5-main branch]
2023-12-14 02:55:56 -05:00
christopher waters
86af3ce99d Fixing various header only compile errors.
[CL 30138626 by christopher waters in ue5-main branch]
2023-12-05 17:55:30 -05:00
mikko mononen
965459a538 StateTree: Fix Mac compiler not being able to figure out implicit cast from TObjectPtr<> to UObject
[CL 30073495 by mikko mononen in ue5-main branch]
2023-12-04 03:46:59 -05:00
mikko mononen
16962d6a2f StateTree: Added Linked Asset state type, which allows to link another asset as subtree.
- Added LinkedAsset State Tree State Type
- Allow to pick nested tree asset on LinkedAsset states
- Changed how linked state params are accessed using ParentFrame
- Added temporary instance data
- Temporaries are kept around until state selection
- Create temp instance data during state selection for state parameters (allows to create enter conditions based on subtree state params)
- Instantiate and Start linked State Trees global tasks and evaluators during state selection
- Matching temporary instances created during state selection are moved to instance data on state change (rest are discarded)
- Per node instance data is looked up just once, and FStateTreeExecutionContext::GetInstanceData() only serves the specific instance data.

#rb Mieszko.Zielinski, Yoan.StAmant

[CL 30012308 by mikko mononen in ue5-main branch]
2023-11-30 07:03:20 -05:00
juan portillo
09c6561997 [StateTree]
Added "Next Selectable State" transition option which is similar to "Next State" but the difference is that if the next state fails to be selected (i.e. enter condition failed), then instead of going back up the hierarchy, it will try to select the next sibling until it finds one that is selectable or if it reached the end of the sibling list.

#rb Mikko.Mononen
#jira UE-198276

[CL 28852004 by juan portillo in ue5-main branch]
2023-10-17 16:15:53 -04:00
juan portillo
7b64d540dc State Tree:
- Added Themes, which change the coloring of both States and Tasks (tasks showing up a bit darker)

#rb Mikko.Mononen
#jira UE-196534

[CL 28231539 by juan portillo in ue5-main branch]
2023-09-26 11:50:26 -04:00
yoan stamant
fb4de53169 On behalf of mikko.mononen
Original CL Desc
-----------------------------------------------------------------
StateTree: Fixed ID clash when duplicating transitions, plus misc editor fixes
- Fix duplicate state
- Fix creating new node IDs when a whole transitions is duplicated
- Fixed state ID leaking into state names, when ID debug display is on
- Fixed updating the state tree view when task type is changed

[FYI] yoan.stamant

[CL 26149038 by yoan stamant in ue5-main branch]
2023-06-21 10:32:41 -04:00
mikko mononen
37b01a1b20 [Backout] - CL26145152
[FYI] mikko.mononen
Original CL Desc
-----------------------------------------------------------------
StateTree: Fixed ID clash when duplicating transitions, plus misc editor fixes
- Fix duplicate state
- Fix creating new node IDs when a whole transitions is duplicated
- Fixed state ID leaking into state names, when ID debug display is on
- Fixed updating the state tree view when task type is changed

[FYI] yoan.stamant

[CL 26145795 by mikko mononen in ue5-main branch]
2023-06-21 08:45:02 -04:00
mikko mononen
dbda318952 StateTree: Fixed ID clash when duplicating transitions, plus misc editor fixes
- Fix duplicate state
- Fix creating new node IDs when a whole transitions is duplicated
- Fixed state ID leaking into state names, when ID debug display is on
- Fixed updating the state tree view when task type is changed

[FYI] yoan.stamant

[CL 26145413 by mikko mononen in ue5-main branch]
2023-06-21 08:18:32 -04:00
yoan stamant
7d4961a65f [StateTreeDebugger]
- added option to disable state transitions
- added state transition breakpoints
- fixed scrubbing not using the right time (analysis time instead of world simulation time) when hitting a breakpoint
- fixed new instance auto selection on record when previous selection is a stale subtrack
- added console variable `statetree.displayitemids` to display states, tasks and transitions Ids in the StateTreeEditor (details view and state treeview)
#rb mikko.mononen

[CL 26128077 by yoan stamant in ue5-main branch]
2023-06-20 13:49:25 -04:00
yoan stamant
869839957a [StateTreeDebugger] breakpoint improvements
- added support for breakpoint when exiting state (was only when entering)
- added support for breakpoint when entering or exiting a task
- state breakpoints can be added from contextual menu in the TreeView or from the Debug options in the details panel
- task breakpoints can be added from the Debug options in the details panel
- added feedback labels in the details panel for states and tasks with breakpoints
#rb mikko.mononen

[CL 26016378 by yoan stamant in ue5-main branch]
2023-06-15 11:38:28 -04:00
mikko mononen
976fe6cc34 StateTree: Display state links from tasks as transitions.
[CL 25973982 by mikko mononen in ue5-main branch]
2023-06-14 06:17:56 -04:00
yoan stamant
dfdc26f0d4 [StateTree] added possibility to disable States and Tasks. Also possible to force condition result to true/false.
#jira UE-187154
#rb mikko.mononen

[CL 25796491 by yoan stamant in ue5-main branch]
2023-06-05 13:12:19 -04:00
yoan stamant
4aa4f9b1e7 [StateTree] fixed circular pointer dependency preventing proper cleanup when closing the StateTree asset editor.
#rb mikko.mononen
#rb mieszko.zielinski
#preflight 645906806c35ad81e6196519

[CL 25373066 by yoan stamant in ue5-main branch]
2023-05-08 13:32:14 -04:00