Commit Graph

264 Commits

Author SHA1 Message Date
euan carmichael
5c469050f2 Fix for aim offset anim node to account for socket offset when calculating pivot location
#rb Nicholas.Frechette

[CL 36758670 by euan carmichael in 5.5 branch]
2024-10-01 19:41:16 -04:00
henrik karlsson
8cec69af73 Fixed linker errors on some console platform when building modular builds. Fixes involves moving ctor/dtor and friends from header to cpp and dll import/export
[CL 35712433 by henrik karlsson in ue5-main branch]
2024-08-21 14:16:50 -04:00
daniel holden
326cd97e28 Added support for blend mode in Montage Inertialization when used in conjunction with DeadBlending node.
#jira UE-210686
#rb Thomas.Sarkanen

[CL 34158943 by daniel holden in ue5-main branch]
2024-06-06 11:35:39 -04:00
daniel holden
35a7aecd09 [Backout] - CL34156365
[FYI] daniel.holden
Original CL Desc
-----------------------------------------------------------------
Added support for blend mode in Montage Inertialization when used in conjunction with DeadBlending node.

#jira UE-210686
#rb Thomas.Sarkanen

[CL 34156643 by daniel holden in ue5-main branch]
2024-06-06 10:26:29 -04:00
daniel holden
f26b5ca675 Added support for blend mode in Montage Inertialization when used in conjunction with DeadBlending node.
#jira UE-210686
#rb Thomas.Sarkanen

[CL 34156375 by daniel holden in ue5-main branch]
2024-06-06 10:14:59 -04:00
euan carmichael
507758a976 ModifyCurve anim node now generates debug data
[CL 33498045 by euan carmichael in ue5-main branch]
2024-05-07 17:56:48 -04:00
roland munguia
b533aa1c1a Fixed mirror node, motion matching node, and blendstack node not supporting sync groups with inertial blends
#jira UE-194436, UE-194437
#rnx minor
#rb samuele.rigamonti

[CL 31528588 by roland munguia in ue5-main branch]
2024-02-15 14:15:48 -05:00
roland munguia
83e9287f56 Added support for blend spaces with sync markers for motion matching
New:
- Added ResetBlendSamples() method to UBlendspace. Works with marker based syncing and length based syncing

Fixes:
- Fixed advancing backwards instead of forwards when DeltaTime is zero and using sync markers
- Fixed MarkerTickRecords not being reset when setting accumulated time or start time of an asset player
- Fixed sequences and blendspaces not handling their makers becoming invalid when deltatime is zero.

#rnx minor
#jira UE-206722
#rb samuele.rigamonti, Thomas.Sarkanen

[CL 31442880 by roland munguia in ue5-main branch]
2024-02-13 15:17:32 -05:00
thomas sarkanen
3a2d1892b3 Fix crash showing debug information for a blend space evaluator with no blendspace
#rb jaime.cifuentes

[CL 30963660 by thomas sarkanen in ue5-main branch]
2024-01-29 04:16:15 -05:00
steve robb
f029468598 Fixed up a lot of bool-taking container resize functions to take EAllowShrinking instead.
[CL 30729174 by steve robb in ue5-main branch]
2024-01-19 16:41:35 -05:00
thomas sarkanen
1f636dad87 Fix crashes when "call function" nodes are root-wards from a layered blend per bone node
CacheBones pass was not being forwarded correctly

#jira UE-199436
#rb jaime.cifuentes

[CL 30500895 by thomas sarkanen in ue5-main branch]
2024-01-09 06:00:47 -05:00
thomas sarkanen
1da43bfd3d Fix "weighted moving average" mode in modify curve node
The curve refactor missed this particular case - the weighted moving average mode is supposed to ignore the input values themselves and treat them like a mask on the incoming curves.

#jira UE-197180
#rb jaime.cifuentes

[CL 30500453 by thomas sarkanen in ue5-main branch]
2024-01-09 05:40:20 -05:00
euan carmichael
9bb02ce1b1 Fix bug with CurveSource node where it would affect curves not present in the curve source asset
#jira UE-201417
#rb Thomas.Sarkanen

[CL 30161738 by euan carmichael in ue5-main branch]
2023-12-06 13:43:11 -05:00
zenoengine
cc74a7cb05 PR #9749: Fix in randomplayer wrong swap code when min,max playrate need swap.
#ushell-cherrypick of 22988047 by UnrealBot
#jira UE-169258
#rb Thomas.Sarkanen

[CL 29838783 by zenoengine in ue5-main branch]
2023-11-20 06:28:04 -05:00
jason hoerner
61ec1be384 Animation Memory: 17.7 MB savings in array slack.
* 14.3 MB:  Reserve space in CurvePoseSourceIndices members in AnimNode_BoneMask and AnimNode_LayeredBoneBlend based on the exact amount used.  Many nodes don't use this feature, so the array ends up empty, but in other cases, less than 5% of the reserve is used.
* 3.4 MB:  Eliminate Reserve for QueuedTransitionEvents member in AnimNode_StateMachine.  Reserve is wasteful because it's deleted anyway by a Shrink call in FAnimNode_StateMachine::Update_AnyThread for active state machines, and only ends up sticking around for inactive state machines, where it's irrelevant, so it doesn't affect performance to take this out.

#rnx
#rb thomas.sarkanen jose.villarroel

[CL 29601012 by jason hoerner in ue5-main branch]
2023-11-09 12:34:49 -05:00
john vanderburg
a18729897b Crash fix in the layered bone blend node, basically undoing previous optimizations.
#trivial
#rb thomas.sarkanen
#swarm none

[CL 29041783 by john vanderburg in ue5-main branch]
2023-10-24 06:20:27 -04:00
jose villarroel
8804fb854e Allow updating both children of the Two Way Blend even when not relevant
[REVIEW] [at]Thomas.Sarkanen, [at]Samuele.Rigamonti

[CL 28881682 by jose villarroel in ue5-main branch]
2023-10-18 12:59:14 -04:00
thomas sarkanen
a5b5993cd8 Fix blend list optimization to correctly check weight of single active pose
#rb timothy.daoust

[CL 28707477 by thomas sarkanen in ue5-main branch]
2023-10-12 08:56:32 -04:00
thomas sarkanen
0bdfe150f6 Optimize common case of single full-weight entry in a blend list
Prior to this change, a single entry would needlessly multiply a pose with weight 1

#rb Jurre.deBaare,Timothy.Daoust

[CL 28662081 by thomas sarkanen in ue5-main branch]
2023-10-11 09:42:44 -04:00
roland munguia
8b941e9232 Fixed UBlendSpaces not syncing when using inertialization. Added support for properly syncing UBlendSpaces when using "Transition Leader" and "Transition Follower" sync group roles.
[RN] minor
#rb Aaron.Cox, Jose.Villarroel, Thomas.Sarkanen
[FYI] Steven.Dickinson

[CL 28545193 by roland munguia in ue5-main branch]
2023-10-06 12:41:45 -04:00
thomas sarkanen
38c05e8619 Anim graph optimizations
Implemented ISPC versions of missing layered blend per bone hot paths.
Tweaked inlining and added ptr RESTRICT to various curve operations
Removed array copy in control rig node curve outputs
Increased inline alloc size of cached poses to reduce allocations
Removed refpose copies and allocations with linked anim graphs (these can be skipped now the bone containers are all centralized)

#rb Nicholas.Frechette,Jurre.deBaare
#tests Juno, NoMcp

[CL 28371404 by thomas sarkanen in ue5-main branch]
2023-10-02 05:23:05 -04:00
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