Skip to content

Commit c4e16ad

Browse files
committed
removed unintentional panning
1 parent 58a5074 commit c4e16ad

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

src/Components/Core/Presentation/Babylon/AvatarCamera/AvatarCameraController.ts

+1
Original file line numberDiff line numberDiff line change
@@ -23,6 +23,7 @@ export default class AvatarCameraController implements IAvatarCameraController {
2323
.pointers as ArcRotateCameraPointersInput;
2424
pointersInput.multiTouchPanAndZoom = true;
2525
pointersInput.pinchZoom = true;
26+
pointersInput.panningSensibility = 0;
2627

2728
// clamp camera rotation to the default values to prevent panning
2829
camera.upperAlphaLimit = this.viewModel.defaultAlphaRotation;

0 commit comments

Comments
 (0)