0

What does of the term "Pan" in trackball control in three.js exactly mean?

        controls.rotateSpeed = 1;
        controls.zoomSpeed = .5;
        controls.panSpeed = 1;

What is "panspeed" here?

1 Answers1

0

Panning in trackball control means, the object can be moved from any point to any other point. Panspeed like rotatespeed and zoomspeed will specify how fast or how slow should moving of the object happen. Panning means to just change the position of the object, it does not resize or change axis. Hope this helps.

ds345
  • 737
  • 3
  • 8
  • 17
  • Thanks :) Also I am facing an issue while using Trackball Controls. When I am using controls.update(); I am getting the error: "TypeError: _eye.subVectors is not a function @ TrackballControls.js:248". Do you have any what it is? – Revanth Alampally Oct 16 '13 at 07:32
  • Looks like it is a version mismatch. Check if the versions are updated or is at least compatible with each other. Which version of three.js are you currently using? – ds345 Oct 16 '13 at 10:20