Skip to content

Feature request: a method to disable TransformControl axesΒ #11340

@brmscheiner

Description

@brmscheiner

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!

Metadata

Metadata

Assignees

No one assigned

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions