box2d and mouseovers

I’d like to be able to have objects in a box2d environment react on a mouseover. I’m trying to do this using multiple inheritance but it doesn’t seem to be working - I create a “wordObject” class and have it inherit ofxBox2d and ofxMSAInteractiveObject. Has anybody done this in the way that I’m trying or in a different way?

Thanks
Jay

This is old but I couldn´t find anywhere in the forum.
What I have done is as ofxBox2dPolygon extends ofPolyline you can use it´s methods to check if the mouse is inside the Polygon.

  
ofxBox2dPolygon poly;  
bool mouseInside = poly.inside(ofPoint(ofGetMouseX(),ofGetMouseY()), poly);