This is a very rough port of Three.js
OrbitControls for universal React apps with Expo.
- Fully written in TypeScript because it's the best! 🌟
- Internally this uses a basic PanResponder for gestures. PRs to migrate PanResponder to React Native Gesture Handler are very welcome.
- On web, two finger gestures aren't currently implemented.
- On native, the camera may jump when panning + zooming ends due to issues with React Native
yarn add expo-three-orbit-controls
Import into your project:
Check out the example for more info.