three-3pc
v1.1.0
Published
THREE.js Third person controls that work the same as the THREE.js OrbitControls
Downloads
2
Readme
Three-3PC
THREE.js Third person controls that work the same as the THREE.js' OrbitControls. This is essentially a rip and ship of the OrbitControls but with touch functionality removed and events shuffled around so that the camera position follows the mouse without first having to click/drag the mouse.
Install
npm install three-3pc
or
yarn add three-3pc
Import
import ThirdPersonControls from 'three-3pc';
Usage
const controls = new ThirdPersonControls(camera, canvasElement);