Commit Graph

306 Commits

Author SHA1 Message Date
jose villarroel
e403498be3 Fix for crash when removing blend pose from Layered Blend Per Bone
#review-21435073 @Aaron.Cox, @Fernando.Coello
#rnx
#jira none
#preflight 62fd76a61e39eb26a0a12b86

[CL 21457298 by jose villarroel in ue5-main branch]
2022-08-19 10:39:52 -04:00
Bryan sefcik
b4a6e947d8 Ran IWYU on Public headers under Engine/Source/Runtime/...
Headers are updated to contain any missing #includes needed to compile and #includes are sorted.  Nothing is removed.

#ushell-cherrypick of 21065896 by bryan.sefcik
#preflight 62d4b1a5a6141b6adfb0c892
#jira

#ROBOMERGE-OWNER: Bryan.sefcik
#ROBOMERGE-AUTHOR: bryan.sefcik
#ROBOMERGE-SOURCE: CL 21150156 via CL 21151754 via CL 21154719
#ROBOMERGE-BOT: UE5 (Release-Engine-Staging -> Main) (v972-20964824)
#ROBOMERGE-CONFLICT from-shelf

[CL 21181076 by Bryan sefcik in ue5-main branch]
2022-07-20 11:31:36 -04:00
Marc Audy
5b28f37a7c Follow up to CL# 21088391
Remove properties and functions so that redirectors can do their job
Add redirector for function paramter
#preflight
#codereview jaime.cifuentes, thomas.sarkanen, john.vanderburg

[CL 21140261 by Marc Audy in ue5-main branch]
2022-07-17 12:55:54 -04:00
jaime cifuentes
2c16e8a3b3 Uninitialized vars fix
#jira UE-159400
#review @thomas.sarkanen
#preflight 62d03b8cdc4397d384059f9f

[CL 21091809 by jaime cifuentes in ue5-main branch]
2022-07-14 12:05:04 -04:00
jaime cifuentes
7fabb99aaf Inclusive Terminology Push - Part of UE-158645, UE-158525, UE-158532
Renamed / deprecated master/slave terms at SkinnedMeshComponent and SkeletalMeshComponent (plus all the users)

#jira UE-158645, UE-158525, UE-158532
#review @thomas.sarkanen @john.vanderburg
#preflight 62ced88af324cee189e48d43
#tests Verified the properties transfer correctly after modifying them without the fix and loading the character with the component with the fix applied
#preflight 62cfc490c36afd11ef07c9ab

[CL 21088391 by jaime cifuentes in ue5-main branch]
2022-07-14 03:55:26 -04:00
jaime cifuentes
86c8b3ddab AnimNode_Rigidbody MasterAlpha rename. Part of UE-158645
Adding the old property as deprecated, so the c++ continues compiling for external users of the engine

#jira UE-158645
#review @thomas.sarkanen
#fyi @benn.gallagher
#preflight 62cd75d33f422700272a0e11

[CL 21055821 by jaime cifuentes in ue5-main branch]
2022-07-12 10:03:15 -04:00
jaime cifuentes
7f89f01ffa AnimNode_Rigidbody MasterAlpha rename. Part of UE-158645
#jira UE-158645
#review @thomas.sarkanen @benn.gallagher
#preflight 62cc4bcabc36fc75cc5d6d72

[CL 21054114 by jaime cifuentes in ue5-main branch]
2022-07-12 05:30:52 -04:00
dorgonman
fb81035f0d GitHub #8712 : [AnimNotify] Implement GetNotifyName for PlayMontageNotify
#review @thomas.sarkanen, @jose.villarroel
#jira UE-137332
#preflight 62b34ae8d97fa3f39fa938d5

[CL 20828202 by dorgonman in ue5-main branch]
2022-06-27 03:27:27 -04:00
thomas sarkanen
aa58e3e999 Updated categories of animation nodes & functions
Reorganized and consolidated for easier navigation

#rb Jurre.deBaare,Lucas.Dower
#jira UE-156715
#preflight 62a9ac0f13004691f97cd9da

#ROBOMERGE-OWNER: thomas.sarkanen
#ROBOMERGE-AUTHOR: thomas.sarkanen
#ROBOMERGE-SOURCE: CL 20667777 via CL 20668358 via CL 20668456 via CL 20668474
#ROBOMERGE-BOT: UE5 (Release-Engine-Staging -> Main) (v955-20579017)

[CL 20669758 by thomas sarkanen in ue5-main branch]
2022-06-15 10:37:36 -04:00
jose villarroel
d81534ce45 Added looping flag to anim sequences and blend spaces. This is used to set the default loop value when creating asset player nodes
#review-20570757 @Aaron.Cox, @Braeden.Shosa, @Thomas.Sarkanen
#jira none
#preflight 62a246ceb17fd2cd5a9ed6da

