Commit Graph

186 Commits

Author SHA1 Message Date
mike zyracki
8441bf92a8 Add bWasCreated flag to BindToSkeletalMesh so when we know when we create the sequencer anim instance we should save the pose. This removes the need for control rig to override NativeInitialization. Also add some checks to make sure we save a valid pose.
#jira UE-76569

#rb max.chen

#ROBOMERGE-OWNER: ben.marsh
#ROBOMERGE-AUTHOR: mike.zyracki
#ROBOMERGE-SOURCE: CL 7280102 in //UE4/Release-4.23/... via CL 7280144
#ROBOMERGE-BOT: BUILD (Main -> Dev-Build) (v371-7306989)

[CL 7350675 by mike zyracki in Dev-Build branch]
2019-07-17 01:10:05 -04:00
satchit subramanian
578b20bf4e Add asset info to AnimNode_Rigidbody.
#rb Michael.Lentine

#ROBOMERGE-OWNER: ben.marsh
#ROBOMERGE-AUTHOR: satchit.subramanian
#ROBOMERGE-SOURCE: CL 7041340 via CL 7042232 via CL 7047490 via CL 7048351
#ROBOMERGE-BOT: BUILD (Main -> Dev-Build) (v367-6836689)

[CL 7121133 by satchit subramanian in Dev-Build branch]
2019-06-21 01:28:33 -04:00
braeden shosa
faa2844b15 Workaround for CurvePoseIndex out of bounds crash
[CODEREVIEW] Lina.Halper, Laurent.Delayen, Aaron.Cox
#rnx

#ROBOMERGE-OWNER: ben.marsh
#ROBOMERGE-AUTHOR: braeden.shosa
#ROBOMERGE-SOURCE: CL 7014082 via CL 7016740 via CL 7016747 via CL 7016816 via CL 7020855 via CL 7020952
#ROBOMERGE-BOT: BUILD (Main -> Dev-Build) (v367-6836689)

[CL 7093652 by braeden shosa in Dev-Build branch]
2019-06-19 11:10:21 -04:00
aaron cox
4e2b155128 Reinitialize the Copy Pose From Mesh node when the target mesh changes.
Fixes animation pose breaking when dynamically changing between skeletal meshes that use the same animbp but have a different number of bones.
[CODEREVIEW] Laurent.Delayen, Lina.Halper

#ROBOMERGE-OWNER: ben.marsh
#ROBOMERGE-AUTHOR: aaron.cox
#ROBOMERGE-SOURCE: CL 6938273 via CL 6938276 via CL 6938281 via CL 6938283 via CL 6943622 via CL 6946612
#ROBOMERGE-BOT: BUILD (Main -> Dev-Build) (v367-6836689)

[CL 7089855 by aaron cox in Dev-Build branch]
2019-06-19 08:58:34 -04:00
Ben Marsh
cfe09c649f Merging //UE4/Dev-Main to Dev-Build (//UE4/Dev-Build)
#rb none
#rnx

[CL 6922670 by Ben Marsh in Dev-Build branch]
2019-06-10 19:47:29 -04:00
max chen
2b61878c3e Copying //UE4/Dev-Sequencer to Dev-Main (//UE4/Dev-Main) [at] 6863847
#lockdown nick.penwarden
#rb none

#ROBOMERGE-OWNER: ben.marsh
#ROBOMERGE-AUTHOR: max.chen
#ROBOMERGE-SOURCE: CL 6863971 in //UE4/Main/...
#ROBOMERGE-BOT: BUILD (Main -> Dev-Build) (v366-6836689)

[CL 6917141 by max chen in Dev-Build branch]
2019-06-10 16:16:26 -04:00
lina halper
bab821de19 Copying //UE4/Dev-Anim to Dev-Main (//UE4/Dev-Main) [at] 6861656
#rb
#rnx

#ROBOMERGE-OWNER: ben.marsh
#ROBOMERGE-AUTHOR: lina.halper
#ROBOMERGE-SOURCE: CL 6863572 in //UE4/Main/...
#ROBOMERGE-BOT: BUILD (Main -> Dev-Build) (v366-6836689)

[CL 6917136 by lina halper in Dev-Build branch]
2019-06-10 16:16:11 -04:00
braeden shosa
67171442b3 Minor tweaks for code style
[FYI] Lina.Halper

#ROBOMERGE-OWNER: ben.marsh
#ROBOMERGE-AUTHOR: braeden.shosa
#ROBOMERGE-SOURCE: CL 6670532 via CL 6672178 via CL 6673894
#ROBOMERGE-BOT: BUILD (Main -> Dev-Build) (v364-6709755)

