“Big, fast, careless swipes”

In game development, there is this strange effect known as “tunneling.” It happens when you do collision detection. Imagine a simple situation where every time you move a cube, you also test whether it touches the wall – and if it does, you make it bounce off of it. This works great, but if you move and detect the collision less frequently, something weird can happen: Here, the movement was so coarse that there was no point at which the cube touched the wall, so the collision wasn’t detected, and the cube p

添加评论
点赞收藏
点踩分享查看原文
评论
?
参与讨论