关键帧定义(手动)
Step1: 放置几何体,并将位置归0

Step2: 拖动下方时间轴,定位在第一帧

Step3: 在当前帧,将图片的x轴位置设置为-2

Step4: 设置完成后,右键该字段,选择Keyframe - SetKeyframe,设定关键帧

设置后该区域变为 翠绿色

Step5: 在时间轴上,将时间棒拉至任意点(图中举例为120)

Step6: 在当前帧,将x轴坐标设置为0

Step7: 右键坐标,设置关键帧

Step8: 同样,在240帧处,将x轴位置设置为2,并设置关键帧
此时,时间轴中显示3帧:

Step9:点击play,可以看到 几何体在X轴上[-2,2]区间内做来回移动的动作

关键帧定义(自动)
Step1: 点击时间轴边的Auto Keyframe按钮

Step2:定位帧

Step3:拖动图片到任意位置,放开鼠标,会在时间轴上自动留下关键帧

Step4:点击play,可以看到几何体根据之前放开鼠标的位置,随着时间轴进行运动
运动路线 & 运动质感
关键帧通道面板
运动幅度/运动周期:控制不同坐标系下运动节点坐标
节点间的运动质感:关键帧节点的控制杆调节
曲线平滑度:Function曲线类型
Step1: 字段属性,右键Channels - Add to Channel List

Step2: 展示了上一节所定义的所有关键帧,帧与帧之间的曲线。x, y, z轴分别有自己的移动曲线

【面板介绍】

Step3: 调整控制棒,调整节点斜率:类似AI, AE,调节曲线曲度

Step4: 调整节点在x轴的位置(上下:坐标,左右:时间轴)

Step5:更改运动质感,选中某一段曲线

Step6:点击右下角Function菜单栏,将该段曲线更改为线性
可选的参数为:
Linear: 线性匀速运动
Easein: 缓入
Easeout: 缓出等等

Step7:点击play,查看效果
MotionFx 周期运动面板
应用场景1:周期性运动,随机噪声运动
Step1: 将面板调整至动画面板

Step2: 在动画面板下,建立CHOP网络


Step3:按i进入详情,并选择基本轨迹Create -> Wave,创建周期运动的波形轨迹

Step4: 查看MotionFX界面

Step5:可更改Wave对象的任意参数,如周期,幅度。如图可见周期变大

或更改周期运动轨迹的性质:正弦波,三角波,方波,脉冲波等等

Step6:右键Wave轨迹对象下节点,选择Export - Export,准备绑定运动实体

Step7: 查看Export对象

Step8: 在Export中,选择obj实体对象,表明该周期运动轨迹作用于哪个物体

Step9: 将周期运动轨迹真正赋给物体:选中Export对象的Export性质

Step10: 点击play,看到物体根据周期轨迹进行来回移动
应用场景2:可控的随机噪声变化
Step1: 添加Combine - Math数学模块, 并且把它放在运动轨迹节点和Export节点之间


在Math中改变波的基本参数。例如:对Math模块进行加法的操作,幅值发生了改变


Step3: 新增noise节点


Step4:添加math节点,使用math模块中的操作符,将两个波形连接起来

此时的MotionFX界面

Step5:轨迹的数学操作,例如加法,Combine Chops - Add

Step6:轨迹叠加后的效果(正弦波+噪声波)

Step7:点击play,查看物体可控的随机行为
自定义运动轨迹
Step1: 创建物体
Step2: 点击Create - Curve画出运动曲线


Step3: 点击Follow Path,并按照场景视图面板底部的指示,完成物体-路径的绑定

A. 点击要绑定的物体

B. 点击路径

C. 点击look-at object 指定朝向物体。如无,则直接enter

D. 点击look-up object 指定朝向物体。如无,则直接enter

Step4: 完成后,点击Play, 则物体按照这个轨迹运动

注1: 如有look-at物体(如图中球体),则如图方形物体不会左右发生旋转,朝向一直对着球体

重复运动轨迹 Cycle
关键帧通道 - 动画编辑器
Step1: 框选运动轨迹,复制

Step2:将关键帧移至指定位置

Step3:粘贴,则以起始帧为始,重复了一边运动轨迹

方法二:DopeSheet
Step1:打开关键帧通道,左上角选择DopeSheet

Step2: 点击选择工具,选中通道上要cycle的关键帧

Step3:copy这些关键帧

Step4:选中要循环关键帧的时间区间

Step5:粘贴关键帧(选择循环方式),如图所示,关键帧循环出现在选定区域

网友评论