Автор - Nanotech Gamedev ссылка - От автора: On the topic of doing collisions without physics, here is AABBs! A approach based on the generation of a 3D coordinates box that can collide against other boxes, rays or check their volume for specific points. This is a alternative collision checking method that is rather simple and very fast. What it is not so simple is how to generate a new AABB for the mesh once it rotates or is positioned somewhere, as AABBs are given in local space, here I am going to show you everything you need to code your Axis Aligned Bounding Box from scratch And if you are a supporter you can grab the final project on the drive:
Hide player controls
Hide resume playing