Your browser does not seem to support JavaScript. As a result, your viewing experience will be diminished, and you may not be able to execute some actions.
Please download a browser that supports JavaScript, or enable it if it's disabled (i.e. NoScript).
解决了,只能碰撞的时候移动到碰撞体(碰撞区域要小一点)的网络编号。然后再判断剩余步数是否再移动。
什么时候支持MACOS呢?
这种不行,如果掷出的点数超过转向触发,会先完全走完再转向。
我用的网格移动,根据骰子和移动方向移动。
比如角色在(2,0)掷出骰子点数3,向下移动,走到(2,2)向右再移动最后一步?