pygfx icon indicating copy to clipboard operation
pygfx copied to clipboard

A MultiController

Open almarklein opened this issue 2 years ago • 0 comments

I think it would be nice to have a pseudo-controller that acts as a proxy for all available controllers, which allows switching between them. The fact that they control the same camera allows for very sweet transitions: you orbit the camera around, then move to fly-mode, fly around a bit, make a looping, then move to orbit mode, or trackball ... great for demos! 😄

To switch between controllers:

  • Alt+1: fly (as in 1st person)
  • Alt+2: panzoom (as in 2D)
  • Alt+3: orbit (3D)
  • Alt+4: trackball (just counting now)
  • All other events are simply fed to the current controller.

almarklein avatar Apr 14 '23 10:04 almarklein