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