Commit Graph

200 Commits

Author SHA1 Message Date
Mike Zyracki
e102316666 Sequencer: Need to make sure we re-Construct the Animation Sequence Nodes when entering a section since it may have been changed to a pose snapshot node. Also made sure ConstructNodes really just sets them up lightly since it's used by both SequencerInst/ControlRigInst.
#jira UE-87806
#rb max.chen

[CL 11446379 by Mike Zyracki in 4.25 branch]
2020-02-14 13:57:13 -05:00
Stefan Boberg
55a8b15f1f Copying //UE4/Dev-Core to Main (//UE4/Main)
#rb none

[CL 11258477 by Stefan Boberg in Main branch]
2020-02-05 14:26:36 -05:00
Thomas Sarkanen
de2be528ca Copying //UE4/Dev-Anim to Dev-Main (//UE4/Dev-Main)
#rb none
#lockdown nick.penwarden

[CL 11214797 by Thomas Sarkanen in Main branch]
2020-02-04 11:06:23 -05:00
PJ Kack
3a9ca4d2f9 Merging //UE4/Main @ 11112898 to //UE4/Dev-Core (dev-core-l0178)
#rb none

(ushell-p4-mergedown)

[CL 11113592 by PJ Kack in Dev-Core branch]
2020-01-26 11:33:22 -05:00
chris caulfield
a050f25d77 Chaos - fix AnimNode_RigidBody_Chaos to match regular version after iterations changes.
#rb none


#ROBOMERGE-SOURCE: CL 11091160 via CL 11091161 via CL 11091162 via CL 11091163
#ROBOMERGE-BOT: (v640-11091645)

[CL 11093023 by chris caulfield in Main branch]
2020-01-23 10:16:11 -05:00
Lina Halper
44c1bb3292 COPY from //Dev-Anim to //Dev-Main
#rb: none
#fyi: Laurent.Delayen, Thomas.Sarkanen

[CL 11088765 by Lina Halper in Main branch]
2020-01-22 17:58:55 -05:00
chris caulfield
551634399c Chaos
- expose RBAN iteration counts in PhAt, RBAN and blueprint
- hook up physics materials
- adjust default line thickness

[FYI] ori.cohen,benn.gallagher
#rb none


#ROBOMERGE-SOURCE: CL 11060506 via CL 11060509 via CL 11061546 via CL 11061564
#ROBOMERGE-BOT: (v637-11041722)

[CL 11061581 by chris caulfield in Main branch]
2020-01-18 20:07:46 -05:00
Thomas Sarkanen
1aa82a07db Moved skeletal mesh & component traces to use the new array API
Also removed initialization functions as they are no longer needed with channels

#rb Jurre.deBaare

[CL 11042967 by Thomas Sarkanen in Dev-Core branch]
2020-01-17 09:27:20 -05:00
chris caulfield
5e6b30ad7f Chaos
- remove Cholesky solver calling code
- rename Chaos collision and joint stats
- add drag handles to RBAN editing in PhAt

#rb none


#ROBOMERGE-SOURCE: CL 10995456 via CL 10995464 via CL 10995468 via CL 10995475
#ROBOMERGE-BOT: (v633-10983880)

[CL 10995481 by chris caulfield in Main branch]
2020-01-15 13:57:18 -05:00
Ryan Durand
54168a659e Updating more copyrights to remove years.
#rnx
#rb none
#jira none

[CL 10898929 by Ryan Durand in Main branch]
2020-01-07 17:07:47 -05:00
ryan durand
0f0464a30e Updating copyright for Engine Runtime.
#rnx
#rb none


#ROBOMERGE-OWNER: ryan.durand
#ROBOMERGE-AUTHOR: ryan.durand
#ROBOMERGE-SOURCE: CL 10869210 via CL 10869511 via CL 10869900
#ROBOMERGE-BOT: (v613-10869866)

[CL 10870549 by ryan durand in Main branch]
2019-12-26 14:45:42 -05:00
chris caulfield
5ca6ab385e Chaos - hack in Poke force in PhAt
#rb none


#ROBOMERGE-SOURCE: CL 10837680 via CL 10841173 via CL 10843458 via CL 10843562
#ROBOMERGE-BOT: (v610-10636431)

[CL 10843725 by chris caulfield in Main branch]
2019-12-19 23:33:50 -05:00
Robert Manuszewski
7b6f840f7f Copying //UE4/Dev-Core @ 10708550 to Dev-Main (//UE4/Dev-Main)
#rb none

[CL 10708666 by Robert Manuszewski in Main branch]
2019-12-13 11:07:03 -05:00
andrew ladenberger
36ebdf12a9 Added SkeletalMeshComponent option to disable rigid body anim nodes. Enables more selective rban use to save on memory and anim init time for distant meshes.
#rb jordan.cristiano, chris.caulfield, thomas.sarkanen
[FYI] ben.woodhouse, chris.bunner


#ROBOMERGE-SOURCE: CL 9603884 via CL 9603950 via CL 9603954
#ROBOMERGE-BOT: (v526-9587114)

[CL 9604203 by andrew ladenberger in Main branch]
2019-10-15 16:08:35 -04:00
michael lentine
acbc579509 Copy from //Fortnite/Dev-Physics
#rb none


#ROBOMERGE-OWNER: michael.lentine
#ROBOMERGE-AUTHOR: michael.lentine
#ROBOMERGE-SOURCE: CL 9374650 via CL 9374665
#ROBOMERGE-BOT: (v456-9359915)

[CL 9385990 by michael lentine in Main branch]
2019-10-02 17:27:26 -04:00
Lina Halper
3fd7f76532 Copying //UE4/Dev-Anim to Dev-Main (//UE4/Dev-Main)
#fyi: Laurent.Delayn, Marc.Audy
#rb: none

