BEPUphysics.NarrowPhaseSystems.Pairs.DetectorVolumeCompoundPairHandler.UpdateContainedPairs C# (CSharp) Method

UpdateContainedPairs() protected method

protected UpdateContainedPairs ( ) : void
return void
        protected override void UpdateContainedPairs()
        {
            //TODO: Triangle meshes have a worldspace hierarchy that could be more efficiently traversed with a tree vs tree test.
            //This is just a lot simpler to manage in the short term.

            for (int i = 0; i < compound.children.Count; i++)
            {
                TryToAdd(compound.children.Elements[i].CollisionInformation);
            }

        }
DetectorVolumeCompoundPairHandler