moveProxy method

  1. @override
void moveProxy(
  1. int proxyId,
  2. AABB aabb,
  3. Vector2 displacement
)
override

Call MoveProxy as many times as you like, then when you are done call updatePairs to finalized the proxy pairs (for your time step).

Implementation

@override
void moveProxy(int proxyId, AABB aabb, Vector2 displacement) {
  final buffer = _tree.moveProxy(proxyId, aabb, displacement);
  if (buffer) {
    _moveBuffer.add(proxyId);
  }
}