[CL 20583427 by jose villarroel in ue5-main branch]
2022-06-09 15:43:57 -04:00
thomas sarkanen
58c99c971c Fixed various issues with the revised re-instancing code path for anim BPs
Fixed RBAN not re-initialzing correctly on re-instancing - added a special case to reinit the simulation.
Made reinstancing handler virtual so users can add their own fallbacks in the future.
Fixed dynamic AnimGraphLayers not (un)linking correctly after live-recompile, as it was trying to link against the old (replaced) animation instance

#rb Jurre.deBaare
#preflight 628cf1dec97e4beea3a2f541

#ROBOMERGE-AUTHOR: thomas.sarkanen
#ROBOMERGE-SOURCE: CL 20349883 via CL 20349893 via CL 20349912
#ROBOMERGE-BOT: UE5 (Release-Engine-Staging -> Main) (v948-20297126)

[CL 20352477 by thomas sarkanen in ue5-main branch]
2022-05-24 14:26:39 -04:00
frederick lupien
cde944102b Add GetRelevantAnimTimeRemaining & GetRelevantAnimTimeRemainingFraction to FAnimNode_StateMachine API
Add GetRelevantAnimTimeRemaining & GetRelevantAnimTimeRemainingFraction to AnimationStateMachineLibrary

[REVIEW] [at]Thomas.Sarkanen, [at]Aaron.Cox

#ROBOMERGE-OWNER: frederick.lupien
#ROBOMERGE-AUTHOR: frederick.lupien
#ROBOMERGE-SOURCE: CL 20278729 via CL 20278746 via CL 20278801 via CL 20278827
#ROBOMERGE-BOT: UE5 (Release-Engine-Staging -> Main) (v943-19904690)

[CL 20279575 by frederick lupien in ue5-main branch]
2022-05-19 09:57:01 -04:00
Max Chen
e26088ad53 Sequencer: Swap Root Bone with Component Root, Actor Root to put the root motion on the skeletal mesh component or the actor's root component.
#jira UE-113072
#preflight 626f2adf42539d7264367825
#rb mike.zyracki

[CL 20010505 by Max Chen in ue5-main branch]
2022-05-02 12:35:36 -04:00
Max Chen
92505924c4 Anim: Remove stray PRAGMA_DISABLE_OPTIMIZATION
#preflight 626ef2dd332a0b0e0b0a026d
#rb none
#jira none

[CL 20010484 by Max Chen in ue5-main branch]
2022-05-02 12:34:58 -04:00
braeden shosa
a08224d20c PoseSearch: Don't reset asset time when switching blend spaces in motion matching
#preflight 62685d9d2f53f9169a867b0a
#rb daniel.holden

[CL 19929211 by braeden shosa in ue5-main branch]
2022-04-26 17:22:41 -04:00
Max Chen
513caaf507 Sequencer: Added a new option, "Swap Root Bone With Component Root", to put the root motion on the skeletal mesh component.
When this option is enabled, the root bone is evaluated as usual, cached and then set to 0. The cached root bone transform is then set on the skeletal mesh component in FAnimSequencerInstanceProxy::PostEvaluate. If there is an existing transform track on the skeletal mesh component, however, the cached root bone transform is applied additively to that. Without this, the skeletal mesh wouldn't be able to be globally transformed by Sequencer.

Deprecated UpdateAnimTrackWithRootMotion so that it now takes FAnimSequencerData instead of each individual parameter separately.

#jira UE-113072
#preflight 6261a7a67d162829ae87670e
#rb mike.zyracki

[CL 19872424 by Max Chen in ue5-main branch]
2022-04-22 16:32:06 -04:00
nick brett
63417968d2 [UE][FEATURE] RBAN Access to cloth colliders
- Rigid Body Animation Nodes can now add kinematic objects at runtime to represent any Cloth Colliders defined in a parent skeleton. This can be used to improve the behavior of  RBAN alternatives to cloth simulation (often used at lower LODs).
- There is a new Checkbox (called Use External Cloth Collision) on the RBAN node preferences panel to enable this feature .

[REVIEW] [at]Chris.Caulfield, [at]Kriss.Gossart
[FYI] [at]Charles.Anderson
#preflight 62419a0e4271438b073c931a

#ROBOMERGE-AUTHOR: nick.brett
#ROBOMERGE-SOURCE: CL 19525550 via CL 19525561 via CL 19525566
#ROBOMERGE-BOT: UE5 (Release-Engine-Staging -> Main) (v937-19513599)

[CL 19532620 by nick brett in ue5-main branch]
2022-03-28 16:24:16 -04:00
evgenii babinets
45d1b35de8 Added a flag on RigidBody AnimNode to allow it to use synchronous physics simulation. Renamed the CVar to reflect that it's the project default, not an override.
#rb andrew.ladenberger
[FYI] randall.hess, dae.han, harry.boltz

