BabylonJS-EditControl icon indicating copy to clipboard operation
BabylonJS-EditControl copied to clipboard

handle mesh with non uniformed scaled parent

Open ssatguru opened this issue 7 years ago • 1 comments

We have an issue when the mesh has a parent and the parent scaling is not uniform, that is the scaling in x y and z are not the same. In such cases the axes are no longer at right angle to each other. To handle this we would have to change how axes are drawn For now if the scaling of parent is not uniform we prevent any transforms.

ssatguru avatar Jan 20 '18 21:01 ssatguru

Added support for this but would require further refinement. Currently the local axes orientation is set arbitrarily. Should probably use the bounding box.

ssatguru avatar Jan 23 '18 02:01 ssatguru