MolcaDT.Common
The DT SDK provides a multi-touch camera control system with gesture recognition, orbit/pinch/pan, and visual feedback effects.
TouchOrbitCameraController
File:Assets/_MolcaDT/Code/Scripts/Common/TouchOrbitCameraController.cs
Orbits a camera around a pivot point using touch input (typically 2-finger rotate). Works with TouchVfxHandler for input events. Supports smooth rotation, configurable axis constraints, and keyboard shortcuts (Q/E) for mouse emulation.
Inspector
Code
TouchVfxHandler
File:Assets/_MolcaDT/Code/Scripts/Common/TouchVfxHandler.cs
Routes raw touch events to gesture recognizers. Key UnityEvent outputs:
TouchGestureAnalyzer
File:Assets/_MolcaDT/Code/Scripts/Common/TouchGestureAnalyzer.cs
Classifies raw touch data into gesture types:
TouchVfxController
File:Assets/_MolcaDT/Code/Scripts/Common/TouchVfxController.cs
Provides visual feedback effects for touch interactions (ripple, highlight, cursor trails) driven by TouchVfxHandler events.
Code
Related
- DT startup flow — where the camera rig is initialized
- DT architecture — camera rig positioning in layers