1.创建一个球体
2.在通道栏中添加属性
名称:distance
数据类型:float
属性类型:标量
3.打开表达式编辑器
pSphere1.distance = time;
pSphere1.translateX = pSphere1.distance * sin(time);
pSphere1.translateY = pSphere1.distance * cos(time);

本文介绍如何在三维软件中创建一个随时间变化而沿特定数学路径移动的球体动画。通过在通道栏添加自定义属性,并利用表达式编辑器设置球体的位置随时间变化的正弦和余弦函数关系,实现球体沿着螺旋形轨迹移动的效果。
1.创建一个球体
2.在通道栏中添加属性
名称:distance
数据类型:float
属性类型:标量
3.打开表达式编辑器
pSphere1.distance = time;
pSphere1.translateX = pSphere1.distance * sin(time);
pSphere1.translateY = pSphere1.distance * cos(time);


被折叠的 条评论
为什么被折叠?