Commit Graph

185 Commits

Author SHA1 Message Date
braeden shosa
509549ad1d Minor tweaks for code style
[FYI] Lina.Halper


#ROBOMERGE-SOURCE: CL 6670532 via CL 6672178
#ROBOMERGE-BOT: (vundefined-6665479)

[CL 6673894 by braeden shosa in Main branch]
2019-05-29 23:50:45 -04:00
braeden shosa
a129a71c8b 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-SOURCE: CL 6661692 via CL 6661829
#ROBOMERGE-BOT: (vundefined-6654089)

[CL 6661835 by braeden shosa in Main branch]
2019-05-28 22:17:05 -04:00
thomas sarkanen
bc40812f7a Copying //Tasks/Fortnite/Dev-AnimSubInstances to Main (//Fortnite/Main)
Adds:
- New sub-instance functionality (dynamic setting, inline evaluation)
- Animation layers (experimental)

#rb Jurre.deBaare
[FYI] Laurent.Delayen
#rnx


#ROBOMERGE-SOURCE: CL 6604742 via CL 6605911
#ROBOMERGE-BOT: (v356-6605775)

[CL 6605970 by thomas sarkanen in Main branch]
2019-05-22 12:00:20 -04:00
helge mathee
d8ccb3d794 Control Rig MVC Refactoring
Merging

//Tasks/Fortnite/Dev-UEA-ControlRig/...

to //Fortnite/Main/...

[FYI] lina.halper


#ROBOMERGE-SOURCE: CL 6597997 via CL 6601432
#ROBOMERGE-BOT: (v351-6581450)

[CL 6601520 by helge mathee in Main branch]
2019-05-21 19:25:23 -04:00
helge mathee
83fcaf86be AnimGraph: Add profiling blueprint functions to measure anim blueprints.
#rb lina.halper


#ROBOMERGE-SOURCE: CL 6582176 via CL 6591752
#ROBOMERGE-BOT: (v351-6581450)

[CL 6591944 by helge mathee in Main branch]
2019-05-20 20:36:56 -04:00
satchit subramanian
5a67027867 [FYI] Benn.Gallagher
Add option to simulate rigidbody animnodes in the frame in which they're reset (effectively skipping forward a frame).


#ROBOMERGE-SOURCE: CL 6431438 via CL 6431522 via CL 6432480

[CL 6442365 by satchit subramanian in Main branch]
2019-05-14 09:09:23 -04:00
helge mathee
39079fc7e4 Improve tooltips in AnimDynamics AnimBP Node for Angular Spring.
#rb jeremiah.grant


#ROBOMERGE-SOURCE: CL 6189959 via CL 6192417

[CL 6192512 by helge mathee in Main branch]
2019-05-01 14:52:09 -04:00
lina halper
99bdf1f381 Add more log w.r.t. skeleton crash from copy pose and change to ensure
#jira: FORT-160974
#rb: Laurent.Delayen


#ROBOMERGE-SOURCE: CL 6151477 via CL 6151490 via CL 6155798

[CL 6177837 by lina halper in Main branch]
2019-04-30 12:13:28 -04:00
helge mathee
ec74f1a9d2 Merging
//Tasks/Fortnite/Dev-UEA-ControlRig/Engine/...

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

Original CL: 6081637

#jira: UEA-490
#rb lina.halper


#ROBOMERGE-SOURCE: CL 6098916 via CL 6100686

[CL 6100754 by helge mathee in Main branch]
2019-04-25 18:03:23 -04:00
satchit subramanian
dd850b85cb Add setting to stop simulating rigidbody nodes below a minimum timestep.
#rb Steven.Barnett
[FYI] Lina.Halper


#ROBOMERGE-SOURCE: CL 6023527 via CL 6023529 via CL 6023813 via CL 6023852 via CL 6024825

[CL 6024947 by satchit subramanian in Main branch]
2019-04-19 20:21:02 -04:00
satchit subramanian
976d118f05 Add a physics setting to stop simulating anim dynamics if the timestep is below a threshold.
#rb Steven.Barnett
[FYI] Lina.Halper


#ROBOMERGE-SOURCE: CL 6019009 via CL 6019011 via CL 6019212 via CL 6019249 via CL 6023326

[CL 6023427 by satchit subramanian in Main branch]
2019-04-19 17:40:16 -04:00
lina halper
91e83082d0 Layer node initialization fix
#rb: Martin.Wilson
#jira: FORT-113893


#ROBOMERGE-SOURCE: CL 5768200 via CL 5768201 via CL 5768840 via CL 5770648

[CL 5770764 by lina halper in Main branch]
2019-04-05 19:59:44 -04:00
satchit subramanian
886c3821ab Fix clamp linear translation limit causing jittering in some assets.
[FYI] Benn.Gallagher


#ROBOMERGE-SOURCE: CL 5768103 via CL 5768104 via CL 5768828 via CL 5770632

[CL 5770745 by satchit subramanian in Main branch]
2019-04-05 19:59:27 -04:00
lina halper
c4ea32533e 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-SOURCE: CL 5672339 via CL 5675808

