当我们制作好动画偏移和动画融合以后我们需要,让我们的角色在自己以及其他客户端要做到同步。
因为我的第一人称视角的动画没有左右上下瞄准的动画,本来我是想通过是否


是否勾选此选项来进行是否对手臂进行控制

但是这行代码在玩家之间都可以用,但是对于房主就不行,如果房主上下移动鼠标那么在其他客户端就会身体也会跟着动,而不是瞄准偏移的动画,测了好久没有测出来原因,所以最后决定用动画的方法去解决,第三人称视角的人物上有瞄准偏移动画,就决定把这个动画用到第一人称视角的手臂上
在这里关于如何动画重定向我就不说了,官网上讲的比我清楚,只是里边有些注意点需要注意下


我们进行动画重定向的动画的设置必须是上图中的设置,如果不是可能定向出来的动画会有一定的问题。


如果骨骼不一样的话1的地方是不会出现骨骼的,2是定向出来以后的动画存放的文件夹
网友评论