A
A
Alexander Kusak2019-10-17 19:26:53
JavaScript
Alexander Kusak, 2019-10-17 19:26:53

How to unlock third axis for pan in TrackballControls?

I use trackballcontrols to move the centering point, when turning the camera up, the pan functionality also remains at the x and y coordinates, z remains locked.
Simply put, the camera moves the object to the left / right or closer and further at a given camera position. I need pan to always work parallel to the camera.

Answer the question

In order to leave comments, you need to log in

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question