[CL 5675866 by lina halper in Main branch]
2019-04-01 18:07:21 -04:00
thomas sarkanen
28b1d26b2d Misc bugfixes & improvements to animation budget allocator
Added force params to allow debugging of frame skip/interpolation issues.
Fixed rigid body node being continually reset when running external frame skips.

#rb Jurre.deBaare


#ROBOMERGE-SOURCE: CL 5424932 via CL 5432591

[CL 5432738 by thomas sarkanen in Main branch]
2019-03-18 13:23:02 -04:00
lina halper
22e7d02a85 Fix PSD cache not getting cleared and produced incorrect poses at the end
#jira: FORT-154248
#rb:Helge.Matthee


#ROBOMERGE-SOURCE: CL 5383674 via CL 5383700 via CL 5384346

[CL 5384440 by lina halper in Main branch]
2019-03-13 12:37:36 -04:00
helge mathee
10ecabbac1 Merging using Fortnight-Main<->Dev-Anim
#rb lina.halper


#ROBOMERGE-SOURCE: CL 5352142 via CL 5354528

[CL 5354644 by helge mathee in Main branch]
2019-03-08 18:39:36 -05:00
helge mathee
bf72812633 #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-SOURCE: CL 5305476 via CL 5309252

[CL 5309332 by helge mathee in Main branch]
2019-03-05 18:59:26 -05:00
helge mathee
f60bedb563 Improving the PoseDriver by
* adding debug drawing for the cones used for each target
* adding a new normalization mode using a median cone
* adding overrides for distance method + function type per target
* improving the reloading of the pose list to maintain settings for known poses

#rb Lina.Halper, James.Golding


#ROBOMERGE-SOURCE: CL 5089485 via CL 5091026

[CL 5091045 by helge mathee in Main branch]
2019-02-20 09:49:34 -05:00
aaron cox
d12dba2836 [CODEREVIEW] Laurent.Delayen, Lina.Halper
[FYI] Luke.Tannenbaum

Validate BaseBoneRef in Update FAnimNode_RigidBody::IsValidToEvaluate(). Should fix crashes caused by referencing bones that don't exist at some LODs.


#ROBOMERGE-SOURCE: CL 5064673 via CL 5065477

[CL 5066422 by aaron cox in Main branch]
2019-02-19 14:41:41 -05:00
helge mathee
df14a0b63e Original CLs 4985309, 4986255
Fixed a bug as uncovered by the new unit test (to be checked in in a separate submit).

* Added a new automation test file setup for animation
* Added a unit test for the calculate velocity node.


#rb Lina.Halper
#rb Aaron.Cox



#ROBOMERGE-SOURCE: CL 4996498 via CL 4996991

[CL 5000426 by helge mathee in Main branch]
2019-02-14 17:16:57 -05:00
helge mathee
54a61e8cd7 Fix copyright issue in KismetAnimationTypesHeader
#jira UE-70000
#rb Lina.Halper



#ROBOMERGE-SOURCE: CL 4983061 via CL 4986905

[CL 4989212 by helge mathee in Main branch]
2019-02-13 18:18:58 -05:00
helge mathee
d74a2e573e Added three new blueprint nodes:
1) An easing node which can take a float value and run it through most of the easing functions available in FMath
2) A node to record motions over time and output an averaged velocity. This is useful for tracking the velocity of say a weapon and drive secondary effects.
3) A node which is a monolithic large version of 2) to make it easy for riggers to track the velocity of a bone / socket.

#rb Lina.Halper, Laurent.Delayen
[FYI] Laurent.Delayen



#ROBOMERGE-SOURCE: CL 4974686 via CL 4975432

[CL 4976695 by helge mathee in Main branch]
2019-02-12 17:17:11 -05:00
lina halper
09b3b568aa fix issue with having invalid link node id causing it to create circular link
#rb:Aaron.Cox
#jira: UE-67036

#ROBOMERGE-SOURCE: CL 4939012 in //UE4/Release-4.22/...
#ROBOMERGE-BOT: RELEASE (Release-4.22 -> Main)

[CL 4939014 by lina halper in Main branch]
2019-02-07 17:40:19 -05:00
max chen
236b59d153 Jittery Sequencer Animations with RateScale > 0.0
Two changes fixed this. First we invert out the RateScale when calculating the PlayRate inside  FAnimNode_SequenceEvaluator::UpdateAssetPlayer, since it get's multiplied back in the CreateTickRecordForNode function.   This stops the jittering but the animation playback isn't scaled. To fix that we modify the Sequencer sections PlayRate by the asset'ss RateScale.

#jira UE-63636
#rb max.chen, martin.wilson

#ROBOMERGE-SOURCE: CL 4896912 in //UE4/Release-4.22/...
#ROBOMERGE-BOT: RELEASE (Release-4.22 -> Main)

[CL 4896913 by max chen in Main branch]
2019-02-05 00:46:48 -05:00