I've been learning a bit about the built-in physics engine and its collision detection features.
I'm trying to understand the DSSolid collision object, which is mentioned in a table on the Collision Solids manual page (http://www.panda3d.org/manual/index.php/Collision_Solids) without explanation. It is described in the API reference (http://www.panda3d.org/apiref.php?page=CollisionDSSolid) as "A collision volume or object made up of the intersection of two spheres (potentially a lens) and two half-spaces (planes)."
I basically understand that geometric description, but what is the purpose of such a shape??
Interestingly, this DSSolid is the one collision solid, other than a sphere, that can be either a "from" or an "into" solid. This suggests to me that the shape is considered to be either more commonly needed than other shapes (such as a plane or a tube or an inverse sphere), or is cheaper to test. Neither of those reasons rings true to me... a DS would be more expensive than an inverse sphere to test for collisions against, and it seems to me, less useful. So I'm wondering, what is the use case for a DSSolid?
I'm curious too how the planes are typically arranged in relation to the two spheres... but that would probably become clear given the use case for this solid.
(And what does DS stand for? Double sphere?)
(I posted this a week ago on StackOverflow but nobody seems to know. http://stackoverflow.com/questions/5899639/when-would-i-use-a-collision-solid-consisting-of-the-intersection-of-two-spheres)