Commit Graph

620 Commits

Author SHA1 Message Date
dan oconnor
8eb692c606 Make explicit and validate ublueprint and ubpgc classes, honor the mappings when creating a blueprint from a UClass
#preflight 647551ded36191bd26b82118
#jira UE-187090
#rb Phillip.Kavan

[CL 25720111 by dan oconnor in ue5-main branch]
2023-05-31 23:26:13 -04:00
roland munguia
7dc3bb57a2 State machine entry, exit, fully blended in, and fully blended out anim node functions.
Additional changes:
- Added warnings for users using anim state events since we want to push towards using the state node functions.
- Added support for anim nodes to show any bound functions and not have them hardcoded.
- Added base context type for FAnimExecutionContext.
- Now users can specify the string for the default binding name of a function member reference in a BP by using the "DefaultBindingName" metadata tag. This will give the functionality to avoid having the default binding name be "NewFunction" and instead use the input string from the metadata tag.

#jira UE-184572
#rb Thomas.Sarkanen, jose.villarroel, aaron.cox
#preflight 646e6a836c2a2532b1f91efd

[CL 25631664 by roland munguia in ue5-main branch]
2023-05-25 18:06:26 -04:00
daniel holden
6ccf5e03c5 Added experimental DeadBlending animation graph node.
#jira UE-184569
#rb keith.yerek
#rb danny.champman
#preflight 646e0593f85111e06c8ff205

[CL 25601022 by daniel holden in ue5-main branch]
2023-05-24 09:01:31 -04:00
nick brett
afd1f21d8e [UE] Prevent the creation of multiple copies of pose watch elements by the RBAN AnimGraphNode
- Find and reuse existing Pose Watch Elements in the RBAN node, rather than creating new ones every time the editor is re-opened.

[REVIEW] [at]thomas.sarkanen, [at]lucas.dower
#jira UE-186593
#preflight 646c90ad4130b0ce5096a34f
#rnx

[CL 25583377 by nick brett in ue5-main branch]
2023-05-23 11:14:42 -04:00
daniel holden
63ba9cb8d7 [Backout] - CL25578176
[FYI] daniel.holden
Original CL Desc
-----------------------------------------------------------------
Added experimental DeadBlending animation graph node.

#preflight 646c76414422ba05f47337a2
#rb keith.yerek, danny.chapman
#jira UE-184569

[CL 25579640 by daniel holden in ue5-main branch]
2023-05-23 07:48:35 -04:00
daniel holden
e4e1a07f7d Added experimental DeadBlending animation graph node.
#preflight 646c76414422ba05f47337a2
#rb keith.yerek, danny.chapman
#jira UE-184569

[CL 25579599 by daniel holden in ue5-main branch]
2023-05-23 07:47:40 -04:00
lucas dower
31d0124334 Added missing tooltips for animation state machine schemas
#jira UE-186241
#rb jurre.debaare, jaime.cifuentes
#preflight 646c7ddb2c0a5da0dc594dfd

[CL 25577526 by lucas dower in ue5-main branch]
2023-05-23 05:01:32 -04:00
roland munguia
215a63cdc8 Disabled option to duplicate a state from the tree view.
This option is being disabled for now since it has never worked properly and it causes a engine crash.

#jira UE-185146
#preflight 6465161f2d446eac96e858f2

[CL 25512536 by roland munguia in ue5-main branch]
2023-05-17 14:09:37 -04:00
kirill zorin
de8db5ff76 Converting ARO-facing raw pointers to TObjectPtr ahead of raw pointer ARO API deprecation.
#rb zousar.shaker
#rb markus.breyer
#rb robert.manuszewski

#preflight 646391406b1406b54ab15460

[CL 25489627 by kirill zorin in ue5-main branch]
2023-05-16 10:52:49 -04:00
aaron cox
39bd0389c9 Fix loctext in legik node
[CL 25367087 by aaron cox in ue5-main branch]
2023-05-07 11:08:16 -04:00
aaron cox
4c630fd4e5 Output warnings when the LegIK node is missing definitions or contains references to invalid bones.
[REVIEW] [at]Jose.Villarroel
#jira UE-184701
#preflight 6453f383023fe5d3ad3b0560

[CL 25363353 by aaron cox in ue5-main branch]
2023-05-05 21:38:18 -04:00
lucas dower
5ab02abbc4 [UEFN] Disable pose watches on animation blueprints
#rb benjamin.jillich
#preflight 6454e694fd4b8f4e0dda2d1e

[CL 25353868 by lucas dower in ue5-main branch]
2023-05-05 09:48:44 -04:00
kirill zorin
a469aafd78 Update callsites to prepare for upcoming TArray/TArrayView<TObjectPtr<...>> restrictions
#rb zousar.shaker
#rb devin.doucette
#rb steve.robb
#rb robert.manuszewski
#rb saam.barati
#preflight 643f4c09a35280ed4f53ccb3

[CL 25100071 by kirill zorin in ue5-main branch]
2023-04-18 22:39:29 -04:00
David Corral
70e2623a31 [PoseDriver]
- Removed bOnlyDriveSelectedBones bool. Now checks if OnlyDriveBones list has items.
- Fixed issue with OnlyDriveBones with None entry.
- Fixed indentations and improved comments.
#preflight 642b43731d19c0312a6d301c

[CL 24901507 by David Corral in ue5-main branch]
2023-04-03 17:36:03 -04:00
David Corral
b558372a9a [PoseDriver] PoseAsset is not required anymore when using DriveCurves
#jira UE-108620
#preflight 64236aa0710ec8400f014466

