Feature request: a method to disable TransformControl axes

I wish there was an easy way to prevent users from moving an object about a particular axis. For example, it would be nice to say

var controls =  new THREE.TransformControls(camera, domElement);
controls.disableAxis('x');

Then the transformControls would have draggable arrows pointing in the Y and Z directions, but not the X direction. Thanks for your consideration!

Author: Fantashit

1 thought on “Feature request: a method to disable TransformControl axes

Comments are closed.