Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
我希望我的玩家位置被强制设置到静态墙后面的新位置。在客户端上,即使位置弯曲为 1.0,玩家也会撞墙而不是穿过另一侧。刷新页面以清除先前的位置上下文会修复它,以便它们出现在墙的正确一侧。
如何在不刷新页面的情况下解决此问题?
这是一个棘手的问题,因为 Lance 专注于在物理空间中反弹的物理对象。
您可能需要删除原始游戏对象并创建一个新对象。