I want to create simple collision response system (physical simulation is not required now). It is needed just that player can't go through walls.
I consider some variants: - Just create a set of primitive colliders (like AABB, OBB, Spheres) and check collisions in every frame (this approach is impemented now) - Create a BVH for the big level mesh and check collisions with small set of triangles. - Combine these two approaches and use BVH for determine which colliders I need to check.
But, probably, these variants are wrong. What algorithms and appoaches would you advice for this purpose?