Implement object wrapping using an AABB query. It should be reimplemented using sensors.