Commit Graph

4306 Commits

Author SHA1 Message Date
5950ddb1cd Update ViewportCanvas tests to use EditorSimulationController 2026-04-27 15:46:11 +02:00
00e8ef9c82 Include interaction mapping in scene document JSON tests 2026-04-27 15:46:11 +02:00
9c7fdef4aa Add interaction input to player locomotion tests 2026-04-27 15:46:11 +02:00
3eca45c54b Test: Verify RuntimeHost uses authored input bindings for interaction 2026-04-27 15:45:07 +02:00
6fe5ddead5 Sync simulation data (lights, NPCs, interactables, models) to viewport 2026-04-27 15:44:55 +02:00
41c2f316e6 Test: Add migration test for Player Start input bindings 2026-04-27 15:44:22 +02:00
634fb57bed Implement updateSimulationFrame to synchronize viewport state with running simulation 2026-04-27 15:44:15 +02:00
e331e94715 Update serialization version for interaction angles and track interactable state in viewport host 2026-04-27 15:44:15 +02:00
785759f74f Refactor ViewportCanvas to use EditorSimulationController for simulation and background updates 2026-04-27 15:43:58 +02:00
8750b7aab4 Add serialization test for player start interact bindings 2026-04-27 15:43:58 +02:00
0653d740f1 Update Player Start inspector tests to cover locomotion and interact bindings 2026-04-27 15:43:58 +02:00
2fbe69f243 Refactor ViewportPanel to use EditorSimulationController and add unit tests for player interact input bindings 2026-04-27 15:43:36 +02:00
775cbbb976 Refactor simulation state management using snapshot data 2026-04-27 15:43:25 +02:00
1c762715a4 auto-git:
[change] src/app/App.tsx
 [change] src/document/migrate-scene-document.ts
2026-04-27 15:43:25 +02:00
5a6e9ba792 Centralize editor simulation control using dedicated controller API 2026-04-27 15:43:02 +02:00
7c4545ac1b Refactor simulation reset logic to use controller method 2026-04-27 15:43:02 +02:00
e79a1dec22 Refactor simulation state management using dedicated controller 2026-04-27 15:42:38 +02:00
5548eaa17f auto-git:
[change] src/app/App.tsx
 [change] src/runtime-three/runtime-host.ts
2026-04-27 15:42:22 +02:00
b617056593 Initialize and reset previous interact input state in RuntimeHost. 2026-04-27 15:41:57 +02:00
138e1ba57a Implement EditorSimulationController for runtime state simulation. 2026-04-27 15:41:57 +02:00
83861d12fa Track previous interact input state in RuntimeHost. 2026-04-27 15:41:57 +02:00
50f9e145e4 Improve interaction prompt phrasing and add player start interaction logic. 2026-04-27 15:41:57 +02:00
94d30252df Improve interaction prompt display to include gamepad bindings 2026-04-27 15:41:08 +02:00
0b106a4eaa Remove unused mouse binding code imports 2026-04-27 15:41:08 +02:00
247a16ba6d Update input labels to include mouse binding information 2026-04-27 15:41:08 +02:00
267ca6b262 Add support for mouse button bindings for player start actions 2026-04-27 15:40:09 +02:00
1b3b408c86 Add interact binding support for player start inputs (keyboard, gamepad, mouse) 2026-04-27 15:39:54 +02:00
7462835bb4 Add interaction action support and define mouse binding codes 2026-04-27 15:39:22 +02:00
2710c6a4ff Use readFiniteNumberDraft for interaction angle reading 2026-04-27 15:22:52 +02:00
127135e75e Update scene document migration to handle interaction reach version 2026-04-27 15:22:52 +02:00
0857b83a09 Improve horizontal distance calculations for interaction targeting 2026-04-27 15:21:28 +02:00
7cc6fb9ad6 Refactor interaction view direction to use yaw telemetry when horizontal view is minimal 2026-04-27 15:20:43 +02:00
8589e3c114 Refactor interaction system logic and add angle validation to scene documents 2026-04-27 15:20:07 +02:00
c773498acd Update coordinates and interaction expectations in RuntimeInteractionSystem tests 2026-04-27 15:19:44 +02:00
2a8474a73b Update runtime interaction tests to use directional view vectors instead of discrete rays 2026-04-27 15:18:43 +02:00
b80a62d180 Update player start serialization tests to include interaction angle/sector logic 2026-04-27 15:18:08 +02:00
df16fb067b Update Player Start inspector tests to handle interaction angle 2026-04-27 15:17:53 +02:00
9978885397 Add default interaction angle to player start entity tests 2026-04-27 15:17:53 +02:00
f02709b0cb Feature: Add player start interaction angle configuration 2026-04-27 15:17:31 +02:00
48ed6988c4 Refactor interaction prompt calculation to use configurable angle degrees 2026-04-27 15:17:07 +02:00
7d4c8000c3 Refactor interaction prompt resolution to use view cone logic and introduce 2D vector utilities 2026-04-27 15:16:49 +02:00
c127b8c919 Validate player start interaction angle 2026-04-27 15:15:50 +02:00
427d9620f9 Feat: Add interaction angle to player start settings and update document migration 2026-04-27 15:15:42 +02:00
e1edb41713 Feat: Add interaction angle support to PlayerStartEntity 2026-04-27 15:15:29 +02:00
ccfa69746c Refactor camera calculations to use clamping functions and implement smooth zoom updates. 2026-04-27 00:56:20 +02:00
72d4643ff9 Refactor camera zoom to use smooth, stepped transitions for perspective and orthographic views 2026-04-27 00:55:55 +02:00
2ddabc0566 Fix smooth zoom response for zero delta time 2026-04-27 00:55:55 +02:00
6ebc875fd4 Feature: Implement smooth camera zooming and distance clamping in ViewportHost 2026-04-27 00:55:05 +02:00
ab7ebcd8ec Use target camera radius and zoom when calculating view state 2026-04-27 00:54:39 +02:00
c98d513ebf Refine smooth zoom handling during view mode changes and camera updates 2026-04-27 00:54:39 +02:00