Commit Graph

243 Commits

Author SHA1 Message Date
john vanderburg
a23adf2e54 [SkeletonCompatibility] Added support for skeleton compatibility in combination with blend profiles / masks.
#jira UE-157944
#rb Thomas.Sarkanen
[FYI] Aaron.Cox

[CL 28220333 by john vanderburg in ue5-main branch]
2023-09-26 06:06:52 -04:00
keith yerex
cd47f305eb Improvements to anim node property tracing and display in the animation blueprint editor:
- Trace selected animation for ChooserPlayer node.
- Make debug bubbles in rewind debugger show all traced node properties, except Name.
- Make sequence player nodes display the current sequence in the debug bubble.
- Trace assets, such as Sequence or BlendSpace with the Key: Asset, and enable display of the Asset column in the AnimGraph rewind debugger details.
#rb Samuele.Rigamonti

[CL 28214450 by keith yerex in ue5-main branch]
2023-09-25 21:35:24 -04:00
jurre debaare
08585f35af Need the ability to give a sequence evaluator a frame instead of time.
#feature sequence evaluator node now exposes ExplicitFrame option, which internally combined with the set AnimSequence is used to generate a time-value (on which the behaviour is based)
#rb Thomas.Sarkanen

[CL 27627946 by jurre debaare in ue5-main branch]
2023-09-06 04:14:59 -04:00
roland munguia
274af74e34 Fixed inertialization not working properly with sync groups when using BlendList.
[RN] minor
#rb Aaron.Cox, Jose.Villarroel

[CL 27543092 by roland munguia in ue5-main branch]
2023-08-31 18:56:44 -04:00
frederick lupien
9ca054d8a2 Add PostEvaluateSourcePose interface to FAnimNode_Slot to be able to override some of the curves in derived nodes
#reivew-27523875 [at]Jose.Villarroel
[FYI] Paul.McLaurin

[CL 27531431 by frederick lupien in ue5-main branch]
2023-08-31 14:32:11 -04:00
danny chapman
756d23a531 Fixes application of smoothing in the lookat aim offset blendspace
#jira UE-189184
#rb aaron.cox, jurre.debaare

[CL 26892679 by danny chapman in ue5-main branch]
2023-08-07 14:16:00 -04:00
jose villarroel
6dc26fd3fb Added "Update If Active" flag to property access, to allow freezing specific properties during blend out.
[REVIEW] [at]Thomas.Sarkanen

[CL 26478895 by jose villarroel in ue5-main branch]
2023-07-19 21:32:37 -04:00
frederick lupien
43ce4fa211 Add animstats.h headers to node that use verbose profiling
[REVIEW] [at]thomas.sarkanen
[FYI] Paul.McLaurin, Jose.Villarroel

[CL 26146900 by frederick lupien in ue5-main branch]
2023-06-21 09:46:47 -04:00
daniel holden
09a76f64c4 RewindDebugger: Added ability to click on AnimNodes in the rewind debugger and get shown them in the Animation Blueprint. Made inertialization record the node and AnimInstance that made the inertialization request and made these clickable in rewind debugger. Made it so that the inertialization track will not show unless you have inertialization nodes used in your graph. Some small refactoring of the rewind debugger display of AnimNodeValues to reduce the code duplication a bit.
#rb keith.yerek

[CL 26099764 by daniel holden in ue5-main branch]
2023-06-19 15:03:03 -04:00
roland munguia
93720bd718 Fixes for automatic transitions rules and added the feature to manually set their trigger time.
- Added support for explicitly specifying the transitions trigger time when using state machine automatic transition rules.
- Fixed state machine automatic transitions rules not triggering from a looping animation.
- Fixed state machine automatic transitions rules that have their next state as a conduit state triggering before reaching the end of the animation.
- Consolidate all the ways to check if asset in asset player is looping into a single api call, IsLooping().
- Added getter for a AssetPlayer's DeltaTimeRecord.
- Added warning when a asset player is using looping animations with automatic rule based transitions.

#jira UE-171299, UE-180844, UE-185174

