Should we control the character's position from the animation itself or from script.
如果我们勾选了Animator组件中的Apply Root Motion选项
角色的Transform将不能通过脚本来直接赋值,而是通过动画的运动的来改变的
如果我们不勾选
我们就可以用脚本改变角色的Tranform
Should we control the character's position from the animation itself or from script.
如果我们勾选了Animator组件中的Apply Root Motion选项
角色的Transform将不能通过脚本来直接赋值,而是通过动画的运动的来改变的
如果我们不勾选
我们就可以用脚本改变角色的Tranform
本站转载的文章为个人学习借鉴使用,本站对版权不负任何法律责任。如果侵犯了您的隐私权益,请联系本站邮箱yoyou2525@163.com删除。