Commit Graph

536 Commits

Author SHA1 Message Date
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
danny chapman
0e5c4849f3 Build fix - make some functions inline so they can be used elsewhere
#rb trivial
#preflight 647a01e3e75a2263919b0dc5

[CL 25764895 by danny chapman in ue5-main branch]
2023-06-02 12:32:07 -04:00
jose villarroel
bfd65f960c Added twist offset to LegIK node.
This allows animators inject knee motion either manually or with procedural controls within the graph.
[REVIEW] [at]Aaron.Cox, [at]Thomas.Sarkanen
#preflight 6474508d8137a37b85494382

[CL 25683102 by jose villarroel in ue5-main branch]
2023-05-30 14:35:39 -04:00
kirill zorin
b6ee3a6c64 Fix UE_LOG callsites that have format string-related UB
#rb trivial
#preflight 647107780a6634dbb236a0a6

[CL 25651638 by kirill zorin in ue5-main branch]
2023-05-26 15:52:39 -04:00
roland munguia
9bd181ad63 Added a deprecation warning for AnimNode_StateResult.h located in AnimGraphRuntime module since the file got moved to Engine/Animation in CL 25613502.
#jira UE-184572
#preflight 646f9474407983b9980af164

[CL 25645220 by roland munguia in ue5-main branch]
2023-05-26 12:17:49 -04:00
dan oconnor
0a97a12d8b Mark FSimSpaceSettings as POD, it has a constructor but can be copied with memcpy, this will result in STRUCT_IsPlainOldData being set, which will speed up working with UserDefinedStructs that aggregate this structure. This structure has been embedded heavily in some UserDefinedStruct (ex. RBANParamsStruct). Drawback to this change is that if we add NON-Pod data to this structure we will memcpy it.
#rb chris.caulfield
#jira
#rnx

[CL 25644740 by dan oconnor in ue5-main branch]
2023-05-26 12:11:11 -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
chris caulfield
dd1b9b3b14 RBAN - temp workaround and logging for OOB access of BodyAnimData
#rb benn.gallagher

[CL 25592108 by chris caulfield in ue5-main branch]
2023-05-23 18:11:16 -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
Steve Robb
cdf61a7e2b Removed operator new (TArray) usage from headers.
#rb james.hopkin
#jira none
#preflight 6454fcdc4574b81df4e18dc5

[CL 25353357 by Steve Robb in ue5-main branch]
2023-05-05 09:13:53 -04:00
benjamin jillich
50ff8d4637 Small typo fixes
#preflight 64413668b91c13075807ce9d

[CL 25125893 by benjamin jillich in ue5-main branch]
2023-04-20 09:13:09 -04:00
sergio gardeazabal
d907da5d37 [Chaos VD] Implemented Recording using Trace
- Created a set of macros to trace data about Solver Frames, Solver Steps, and Solver Particles on Rigid Solvers and RBAN solvers
- Added a way to have the context between CVDTrace calls to know which solver started the call on a determined solver step or particle without having to copy that information to every object

#rb benn.gallagher
#jira UE-181330
#preflight 643d9d4c0a5a4b944e348487

[CL 25077633 by sergio gardeazabal in ue5-main branch]
2023-04-17 18:20:36 -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
justin hare
4f2df46e79 Allow PlayMontageCallbackProxy to be derived from, to support plugins that want to provide customized versions of playing montages without duplicating existing code
#jira UE-177863
#rb roland.munguia aaron.cox
#preflight 6414aa183f3d31c94a9d5aa7

[CL 24754967 by justin hare in ue5-main branch]
2023-03-22 17:41:18 -04:00
frederick lupien
2fb8af746d Remove empty display name from UBlendListBaseLibrary
#rnx

[CL 24593066 by frederick lupien in ue5-main branch]
2023-03-10 11:59:53 -05: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
Max Chen
3b95ddaf05 Sequencer: Remove deprecated at 5.0 and below from movie scene and level sequence
#preflight 6407e62cc13b7130d2811d09
#jira none
#rb matt.hoffman
#rnx

[CL 24567160 by Max Chen in ue5-main branch]
2023-03-08 16:33:59 -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