File size: 318 Bytes
5f4306b
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
import React from 'react';
import { OrbitControls } from '@react-three/drei';

const Controls = () => {
  return (
    <OrbitControls 
      enablePan={false}
      minDistance={20}
      maxDistance={500}
      rotateSpeed={0.5}
      zoomSpeed={0.8}
      dampingFactor={0.1}
    />
  );
};

export default Controls;