After performing a rotation of a mesh l, the bounding box wont update to the new value.
How to update it to the current state
Any information?
Instances of Box3
are axis-aligned so it’s normal that the bounding box varies in size when objects are rotated.
You could also try using Object Bounding Box three.js/OBB.js at dev · mrdoob/three.js (github.com)
If we import a mesh not axis aligned, when we correct her rotation and become axis aligned, bounding box wont update and still as initial before axis correction
Have you already tried box.setFromObject( object, true )
?
1 Like
Tried without luck