private void FixedUpdate() { broadphase.UpdateAABB(); pairs = broadphase.ComputePossibleCollisions(); contacts = collisionDetection.CalculateCollision(pairs); foreach (CollisionContact contact in contacts) { SolveContact(contact); } }