keywords:UE4、Animation Blend Nodes、动画融合实例

各个Blend节点的解释:Blend Nodes
https://docs.unrealengine.com/en-us/Engine/Animation/NodeReference/Blend

动画融合实例可以参考:

EpicSurvivalGameSeries\SurvivalGame\Content\AnimStarterPack\Player_AnimBP

该蓝图中实现逻辑:角色握枪动作跟随摄像机方向动态融合。
项目地址:https://github.com/tomlooman/EpicSurvivalGameSeries

Blend Option

AlphaBlend.h

UENUM()
enum class EAlphaBlendOption : uint8
{
    // Linear interpolation
    Linear = 0,
    // Cubic-in interpolation
    Cubic,
    // Hermite-Cubic
    HermiteCubic,
    // Sinusoidal interpolation
    Sinusoidal,
    // Quadratic in-out interpolation
    QuadraticInOut,
    // Cubic in-out interpolation
    CubicInOut,
    // Quartic in-out interpolation
    QuarticInOut,
    // Quintic in-out interpolation
    QuinticInOut,
    // Circular-in interpolation
    CircularIn,
    // Circular-out interpolation
    CircularOut,
    // Circular in-out interpolation
    CircularInOut,
    // Exponential-in interpolation
    ExpIn,
    // Exponential-Out interpolation
    ExpOut,
    // Exponential in-out interpolation
    ExpInOut,
    // Custom interpolation, will use custom curve inside an FAlphaBlend or linear if none has been set
    Custom,
};

说明
ExpOut:动画速度先减速后加速。
ExpIn:动画速度加速后减速。

Animation Blend Modes
https://docs.unrealengine.com/en-us/Engine/Animation/NonLinearBlends

How to switch Animation Rotate Space when Montage Blending

Issue:
If want to blend shooting animation when character is moving, by default the shoot animation would rotate using the Space of moving animation(blend using DefaultSlot), but it may cause the shooting animation(blend using UpperBody) rotate to the wrong direction when blend per bone.

Solution:
Check Mesh Space Rotate Blend in Layered blend per bone

How to keep in sync when using Layered blend per bone

Issue:
When using Layered blend per bone, lower body animation would be reset when play upper body animation.

Solution:
Set the same Sync Group in BlendSpace of movement.

How to keep in sync when using Layered blend per bone
https://forums.unrealengine.com/development-discussion/animation/1403030-how-to-keep-in-sync-when-using-layered-blend-per-bone


有作用者器宇定是不凡,有智慧者才情决然不露。----弘一法师