Maya角色动画入门教程(初级)
- 2022-02-06
- 来源/作者: PS.ONEGREEN.ORG / 佚名
- 2 次浏览
1、时间设置
2、创建3个cube(利用这个Mel)
polyCube -w 2.8 -h 3 -d 1.5 -tx 0 -ch 0 -n trunk;
move 0 1.5 0;makeIdentity -a 1;
xform -piv 0 0 0;
move 0 2.5 0;
polyCube -w 0.8 -h 0.2 -d 1.5 -tx 0 -ch 0 -n leftfoot;
move 0 0 0.25;
makeIdentity -a 1;
xform -piv 0 0 0;
move 0.9 0 0;
duplicate -n rightfoot;
move -0.9 0 0;
如图
3、对主体(trunk)记录关键帧
第1帧 translationZ =0 第51帧 translationZ =10 观察速度是否合适
4、对脚进行动画 (记录关键帧)
leftfoot 第1帧 translationZ = -1 第11、21帧 translationZ = 3
rightfoot 第11帧 translationZ = 1 第21、31帧 translationZ = 5
打开GraphEditor,对两只脚都进行如下循环方式设置,可以在GraphEditor选择view>Infinity来显示循环曲线。
现在脚已和身体一起运动了
5、抬脚动画 (记录关键帧)
leftfoot 第1、11、21帧 translationY=0并记录关键帧,选择第二个关键帧,进行break tangents
对第一个和第二个关键帧的手柄进行调节(最高值约0.5,稍向右偏移)。
将循环方式设为cycle
6、让脚更自然 (记录关键帧)
leftfoot 第1帧 rotateX =0
第2、3帧 rotateX=10
第10帧 rotateX=-30
第11、21帧 rotateX=0
GraphEditor 中如图
对第3和第4个关键帧先break tangents,再调节。
设置循环方式为cycle
7、把leftfoot的translationY ,rotateX关键帧复制给rightfoot ,在channel box中选择leftfoot的translationY ,rotateX ,Edit>Keys>Copy Keys 选项窗口 设置
选择rightfoot,Edit>Keys>Paste Keys选项窗口 设置。
8、让身体摆
动起来,先对时间进行设置
trunk 第3帧 translationY=2.5
第8帧 translationY=2.8
循环方式为 oscillate
trunk 第4帧 translationX=-0.3
第14帧 translationX=0.3
循环方式为 oscillate
trunk 第3帧 rotateY=-12
第13帧 rotateY=12
循环方式为 oscillate
trunk 第3帧 rotateZ=5
第13帧 rotateZ=-5
循环方式为 oscillate
--END--