BabylonJS-EditControl
BabylonJS-EditControl copied to clipboard
handle mesh with non uniformed scaled parent
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.
Added support for this but would require further refinement. Currently the local axes orientation is set arbitrarily. Should probably use the bounding box.