Disabled orbit control damping in r3f

This commit is contained in:
Aria Minaei 2021-07-05 18:39:57 +02:00
parent 1886d6ba94
commit 22cb5542bc

View file

@ -55,7 +55,7 @@ const EditorScene = () => {
{showGrid && <gridHelper args={[1000, 1000, 0x444444, 0x888888]} />} {showGrid && <gridHelper args={[1000, 1000, 0x444444, 0x888888]} />}
{showAxes && <axesHelper args={[500]} />} {showAxes && <axesHelper args={[500]} />}
{/* @ts-ignore */} {/* @ts-ignore */}
<OrbitControls ref={orbitControlsRef} /> <OrbitControls ref={orbitControlsRef} enableDamping={false} />
<primitive object={helpersRoot}></primitive> <primitive object={helpersRoot}></primitive>
<ProxyManager orbitControlsRef={orbitControlsRef} /> <ProxyManager orbitControlsRef={orbitControlsRef} />
</> </>