nytimes / three-story-controls

A three.js camera toolkit for creating interactive 3d stories
Other
251 stars 21 forks source link

FreeMovementPlusControls #27

Open NateRudolph opened 2 years ago

NateRudolph commented 2 years ago

First off, love the work that's going on here it's super helpful so thanks!

I was looking for a way to easily get access to the tilt/roll/pan controls via keyboard inputs though. This branch is based off the FreeMovementControls but adds those options like this:

Movement Key
Roll Left/Right Q/E
Tilt Up/Down R/F
Pan Left/Right Z/C

Would be nice to have an option to dial in the sensitivity of all the keyboard controls too. I have another branch using dat.gui to change that on the fly. I could implement that later if others think it'd be helpful.

I'd love to help out in building this library, documenting things, providing examples, whatever! So if this isn't within the guidelines let me know how I could fix it and I'll create a new pull request.