Exemple #1
0
        /**
         * This supports body activation/deactivation.
         */
        public void CreateProxy(IBroadPhase broadPhase, b2Transform xf)
        {
            //b2Assert(m_proxyId == b2BroadPhase::e_nullProxy);

            // Create proxy in the broad-phase.
            m_shape.ComputeAABB(m_aabb, xf);
            m_proxy = broadPhase.CreateProxy(m_aabb, this);
        }