public void MoveProxy(int proxyId, ref AABB aabb, Vector2 displacement)
 {
     bool buffer = _tree.MoveProxy(proxyId, ref aabb, displacement);
     //if (buffer) // Always want to buffer moves because the underlying fixtures might have moved.
     {
         BufferMove(proxyId);
     }
 }
예제 #2
0
        public void MoveProxy(int proxyId, ref AABB aabb, Vector2 displacement)
        {
            bool buffer = _tree.MoveProxy(proxyId, ref aabb, displacement);

            if (buffer)
            {
                BufferMove(proxyId);
            }
        }