Commit Graph

40 Commits

Author SHA1 Message Date
mikko mononen
1c69b826cc StateTree: Added node validation during compilation
- Added a pass during compilation when node and instance data can be checked and adjusted by the node
- Changed blueprint based task to copy flags to the node in Compile()
- Changed relevant gameplay interaction tasks to check tags during Compile()

#rb Mieszko.Zielinski
#preflight 6377724cf514e1ded9a5ff44

[CL 23193668 by mikko mononen in ue5-main branch]
2022-11-18 08:38:31 -05:00
mikko mononen
1bc7452c79 Gameplay Interaction: Set Slot Enabled task
- added task to enable and disabled slots
- visualize disabled slots in Smart Object editor

#rb Luciano.Ferraro
#preflight 6364e3364b0e01486a464fa5

[CL 22985540 by mikko mononen in ue5-main branch]
2022-11-04 09:18:52 -04:00
mikko mononen
adeedcf1d2 GameplayInteraction: Fixed log verbosity level on GameplayInteractionSyncSlotTagTransitionTask.
#rb trivial
#preflight 6363732a54471d10be4d7312

[CL 22959055 by mikko mononen in ue5-main branch]
2022-11-03 14:21:48 -04:00
henrik karlsson
fa90b399a4 Added includes for future change. This changelist only contains added #include and a couple of empty placeholder files
Tested compiling fortnite, unrealeditor, lyra, qagame with non-unity/pch

#preflight 63635997876630122adeab9f
#rb none

[CL 22958990 by henrik karlsson in ue5-main branch]
2022-11-03 14:18:47 -04:00
mikko mononen
309de50a7a GameplayInteraction: Include FGameplayInteractionStateTreeCondition in schema.
#rb trivial
#preflight 63625acd1a32af63a8d48b0f

[CL 22919221 by mikko mononen in ue5-main branch]
2022-11-02 12:31:36 -04:00
mikko mononen
df6c6c9728 Gameplay Interactions: restored deprecation of old SendEvent (was disabled due to commits via multiple CLs)
#rb trivial
#preflight 636258d5af536047f4da9c10

[CL 22919210 by mikko mononen in ue5-main branch]
2022-11-02 12:31:06 -04:00
mikko mononen
8dc086e33a Gameplay Interactions:
- Moved all State Tree things into StateTree folder
- Added StateTree conditions that check Smart Object slot tags and state
- Added StateTree task to modify SmartObject slot tags
- Added StateTree task to monitor SmartObject slot tags
- Added StateTree task to listen SmartObject events
- Added StateTree task to sync execution based on SmartObject slot tags

#rb Maxime.Mercier Luciano.Ferraro
#preflight 636124a8ef6d25c67458635c

[CL 22888785 by mikko mononen in ue5-main branch]
2022-11-01 15:14:34 -04:00
mikko mononen
b61e12b277 Nav Corridor: fix nav corridor or high cost neighbour polygons
- fixed DetourNavMeshQuery storeWallSegment() returning some segments in reverse
- fixed degenerate cases in polygon clipping
- change corridor expansion to take fixed area cost into account to not expand to hard to reach areas

#rb Mieszko.Zielinski
#preflight 6349200d3c37eed48151e71d

[CL 22539724 by mikko mononen in ue5-main branch]
2022-10-14 19:06:35 -04:00
luciano ferraro
27ef5acc7c Add a way to send a StateTree event via the GameplayInteractionContext
#jira
[REVIEW] [at]Mikko.Mononen
[FYI] Loic.Devaux, Josselin.Francois, Nicolas.Bonnelly, Phil.Cole, wojciech.madry
#preflight 6336ebeb0d2b0d7bd89680b4

[CL 22279183 by luciano ferraro in ue5-main branch]
2022-09-30 15:48:56 -04:00
mikko mononen
5825321872 StateTree: Removed evaluator deprecations and TStateTreeInstanceDataPropertyHandle.
#jira UE-156544
#b Mieszko.Zielinski
#preflight 633549033041fbb56646450c

[CL 22260609 by mikko mononen in ue5-main branch]
2022-09-29 20:26:53 -04:00
mikko mononen
f7c48b982d StateTree: Change Task EnterState/ExitState signature
- Removed change type from EnterState/ExitState and moved it to transition result
- Added bShouldStateChangeOnReselect which allows to configure a task to behave more like state
- Updated existing tasks

#jira UE-156544
#rb Mieszko.Zielinski
#preflight 6333f6dca907d7192f5f0ccc

[CL 22221382 by mikko mononen in ue5-main branch]
2022-09-28 09:55:53 -04:00
bryan sefcik
50d4fac9e0 Updated ../Engine/Plugins/... to inline gen.cpp files
Before:
3548 unity files
Total CPU Time: 47343.578125 s
Total time in Parallel executor: 494.60 seconds

After:
3445 unity files
Total CPU Time: 46044.671875 s
Total time in Parallel executor: 468.51 seconds