[CL 6714745 by braeden shosa in Dev-Build branch]
2019-05-31 14:17:09 -04:00
braeden shosa
2a5f71aef5 Layered blend per bone node now has an option "Mesh Space Scale Blend" which performs scale blending in mesh space instead of local space.
Useful for fixing scaling issues arising from "Layered blend per bone" node. For example, when blending lower body locomotion with upper body aiming and feathering the lower body weight up the spine, scaling on the spine can propogate through the skeleton to the hands causing them to drift from the weapon. This removes the need to manually fixup the spine's scale after blending the poses.

BlendMeshPosesPerBoneWeights and BlendLocalPosesPerBoneWeights are now folded into a single function: BlendPosesPerBoneFilter.

[CODEREVIEW] Lina.Halper, Laurent.Delayen, Aaron.Cox
#rns

#ROBOMERGE-OWNER: ben.marsh
#ROBOMERGE-AUTHOR: braeden.shosa
#ROBOMERGE-SOURCE: CL 6661692 via CL 6661829 via CL 6661835
#ROBOMERGE-BOT: BUILD (Main -> Dev-Build) (v363-6677109)

[CL 6705448 by braeden shosa in Dev-Build branch]
2019-05-31 13:29:16 -04:00
Ben Marsh
5f3ac5bc9e Merging //UE4/Dev-Main to Dev-Build (//UE4/Dev-Build)
#rb none
#rnx

[CL 6620114 by Ben Marsh in Dev-Build branch]
2019-05-23 13:55:56 -04:00
satchit subramanian
e259be3b6e [FYI] Benn.Gallagher
Add option to simulate rigidbody animnodes in the frame in which they're reset (effectively skipping forward a frame).

#ROBOMERGE-OWNER: ben.marsh
#ROBOMERGE-AUTHOR: satchit.subramanian
#ROBOMERGE-SOURCE: CL 6431438 via CL 6431522 via CL 6432480 via CL 6442365
#ROBOMERGE-BOT: BUILD (Main -> Dev-Build)

[CL 6477784 by satchit subramanian in Dev-Build branch]
2019-05-15 10:09:12 -04:00
helge mathee
08726386f1 Improve tooltips in AnimDynamics AnimBP Node for Angular Spring.
#rb jeremiah.grant

#ROBOMERGE-OWNER: ben.marsh
#ROBOMERGE-AUTHOR: helge.mathee
#ROBOMERGE-SOURCE: CL 6189959 via CL 6192417 via CL 6192512
#ROBOMERGE-BOT: BUILD (Main -> Dev-Build)

[CL 6219238 by helge mathee in Dev-Build branch]
2019-05-01 18:55:14 -04:00
lina halper
65ab425e62 Add more log w.r.t. skeleton crash from copy pose and change to ensure
#jira: FORT-160974
#rb: Laurent.Delayen

#ROBOMERGE-OWNER: ben.marsh
#ROBOMERGE-AUTHOR: lina.halper
#ROBOMERGE-SOURCE: CL 6151477 via CL 6151490 via CL 6155798 via CL 6177837
#ROBOMERGE-BOT: BUILD (Main -> Dev-Build)

[CL 6207181 by lina halper in Dev-Build branch]
2019-05-01 18:02:21 -04:00
helge mathee
ad3210e086 Merging
//Tasks/Fortnite/Dev-UEA-ControlRig/Engine/...

to //Fortnite/Main/Engine/...

Original CL: 6081637

#jira: UEA-490
#rb lina.halper

#ROBOMERGE-OWNER: ben.marsh
#ROBOMERGE-AUTHOR: helge.mathee
#ROBOMERGE-SOURCE: CL 6098916 via CL 6100686 via CL 6100754
#ROBOMERGE-BOT: BUILD (Main -> Dev-Build)

[CL 6124553 by helge mathee in Dev-Build branch]
2019-04-26 21:57:05 -04:00
satchit subramanian
9628030b5b Add setting to stop simulating rigidbody nodes below a minimum timestep.
#rb Steven.Barnett
[FYI] Lina.Halper

#ROBOMERGE-OWNER: ben.marsh
#ROBOMERGE-AUTHOR: satchit.subramanian
#ROBOMERGE-SOURCE: CL 6023527 via CL 6023529 via CL 6023813 via CL 6023852 via CL 6024825 via CL 6024947
#ROBOMERGE-BOT: BUILD (Main -> Dev-Build)

