I suspected (bordering on certainty) that I would need my own function for this.
Im more after ideas rather than solutions...
The one object completely inside another is ONE killer, there is also the fact
that the 'large' object is not only NOT-convex, it may be comprised of several
separate closed-meshes... Read on for more details...


I'll fill you in a bit more where I can, as much of the actual usage is secret(for now).

Simplistically, this is for a TOOL that calculate the "actual" volume of a user-supplied model(MDL),
as well monitor/calculate its mass-distribution based on the models shape.
("actual" as in 'as close as I can get'...)

FPS is not too big of an issue(within limits). This is a "process" that is expected to
take several seconds to complete, not run every frame.
ATM I use c_rotate and the process can take up to 2 minsto process a complex model... (on a crappy PC)
(FYI: the c_rotate process is seriously flawed, but it is the best result I can get so far,
moving a CUBE_MDL through the entire models bounding-box and c_rotating to see
if it intersects anything. This is still only giving me locations of intersections though...)

Seeing as the user is supplying the model at run-time, Ive got no control over that.
It could be a simple cube, but most likely a complex shape like a humanoid...
Im currently not allowing for animations, as the tools output is only applicable
to static objects...

Thats all the useful info I can think of for now...


"There is no fate but what WE make." - CEO Cyberdyne Systems Corp.
A8.30.5 Commercial