How hyphesus/teethsim works
Project type and purpose
• This is a Unity‐based real‐time 3D simulation tool (“Teeth Examination Simulator”) that integrates a Phantom-Omni haptic device via the HapticsDirect plugin. Its goal is to let dental students practice cavity cleaning/filling with accurate force feedback.
File structure
• Top-level:
• Assets/ – Unity content (3D models, materials, scenes, scripts, prefabs, plugin)
• Packages/ – Unity package manifest (TextMesh Pro, test tools)
• ProjectSettings/ – Unity project configuration
• README.md, LICENSE, .gitignore
• Under Assets:
• 3DSystems/HapticsDirect/ – HapticsDirect plugin (native .lib + C# wrapper + documentation + sample scenes)
• Movement&Interaction Scripts/ – camera and interaction scripts (ConstantRotation, LookAround etc.)
• Scenes/ – SampleScene.unity
• TextMesh Pro/ – UI text framework
• Models & Materials – dentures, stylus, environment objects with colliders and haptic materials
• Prefabs – reusable scene objects (TouchActor, TouchXActor)
• Key scripts:
• HapticCollider.cs, HapticPlugin.cs – core haptic interface
• DestroyOnInteraction.cs – removal of rotten particles
• SceneControl.cs – (future) scene management
Insights from README
• Lists hierarchy items as Unity GameObjects and their components
• Describes the haptic interaction loop: collision → K-key press → rotten part removal
• Advises how to set up the Phantom-Omni driver and HapticActor Device Identifier