Exemplo n.º 1
0
        // Test input against the broadphase tree, filling allHits with the body indices of every overlap.
        // Returns true if there was at least overlap.
        public bool OverlapAabb(OverlapAabbInput input, ref NativeList <int> allHits)
        {
            int hitsBefore = allHits.Length;

            Broadphase.OverlapAabb(input, m_Bodies, ref allHits);
            return(allHits.Length > hitsBefore);
        }