#jira
#preflight 63336159b20e73a098b7f24f

[CL 22218213 by bryan sefcik in ue5-main branch]
2022-09-28 01:06:15 -04:00
mikko mononen
b24ef66a2f StateTree: Removed internal instance from StateTree execution context.
#rb Mieszko.Zielinski
#preflight 632d72ca1003050806b168c2

[CL 22163646 by mikko mononen in ue5-main branch]
2022-09-23 20:02:42 -04:00
mikko mononen
f40078f221 Gameplay Interaction: Fix missing include in nonunity build
#rb trivial

[CL 22163533 by mikko mononen in ue5-main branch]
2022-09-23 19:59:37 -04:00
mikko mononen
3a34390d43 Gameplay Interactions: Update StateTree schema
- Renamed InteractorActor to ContextActor (using shorter version Actor in ST)
- Allow to define the expected classes for the actors

#rb Mieszko.Zielinski
[FYI] Luciano.Ferraro, Josselin.Francois
#preflight 632d5cce7b582f58ab97f5f0

[CL 22163502 by mikko mononen in ue5-main branch]
2022-09-23 19:58:59 -04:00
mikko mononen
00f7742573 GameplayInteractions: TObjectPtr fix.
#rb trivial

[CL 22084660 by mikko mononen in ue5-main branch]
2022-09-19 19:49:28 -04:00
mikko mononen
0d47d49765 StateTree: Context Objects
- Cleaned up Blueprint nodes from deprecated functions
- Added call guards for BP implemented events on BP nodes
- Renamed Named External Data to Context (Object/Data)
- Added automatic binding for Context objects
- Added UI visualization for Context properties and cleaned up the Input/Ouput visualization
- Added compiler errors for missing Input and Context properties

#jira UE-156544 UE-147509
#rb Stephen.Holmes

[CL 22084585 by mikko mononen in ue5-main branch]
2022-09-19 19:47:11 -04:00
fernando coello
c68751740b Contextual Anim: Fixed bug where functions to get alignment points will not return the points at the right position if the scene pivot is not at the origin and refactored those functions to always returns the points for the secondary role.
[REVIEW] [at]jose.villarroel [at]aaron.cox
#preflight 63223daf506f1a33e0e2e404
#jira none

[CL 22019551 by fernando coello in ue5-main branch]
2022-09-14 18:49:09 -04:00
luciano ferraro
7e771515dd Exposed GameplayInteractionContext.h
[REVIEW] [at]Mikko.Mononen, [at]Yoan.Stamant
[FYI] Loic.Devaux, Josselin.Francois, Nicolas.Bonnelly
#preflight 6317787b2b7fe03eb643473b

[CL 21892824 by luciano ferraro in ue5-main branch]
2022-09-08 09:20:25 -04:00
fernando coello
a8bfa634a9 Contextual Anim: Small optimization around replication. Moved common data from Binding to Bindings and added getter functions.
#review-21819776 @jose.villarroel @aaron.cox
#jira none
#preflight 63179c90f448dc6e583cb07c

[CL 21849819 by fernando coello in ue5-main branch]
2022-09-07 10:05:59 -04:00
Zousar Shaker
b7bac5d97c ObjectPtr macro cleanup pass using search+replace.
#rb none
#preflight 6312aefef448dc6e58dc274e

[CL 21773340 by Zousar Shaker in ue5-main branch]
2022-09-02 21:52:41 -04:00
mikko mononen
0d1ace8323 StateTree: StateTreeComponent improvements
- Added option to start the StateTree automatically on BeginPlay
- StateTreeComponentSchema: allow to specify which actor class to expect the StateTree to run on (allows to bind to Actor specific data directly)
- Fixed FStateTreeReference parameter update on BP instance (the struct gets copied, which cause issues with the delegate handle)

#rb Mieszko.Zielinski
#preflight 630c70bb0345de4ccf7c8b51

[CL 21685020 by mikko mononen in ue5-main branch]
2022-08-29 14:47:43 -04:00
Zousar Shaker
3f4252aa56 ObjectPtr upgrade for engine plugins used from UnrealEditor -allmodules. Automated upgrade process.
#rb none
#preflight 62fe7f270601ad0504910c30

[CL 21447894 by Zousar Shaker in ue5-main branch]
2022-08-18 15:08:49 -04:00
Yoan StAmant
44dc96a815 Fixed StateTree schema meta data filtering by specifying full name
#rb trivial
#preflight skip
#fyi mikko.mononen

[CL 21444184 by Yoan StAmant in ue5-main branch]
2022-08-18 12:36:08 -04:00
Zousar Shaker
da1254fd35 Callsite upgrade pass for TObjectPtr use on plugins used when building UnrealEditor with "-allmodules".
#rb none
#preflight 62daee42ac71f3a225b744f9

[CL 21226921 by Zousar Shaker in ue5-main branch]
2022-07-22 15:06:06 -04:00