Menu: stylus sticks out of the hand front and matches the touch point; haptic ticks for hover, release, sliders, scrolling

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
FoxyzandClaude Opus 5.5 committed 2026-10-02 06:10:27 +03:00
1 parent 2f2fcd0aa2
commit d0b50fbc41
6 files changed
+95 -6

No files matched your search

+5
View File
@@ -162,6 +162,11 @@ TERMINOLOGY (owner-corrected — use precisely):
release flings (velocity smoothed at 30/s, decay `FlingDecay` 5/s, stops below 30 px/s or at an
end), and NO click is sent. Released sooner = tap: motion + press + release sent together at
the contact point. While held back, mouse events carry no button mask.
**Stylus**: touch point = `TipLength` 0.11 m along the aim ray, drawn by `Locomotion.MakeTip` as
a cone from `StylusBase` 0.06 (front of the 12 cm hand box) to exactly that tip.
**Haptics** (`MenuScreen.Haptic(hand, amplitude, seconds)` → `TriggerHapticPulse`): press
(PointerPressed), hover onto a new enabled button/slider/tab bar 0.12, click release 0.25,
slider every 1/20 of range, swipe every 48 px, wheel notch.
- **MainMenu.cs** — the menu content (`PanelContainer`, built in code, own `Theme`: 26 px font,
64 px buttons ≈ 24 mm, round 36 px slider grabber, wide scrollbar, hover/pressed styles, no focus
boxes). Header: title, FPS (4 Hz), Close. Tabs: **Player** (Return to spawn, Recalibrate body),