I am uploading stl file to the scene using stlLoader and drawing bounding box using BoxHelper. Below is the screen shot while uploading the model ,
if you see , bounding box is touching the model in all the sides correctly.
I am rotating the model using transform controls , and updating the bounding box using BoxHelper.update(). If you see bounding box is bigger than the model . the box is not touching the corners of the model correctly. I guess while BoxHelper.update(), tranformation is applied to the box , so box is getting bigger. Is it correct ? is there any way I can get the correct bounding box which will touch the corners of the model correctly ?
I