unity游戲的特效是怎么做的 unity如何為人物模型添加動畫?
unity如何為人物模型添加動畫?首先,您需要一個標準的仿人骨骼動畫,導(dǎo)出FBX,將FBX導(dǎo)入unity,并將模型裝備設(shè)置為human。然后您需要一個蒙皮的仿人模型,導(dǎo)出FBX,將FBX導(dǎo)入unity
unity如何為人物模型添加動畫?
首先,您需要一個標準的仿人骨骼動畫,導(dǎo)出FBX,將FBX導(dǎo)入unity,并將模型裝備設(shè)置為human。
然后您需要一個蒙皮的仿人模型,導(dǎo)出FBX,將FBX導(dǎo)入unity,并將模型裝備設(shè)置為human。
在unity中創(chuàng)建animatorcontroller,雙擊以打開animatorcontroller,并將動畫文件拖到編輯器中的animatorcontroller
將蒙皮的人形模型拖到場景中,將animatorcontroller屬性設(shè)置為剛才的插件animatorcontroller
運行并播放,角色將播放上一個骨架