public static MyPhysicsBody GetPhysicsBody(this HkContactPointEvent eventInfo, int index)
        {
            var rb = eventInfo.Base.GetRigidBody(index);

            if (rb == null)
            {
                return(null);
            }

            var body = rb.GetBody();

            if (body != null && body.IsWelded)
            {
                uint shapeKey = 0;
                int  i        = 0;
                for (; i < 4; i++)
                {
                    if (eventInfo.GetShapeKey(0, i) == uint.MaxValue)
                    {
                        break;
                    }
                }
                shapeKey = eventInfo.GetShapeKey(0, i - 1);
                body     = HkRigidBody.FromShape(rb.GetShape().GetContainer().GetShape(shapeKey)).GetBody();
            }
            return(body);
        }