Page 1 of 1

Detect If Collision Object Fully Encloses Another

Posted: Tue Aug 12, 2014 2:33 pm
by Mrfence97
If I were to turn off collision detection for a particular RigidBody (using collision flags or maybe a GhostObject), how I would I then detect if that object fully encloses any other object in the world? Would I have to look at any contact manifolds the object has and then decide from there whether it fully encloses the object or not? To make it any similar, I plan for the enclosing object to be a box (but not axis-aligned).

Sorry for the lack of any further details, I don't have any other ideas!

Many thanks for any help you can give :)