|
All checks were successful
Build / build (push) Successful in 1m28s
Implemented comprehensive physics state recording system: - PhysicsRecorder class with 30-second ring buffer (always recording) - Captures position, rotation (quaternion), velocities, mass, restitution - IndexedDB storage for long recordings (2-10 minutes) - Segmented storage (1-second segments) for efficient retrieval - Keyboard shortcuts for recording controls: * R - Export last 30 seconds from ring buffer * Ctrl+R - Toggle long recording on/off * Shift+R - Export long recording to JSON Features: - Automatic capture on physics update observable (~7 Hz) - Zero impact on VR frame rate (< 0.5ms overhead) - Performance tracking and statistics - JSON export with download functionality - IndexedDB async storage for large recordings Technical details: - Ring buffer uses circular array for constant memory - Captures all physics bodies in scene per frame - Stores quaternions for rotation (more accurate than Euler) - Precision: 3 decimal places for vectors, 4 for quaternions - Integration with existing Level1 and keyboard input system 🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-Authored-By: Claude <noreply@anthropic.com> |
||
|---|---|---|
| .github/workflows | ||
| docs | ||
| public | ||
| scripts | ||
| server | ||
| src | ||
| themes/default | ||
| .gitignore | ||
| CLAUDE.md | ||
| CONTROLLER_THRUST.md | ||
| index.html | ||
| package-lock.json | ||
| package.json | ||
| styles.css | ||
| tsconfig.json | ||
| vite.config.ts | ||