var joint_index:int =
this.skeleton.jointIndexFromName("rthumb2");//获取骨骼上的一个节点索引 var
joint_pose:JointPose = (mesh.animator as SkeletonAnimator).glo...
分类:
其他好文 时间:
2014-06-06 10:41:39
阅读次数:
194
【Animation组件】
Animation是Unity3D中老的动画组件,从4.x起已全面被MecAnim中的Animator组建所替代。但是4.x仍保留了Animation组件,所以了解此组件还是十分有必要。
通过以下菜单可以给obj添加Animation组件。 Animation组...
分类:
其他好文 时间:
2014-06-04 17:59:58
阅读次数:
242
Animator组件和Animation组件和Animator controller这三个东西说起来比较绕,但...
分类:
其他好文 时间:
2014-05-25 22:58:24
阅读次数:
357
属性动画:使对象的属性值在一定时间间隔内变化到某一个值。http://developer.android.com/guide/topics/resources/animation-resource.html#Property资源目录:rec\animator
// together|se...
分类:
移动开发 时间:
2014-05-24 10:14:41
阅读次数:
343
1. 给角色添加一个Animator组件和New State,运行后,摆出这种奇怪的姿势
这是因为没有把动画片段赋给New State,可以看到此时的New State为空,把Idle片段拖进去就好了
分类:
其他好文 时间:
2014-05-09 02:57:21
阅读次数:
266
这次的代码示例是配合动画系统使用的4.3新的动画系统允许动画带有位置偏移,只需要在Animator组件中勾选Apply
Root Motion我们就可以使用它了。using UnityEngine;using System.Collections;public class
DonePlayerMov...
分类:
移动开发 时间:
2014-05-06 13:38:54
阅读次数:
424