Universe.Physics.BulletSPlugin.BSLinksetCompound.AddChildToLinkset C# (CSharp) Method

AddChildToLinkset() protected method

protected AddChildToLinkset ( BSPrimLinkable child ) : void
child BSPrimLinkable
return void
        protected override void AddChildToLinkset(BSPrimLinkable child)
        {
            if (!HasChild(child))
            {
                m_children.Add(child, new BSLinkInfo(child));

                DetailLog("{0},BSLinksetCompound.AddChildToLinkset,call,child={1}", LinksetRoot.LocalID, child.LocalID);

                // Rebuild the compound shape with the new child shape included
                Refresh(child);

            }
            return;
        }