b2BuoyancyController

Hello People,

I was messing arround with the b2BuoyancyController.
Which rocks. But is it possible to give it rectangle bounds.
Cause i want to have different 'water pools' in a world at different heights. Now the b2BuoyancyController just checks if a object is on the left or right side of a segment.
But is it possible to have the b2BuoyancyController check if a body is within the bounds of a rectangle and if so apply the Buoyancy effect?

Kind regards,

Erik

Original thread: https://box2d.org/forum/viewtopic.php?t=7423