public virtual void CreateProxies(b2BroadPhase broadPhase, b2Transform xf) { // Create proxies in the broad-phase. m_proxyCount = m_shape.GetChildCount(); for (int i = 0; i < m_proxyCount; ++i) { b2FixtureProxy proxy = m_proxies[i]; proxy.aabb = m_shape.ComputeAABB(xf, i); proxy.proxyId = broadPhase.CreateProxy(proxy.aabb, proxy); proxy.fixture = this; proxy.childIndex = i; } }
private void FillAabb() { shape.ComputeAABB(aabb, transform, 0); shape.ComputeAABB(_End, _EndTransform, 0); aabb.Combine(_End); }
private void FillAabb() { shape.ComputeAABB(aabb, transform, 0); }