动作混合器可以通过动画蓝图播放动作资源,还可以在运行时直接驱动动作资源。 下面为大家介绍在UE4中使用动作驱动器驱动动作资源的方法。
1、在AnimGraph(动画图像)中,右键单击图表并搜索Pose Driver(动作驱动)节点。

2、添加节点后,选择Source Pose,将Out Pose连接到Final Animation Pose或其他节点。

3、在细节(Details)中,定义骨骼并驱动Pose Asset(姿势资源)动作或曲线,这样Pose Driver节点就添加到动画蓝图了。

1、在动作目标(Pose Target)中,使用Pose Driver节点选择Pose Asset,或者曲线中要驱动的动作。
2、分配Pose Asset后,点击工具(Tools),在里面选择Copy All from PoseAsset,把动作都添加到动作目标窗口。

3、添加后,使用相应的动作更新窗口。要选择每个动作,可以在动作目标(Pose Target) 窗口中单击该动作,或电机视口中的目标线。

1、在Pose Driver节点的细节(Details)中,点击打开Pose Driver,在Drive Output中选择Drive Curves。

2、点击“compile”编译动画蓝图。

3、然后点击添加目标(Add Target) ,添加要驱动的曲线。

4、在每条曲线的驱动(Drive)选项中,选择所需的曲线,选中曲线(Curve) 复选框并在其中定义其值。

猜你喜欢: