[libGdx]rotating group element cause rectangle misplacement

Hello everyone,

I want to know how to check collision between elements inside a group and other element of the games, in other word, i want to know how to draw a rectangle around elements of the group, cause so far every time i try the rectangle is always in the wrong position, i tried using stageToLocalCoordinates but the result was always messed up (sometimes i get the rectangle in the correct position but when i move the group the rectangle seems to have a “mirror effect” {always in the opposit direction} )

thank you