#ROBOMERGE-AUTHOR: evgenii.babinets
#ROBOMERGE-SOURCE: CL 19482937 via CL 19484049 via CL 19486673 via CL 19496583 via CL 19497072
#ROBOMERGE-BOT: UE5 (Release-Engine-Staging -> Main) (v936-19480137)

[CL 19498475 by evgenii babinets in ue5-main branch]
2022-03-24 13:29:40 -04:00
daniel holden
20bcdbfe5f Added WithPureVirtual trait to FAnimNode_BlendSpacePlayerBase to fix compilation errors on NoPCH build configuration.
#rb thomas.sarkanen
#jira UE-146643
#preflight 6238c88b7b69b01ec1426452

[CL 19456288 by daniel holden in ue5-main branch]
2022-03-21 15:09:22 -04:00
daniel holden
e7a99d3aaf Blend space support for Motion Matching
#rb braeden.shosa, thomas.sarkanen, timothy.daoust, aaron.cox
#jira UE-133724
#preflight 62348d933f685c2b421e9c39

[CL 19435264 by daniel holden in ue5-main branch]
2022-03-18 10:45:08 -04:00
nick brett
7e1eab27e2 [UE][Feature] RBAN Better Debug Draw - 2nd attempt
- Added Debug Visualization of physics bodies and constraints for RBAN nodes in AnimBP editor
- Added checkboxes to filter debug Visualization to Phat skeleton tree
- Created a new PhysicsAssetRenderSettings class that incorporates the debug rendering and filtering settings from Phat
- Created a new PhysicsAssetRenderUtilities namespace that incorporates the debug rendering and filtering code from Phat
- Synchronize debug visualization of physics bodies and constraints between Phat and AnimBP editors

oringinaly submitted as cl-19242421 but failed on non-unity build so backed out

#rb [at]Chris.Caulfield, [at]Thomas.Sarkanen, [at]Cedric.Caillaud
#preflight 6221e57d335298c3145112d1

#ROBOMERGE-OWNER: nick.brett
#ROBOMERGE-AUTHOR: nick.brett
#ROBOMERGE-SOURCE: CL 19283727 via CL 19295417 via CL 19304854 via CL 19304870
#ROBOMERGE-BOT: UE5 (Release-Engine-Staging -> Main) (v926-19321884)

[CL 19347122 by nick brett in ue5-main branch]
2022-03-10 21:02:14 -05:00
thomas sarkanen
08e64562f8 Tweak tooltip for sequence player's SetStartPosition to better explain its functionality
#jira UE-143513
#rb jose.villarroel
#preflight 621cd5d36e5ae46efd45320c
#lockdown laurent.delayen

#ROBOMERGE-AUTHOR: thomas.sarkanen
#ROBOMERGE-SOURCE: CL 19173153 in //UE5/Release-5.0/... via CL 19173711
#ROBOMERGE-BOT: UE5 (Release-Engine-Staging -> Main) (v921-19075845)

[CL 19173874 by thomas sarkanen in ue5-main branch]
2022-02-28 10:29:40 -05:00
chris caulfield
1010d59e0e Chaos
- RBAN QPBD and linear joint solver support
- Add 3rd phase to solver loop for projection
- Add settings for QPBD to PhysicsAsset
- Add cvar overrides for all settings
- Hide settings for legacy solver

#rb michael.forot
#jira UE-140717
#preflight

#ROBOMERGE-AUTHOR: chris.caulfield
#ROBOMERGE-SOURCE: CL 19156094 in //UE5/Release-5.0/... via CL 19159784
#ROBOMERGE-BOT: UE5 (Release-Engine-Staging -> Main) (v921-19075845)

[CL 19161460 by chris caulfield in ue5-main branch]
2022-02-25 19:46:14 -05:00
timothy daoust
52dcf64db7 Fixed a bug where mirroring did not work correctly with some skeletons
Cherry pick with additional edits from CL18522092, CL18536881, CL18811714

#jira UE-142948
#lockdown laurent.delayan
#rb thomas.sarkanen
#preflight 620ede42c91bcd0017afa29a


#ROBOMERGE-AUTHOR: timothy.daoust
#ROBOMERGE-SOURCE: CL 19090710 via CL 19092613 via CL 19094336 via CL 19095814 via CL 19101845
#ROBOMERGE-BOT: UE5 (Release-Engine-Staging -> Main) (v921-19075845)

[CL 19141885 by timothy daoust in ue5-main branch]
2022-02-25 00:11:37 -05:00
daniel holden
12b9a1a1b1 Allowed BlendSpaceEvaluators to run with non-zero playrate so that they can generate notifies during playback.
#jira UE-130693
#rb thomas.sarkanen, jurre.debaare, timothy.daoust
#preflight 6214e672a97c2c3348cbda4c

[CL 19071787 by daniel holden in ue5-main branch]
2022-02-22 08:43:10 -05:00