three_js_controls library
Classes
- DeviceOrientationControls
- DragControls
- This class can be used to provide a drag'n'drop interaction.
- FirstPersonControls
- This class is an alternative implementation of FlyControls.
- FlyControls
- FlyControls enables a navigation similar to fly modes in DCC tools like Blender. You can arbitrarily transform the camera in 3D space without any limitations (e.g. focus on a specific target).
- FlyMoveState
- Joystick
- Keys
- MapControls
- OrbitControls
- Orbit controls allow the camera to orbit around a target.
- OrbitState
- PointerLockControls
- The implementation of this class is based on the Pointer Lock API. PointerLockControls is a perfect choice for first person 3D games.
- ThirdPersonControls
- TrackballControls
-
TrackballControls is similar to OrbitControls. However, it does not maintain a constant camera
upvector. That means if the camera orbits over the “north” and “south” poles, it does not flip to stay "right side up".