# Revision history [back]

I also tried and maybe is something wrong with GetBoundingBox() and hope one day it will be fixed. GetScale() is working fine and its updating the scale factor so you can use this scale factor to get the right values for bounding box.

gazebo::math::Box box_scaled
box_scaled.min = ( box_->GetBoundingBox().min * box_->GetScale() );
box_scaled.max = ( box_->GetBoundingBox().max * box_->GetScale() );


then use this box_scaled to get the corner points

_buff.x = box_scaled.min.x;
_buff.y = box_scaled.min.y;
...