I am having one additional requirement like whenever I am resizing the floor using the Bounding box Gizmo so the meshes which was outside the floor should also be repositioned inside the floor.
Anyone please help me out with this requirement.Please find the screenshot as well:
You will need to apply the same resizing to all the objects. I think you can use the onDragObservable observer of the gizmo you use to resize the floor and then apply the scaling to all other objects.
As @Evgeni_Popov said, you will need to reposition your meshes based on the new size of the floor. To do add, use the onDragOversable. I guess you don’t want to apply the new scale to the objects, only change their positions?