[CL 9321182 by Lina Halper in Main branch]
2019-10-01 16:59:31 -04:00
marc audy
328da8f207 Fix weight propgation over sub-instance boundaries
New Update* API now passes through context from a higher level. Old API calls deprecated & fixed up.
We were previously doing the right thing with regards weights on the way *out* of a linked graph (via a linked input pose). This addresses the way *into* a linked graph.

#rb Jurre.deBaare


#ROBOMERGE-OWNER: marc.audy
#ROBOMERGE-AUTHOR: thomas.sarkanen
#ROBOMERGE-SOURCE: CL 9036155 via CL 9043727 via CL 9043933
#ROBOMERGE-BOT: (v443-9013191)

Resolution in AnimInstanceProxy.cpp stomps Dev-Anim changes. Jira to be filed to revisit the consequences to inertial blending.
#codereview Thomas.Sarkanen, Braeden.Shosa

[CL 9046911 by marc audy in Main branch]
2019-09-24 14:10:35 -04:00
Marc Audy
8df336162c Copying //UE4/Dev-Anim to Dev-Main (//UE4/Dev-Main) @ 8782600
#rb
#rnx

[CL 8783278 by Marc Audy in Main branch]
2019-09-17 19:12:19 -04:00
thomas sarkanen
ef46502ca2 Spawning optimizations
A collection of major and minor optimizations to anim instance initialization.

Major:
- Added defered root node init. When an anim instance is set to init to refpose, this defers the first call to initialize the blend tree until just before the first Update() call, on a worker thread.
- Skip ConditionallyCacheBonesForState in state machines in the case where we would call CacheBones_AnyThread during first Initialize_AnyThread. This avoids duplicate work being done, as graph traversal counters will let through sychronization calls if they have yet to be updated (ie. their count is INDEX_NONE).
- Cache access to nodes that need pre-update, dynamic reset, one-time initialization, as well as state machines in the generated class to avoid iterating all anim nodes on initialization.

Minor:
- Cache access to node properties when re-linking nodes to avoid duplicate memory round-trips.
- Cache access to LUT size in FBaseBlendedCurve::GetValidElementCount, avoiding duplicate memory round-trips.
- Prevent FName rehashing from string (intended to strip whitespace) when initializing FBoneReferences.
- Cache access to AnimCurveMapping smart name container on USkeleton, preventing a TMap lookup every time we access the smart name container.
- USkeleton::GetCurveMetaData now uses a 'fast path' when accessing using smart name UID. In this case we can avoid the TMap lookup as the UID is always a direct index to metadata at runtime (slow path still applies in editor builds).
- Avoid calling FAnimNode_LayeredBoneBlend::ReinitializeBoneBlendWeights in Initialize_AnyThread, as CacheBones_AnyThread will be called straight after anyways.
- Cache access to curve UID count and LinkedBones array in FAnimNode_LayeredBoneBlend::ReinitializeBoneBlendWeights, avoiding duplicate memory round-trips.

Upgrade notes:
- Breaking change! Custom anim nodes that implement OnInitializeAnimInstance now need to return true for the new accessor NeedsOnInitializeAnimInstance to be called at init time.
- The meaning of HasPreUpdate and NeedsDynamicReset has changed slightly. Previously these were called at init time, so if their results were mutable it was possible to re-init an anim instance with new settings. Now they are called at CDO load time this is no longer possible.

#rb Martin.Wilson


#ROBOMERGE-SOURCE: CL 8686415 via CL 8686419 via CL 8689513
#ROBOMERGE-BOT: (v422-8689730)

[CL 8695271 by thomas sarkanen in Main branch]
2019-09-16 13:01:26 -04:00
Chris Gagnon
2e87118a18 Copying //UE4/Dev-Editor to Dev-Main (//UE4/Dev-Main) Interim 4.24.
#rb none

[CL 8614014 by Chris Gagnon in Main branch]
2019-09-10 11:35:20 -04:00
Marc Audy
a7459b1afc Merging //UE4/Dev-Main to Dev-Framework (//UE4/Dev-Framework) @ 8292949
#rb
#rnx

[CL 8293622 by Marc Audy in Dev-Framework branch]
2019-08-26 10:30:04 -04:00
Ben Hoffman
c11e10eb9c Add 0 entries to animtion enums to prevent blueprint compiler warnings.
Enums affected:
- ESplineBoneAxis
- EAnimAssetCurveFlags

#rb Lina.Halper
#rnx
#jira UE-59679

[CL 8293282 by Ben Hoffman in Dev-Framework branch]
2019-08-26 09:50:02 -04:00
lina halper
0a9a38c68d Remove unused variables
#jira: UE-78921
#rb: Helge.Mathee
#lockdown cristina.riveron

#ROBOMERGE-SOURCE: CL 8062117 in //UE4/Release-4.23/...
#ROBOMERGE-BOT: RELEASE (Release-4.23 -> Main) (v400-8057353)

[CL 8062123 by lina halper in Main branch]
2019-08-15 13:21:37 -04:00
Benn Gallagher
3a4873ef60 Copying //UE4/Dev-Physics to Dev-Main (//UE4/Dev-Main) @ 7703071
#rb
#rnx

[CL 7705805 by Benn Gallagher in Main branch]
2019-08-02 09:01:58 -04:00
Helge Mathee
bf2aef7b8f AnimNode_AnimDynamics: Build break on Mac
#jira UE-78044
#rb none

[CL 7651300 by Helge Mathee in Main branch]
2019-07-29 14:31:53 -04:00