I want to restrict the movement of a 3D model along the x, y, and z axis. I am looking to allow users to rotate and zoom the model, but I believe that moving it could pose potential problems. While I have found a way to disable rotation, I have not come across a similar solution for translation.
Possible Usability Concerns:
- The rotation point may shift when translating along the axis, resulting in disrupted rotation behavior.
- Users might accidentally move the object out of view. Although boundaries can be set, what is the value of a 3D model viewer if users frequently lose track of the object?
In essence, I would prefer to deactivate this feature to avoid possible usability issues.
If anyone has insight on how to accomplish this task, I would greatly appreciate it.