[CL 6029443 by satchit subramanian in Dev-Build branch]
2019-04-20 01:06:41 -04:00
satchit subramanian
4f0cd6f11c Add a physics setting to stop simulating anim dynamics if the timestep is below a threshold.
#rb Steven.Barnett
[FYI] Lina.Halper

#ROBOMERGE-OWNER: ben.marsh
#ROBOMERGE-AUTHOR: satchit.subramanian
#ROBOMERGE-SOURCE: CL 6019009 via CL 6019011 via CL 6019212 via CL 6019249 via CL 6023326 via CL 6023427
#ROBOMERGE-BOT: BUILD (Main -> Dev-Build)

[CL 6026800 by satchit subramanian in Dev-Build branch]
2019-04-19 21:09:46 -04:00
lina halper
df2a9b5159 Layer node initialization fix
#rb: Martin.Wilson
#jira: FORT-113893

#ROBOMERGE-OWNER: ben.marsh
#ROBOMERGE-AUTHOR: lina.halper
#ROBOMERGE-SOURCE: CL 5768200 via CL 5768201 via CL 5768840 via CL 5770648 via CL 5770764
#ROBOMERGE-BOT: BUILD (Main -> Dev-Build)

[CL 5780945 by lina halper in Dev-Build branch]
2019-04-08 13:25:41 -04:00
satchit subramanian
3afb856cca Fix clamp linear translation limit causing jittering in some assets.
[FYI] Benn.Gallagher

#ROBOMERGE-OWNER: ben.marsh
#ROBOMERGE-AUTHOR: satchit.subramanian
#ROBOMERGE-SOURCE: CL 5768103 via CL 5768104 via CL 5768828 via CL 5770632 via CL 5770745
#ROBOMERGE-BOT: BUILD (Main -> Dev-Build)

[CL 5780830 by satchit subramanian in Dev-Build branch]
2019-04-08 13:24:53 -04:00
lina halper
32ddb25cf4 Speculated fix w.r.t. copy pose node
- where it seems the reference contains invalid skeleton
- refSkeleton access seems violated
- copied Jaren's fix w.r.t. evaluation crash due to setting different AnimBP in the middle of evaluation

#code review: Thomas.Sarkanen
#jira: FORT-160974, FORT-149957

#ROBOMERGE-OWNER: ben.marsh
#ROBOMERGE-AUTHOR: lina.halper
#ROBOMERGE-SOURCE: CL 5672339 via CL 5675808 via CL 5675866
#ROBOMERGE-BOT: BUILD (Main -> Dev-Build)

[CL 5678440 by lina halper in Dev-Build branch]
2019-04-01 21:04:11 -04:00
Ben Marsh
07e535411b Merging //UE4/Dev-Main to Dev-Build (//UE4/Dev-Build)
#rb none
#rnx

[CL 5435186 by Ben Marsh in Dev-Build branch]
2019-03-18 16:38:36 -04:00
helge mathee
766a59ab9e #rb lina.halper
Added a new bool flag array as part of the FAnimExtractContext to be optionally used for disabling retrieval of bone transforms. The PoseDriver can then fill this array based on the bones it is interested in.

#ROBOMERGE-OWNER: ben.marsh
#ROBOMERGE-AUTHOR: helge.mathee
#ROBOMERGE-SOURCE: CL 5305476 via CL 5309252 via CL 5309332
#ROBOMERGE-BOT: BUILD (Main -> Dev-Build)

[CL 5325929 by helge mathee in Dev-Build branch]
2019-03-06 18:18:22 -05:00
Ben Marsh
dece8de2d2 Merging //UE4/Dev-Main to Dev-Build (//UE4/Dev-Build)
#rb none
#rnx

[CL 5095547 by Ben Marsh in Dev-Build branch]
2019-02-20 15:06:37 -05:00
Ben Marsh
0f79d0e564 Merging //UE4/Dev-Main to Dev-Build (//UE4/Dev-Build)
#rb none
#rnx

[CL 4979967 by Ben Marsh in Dev-Build branch]
2019-02-12 21:08:26 -05:00
Ben Marsh
ef2c7066f2 Merging //UE4/Dev-Main to Dev-Build (//UE4/Dev-Build)
#rb none
#rnx

[CL 4957620 by Ben Marsh in Dev-Build branch]
2019-02-09 14:49:54 -05:00
Ben Marsh
c34dc5a8cf Merging //UE4/Dev-Main to Dev-Build (//UE4/Dev-Build)
#rb none
#rnx

[CL 4932473 by Ben Marsh in Dev-Build branch]
2019-02-07 10:01:58 -05:00