[CL 25877647 by roland munguia in ue5-main branch]
2023-06-08 14:19:19 -04:00
frederick lupien
4b5b01668c Add a define to enable verbose animation node profiling tags. Disabled by default. See ANIMNODE_STATS_VERBOSE in AnimStats.h
[REVIEW] [at]thomas.sarkanen

[CL 25815262 by frederick lupien in ue5-main branch]
2023-06-06 10:07:01 -04:00
daniel holden
c0320979ff Added inertialization track to rewind debugger. Made it so that inertialization requests track the origin of the request for debugging purposes.
#rb keith.yerek
#jira UE-185306

[CL 25794669 by daniel holden in ue5-main branch]
2023-06-05 12:21:53 -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
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
jose villarroel
3cb566d700 Fix for build error in AnimNode_RotateRootBone
#jira UE-186619
#rb trivial
#preflight skip

#ushell-cherrypick of 25567535 by jose.villarroel

[CL 25567676 by jose villarroel in ue5-main branch]
2023-05-22 14:10:59 -04:00
jose villarroel
07ea17b98f Rotate root bone can opt-in to rotate the root motion custom attribute
[REVIEW] [at]Aaron.Cox, [at]Fernando.Coello, [at]Thomas.Sarkanen
#preflight 6467b3770577c206c7bc6557

[CL 25553334 by jose villarroel in ue5-main branch]
2023-05-19 17:51:59 -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
dac5a5fa27 [PoseDriver]
- Added EditConditions for OnlyDriveBones, bOnlyDriveSelectedBones and Median properties.
- Rearranged Properties

#jira UE-181415, UE-181411
#preflight 64231547051bec41cda13799

[CL 24821515 by David Corral in ue5-main branch]
2023-03-28 12:49:06 -04:00
frederick lupien
cd5ba4641b Add anim node library function for blend list base
Add an anim node function to reset blend lists


[REVIEW] [at]Thomas.Sarkanen
[FYI] Paul.McLaurin

[CL 24577496 by frederick lupien in ue5-main branch]
2023-03-09 12:02:01 -05:00
Thomas Sarkanen
0d0a030aa5 Curve refactor fixes: Pose Assets, Pose Driver and more
Addresses curves all being set to NAME_None for pose assets saved between CLs 3002109 and 3026802.
Fixes curve extraction in pose assets.
Fixes pose driver not setting curves unless they already exist.
Fixes instances where TBaseBlendedCurve::Set was being used incorrectly - this now inserts the element if it wasnt present before, potentially causing a re-sort but at least not behaving un unexpected ways compared to the old use case.

#jira UE-179096
#preflight 640615ad0c7df1967f08e090
#rb Jurre.deBaare
#preflight 640723e28c0039bbf79e25f3

[CL 24538171 by Thomas Sarkanen in ue5-main branch]
2023-03-07 06:58:13 -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
jurre debaare
620b5d6fb1 Fixed bone index handling in UE::Anim::Attributes::MirrorAttributes
#misc handle deprecation path
#ushell-cherrypick of 23897026 by David.Bollo
#jira UE-175745
#preflight 63dbb97eba4fadeef04e9df2
#rb thomas.sarkanen

[CL 24053916 by jurre debaare in ue5-main branch]
2023-02-07 13:42:31 -05:00
halfdan ingvarsson
5a824b0c77 Pose Driver: Fix a crash when trying to dereference with an invalid bone id.
#jira UE-175830
#rb kiaran.ritchie
#preflight https://horde.devtools.epicgames.com/job/63dae2794965eb8c33d0e575

[CL 23984132 by halfdan ingvarsson in ue5-main branch]
2023-02-02 18:45:11 -05:00
lucas dower
754b4db91d Disabled 'resync to sync group' for sequence and blend space evaluators as they generally want to be driven with explicit time
#jira UE-170739
#rb thomas.sarkanen
#preflight 63beab6c68068a8bd6a85251

[CL 23644177 by lucas dower in ue5-main branch]
2023-01-11 07:43:54 -05:00