feat: Add dollyToCursor prop to Controls component for improved camera interaction in toggle view

This commit is contained in:
2025-08-01 12:14:30 +05:30
parent 5997993925
commit 9be044c941

View File

@@ -126,6 +126,7 @@ export default function Controls() {
maxZoom={CONSTANTS.thirdPersonControls.maxZoom}
maxPolarAngle={CONSTANTS.thirdPersonControls.maxPolarAngle}
camera={state.camera}
dollyToCursor={toggleView}
verticalDragToForward={true}
boundaryEnclosesCamera={true}
dollyDragInverted