VXNTedits / Flowstate

We're bulding a game from scratch.
3 stars 0 forks source link

Bounding volume deconstruction #7

Open VXNTedits opened 2 weeks ago

VXNTedits commented 2 weeks ago

Feasible collision detection requires both accurate collision surfaces and a low total surface count for computational efficiency. Therefore, model importing should also generate a reasonable bounding volume with which collisions can be checked. Write an algo such that upon init of a model: deconstructs and arbitrary, potentially concave volume, given by its vertex and index data, into a lowest possible number of computationally efficient convex bounding volumes.