[CL 24829326 by David Corral in ue5-main branch]
2023-03-28 18:49:41 -04:00
devin doucette
d1ee746ed3 StringBuilder: Added UE_LIFETIMEBOUND to catch some cases where pointers are kept into temporary string builders
#preflight 640a4ec928026468d9ec837e
#rb Steve.Robb

[CL 24594576 by devin doucette in ue5-main branch]
2023-03-10 13:06:34 -05:00
thomas sarkanen
1f669663eb Fix stack corruption caused by calling an anim node function with an altered signature
Adds compiler checks to alert content creators to fix their content
Adds runtime parameter size checks to ensure we dont call functions with an incorrect sized set of parameters

#rb Nicholas.Frechette
#preflight 640200923206d45d2018d411

[CL 24499844 by thomas sarkanen in ue5-main branch]
2023-03-03 11:26:14 -05:00
Thomas Sarkanen
c4f3774fe9 Fixup conflicting duplicate LOCTEXT keys
#jira none
#rb Jurre.deBaare
#preflight 6400708ef43e53f681a15387

[CL 24478472 by Thomas Sarkanen in ue5-main branch]
2023-03-02 05:02:12 -05:00
Thomas Sarkanen
502797ca50 Animation Curve Runtime & Editor Improvements
Runtime notes:
- Removes 'smart name' usage across the animation systems.
- Changed curve blending from a uniform array (sized per skeleton) to a sparse array of sorted named values. Blends and other combiners are performed using a dual iteration 'tape merge'.
- Skeleton curves are no longer guaranteed to cover all curve names that can be found at runtime.

Editor notes:
- Curve metadata (flags, bone links etc.) is still present on the skeleton, but can also now exist on a skeletal mesh
- Curve metadata (for morph targets) is still populated on import
- Curves can now be used arbitrarily at runtime

New features:
- New Find/Replace dialog that allows for batch-replacing curves and notifies across all of a project's assets
- New curve debugger tab in various Persona editors that allows for viewing curve values live. This also now allows viewing curves for specific pose watches.
- Pose watches now output curve tracks to the Rewind Debugger

#rb Jurre.deBaare,Nicholas.Frechette,Sara.Schvartzman,Helge.Mathee,Kiaran.Ritchie,Jaime.Cifuentes,Martin.Wilson,Keith.Yerex,Andrean.Franc (and more!)
#jira UE-167776
#jira UE-173716
#jira UE-110407
#preflight 63fc98c81206d91a2bc3ab90
#preflight 63f3ad4f81646f1f24c240c2

[CL 24421496 by Thomas Sarkanen in ue5-main branch]
2023-02-27 07:20:58 -05:00
thomas sarkanen
0fec6da89d Fix crash right-clicking a modify curve node in a template animation blueprint
Lack of modify curve node's utility in template anim BPs will only be fixed with the 5.3 curve refactor

#jira UE-174296
#rb Jurre.deBaare
#preflight 63e3b171b923ed4bdd3e5508

[CL 24075495 by thomas sarkanen in ue5-main branch]
2023-02-08 12:34:17 -05:00
euan carmichael
ce463c014f AimOffsetLookAt and RotationOffset blendspaces now correctly validate for dynamic properties
#UE-174019
#rb Thomas.Sarkanen
#preflight 63c5a08cb065224750bed8b9

[CL 23731746 by euan carmichael in ue5-main branch]
2023-01-16 14:25:46 -05:00
Thomas Sarkanen
598af39d50 Additional fixup for UE-168246 to ensure that function GUID gets set up correctly in all circumstances
#jira UE-168246
#rb Jurre.deBaare
#preflight 63c551ba2a6acaf1623bff5c

[CL 23728781 by Thomas Sarkanen in ue5-main branch]
2023-01-16 08:46:32 -05:00
Jurre deBaare
56c5745d9c //UE5/Main - UE.EditorAutomation(RunTest=Editor) Mac - Several tests exited prematurely due to critical failure
#jira UE-173253
#fix Added new override point OnResetSkeleton, which allows UAnimSequence to wait for any in-flight compression tasks to finish before swapping out the skeleton
#rb Thomas.Sarkanen
#preflight 63b85298e26e31879b0d500f

[CL 23599655 by Jurre deBaare in ue5-main branch]
2023-01-06 12:32:14 -05:00
jaime cifuentes
a20a6e0027 Added validation and visual error functionality to AnimNode_SkeletalControlBase, which can be used to check referenced bones and show errors on the AnimGraph nodes that use them (so it is clear if the setup does not work due to a bone missing)
#rb thomas.sarkanen
#jira UE-160111
#preflight 63b85453c927e34482895de4

[CL 23599353 by jaime cifuentes in ue5-main branch]
2023-01-06 12:16:12 -05:00
Jurre deBaare
3604354e05 [Backout] - CL23596938
Original CL Desc
-----------------------------------------------------------------
//UE5/Main - UE.EditorAutomation(RunTest=Editor) Mac - Several tests exited prematurely due to critical failure
#jira UE-173253
#fix Added new override point OnResetSkeleton, which allows UAnimSequence to wait for any in-flight compression tasks to finish before swapping out the skeleton
#rb Thomas.Sarkanen
#preflight 63b80ff9577437afe6c5d290

[CL 23597241 by Jurre deBaare in ue5-main branch]
2023-01-06 09:23:48 -05:00