implementing physics in complex geometries

I’m trying to create a class to implement physics in complex geometries, this example uses the object’s triangles to create physics that works. I’m still going to do another one that will use bvh calculations with bounding boxes

the physics class is in:

simple apply physisc by:

If anyone has more examples of physics in complex models, post them there