Commit Graph

4295 Commits

Author SHA1 Message Date
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
d2d0e42e9e Add target camera radius and zoom properties to ViewportHost 2026-04-27 00:54:39 +02:00
34488867e0 Add constants for smooth zoom response 2026-04-27 00:53:42 +02:00
94cc244383 Require active session when updating transform preview handler 2026-04-27 00:34:57 +02:00
1e298b56d2 Remove unused TransformSessionState type import 2026-04-27 00:34:56 +02:00
323abada10 Add test case for committing transform preview on Enter key press 2026-04-27 00:33:21 +02:00
41bf3ef5c1 Remove unused TransformSessionState import from test file 2026-04-27 00:33:21 +02:00
2cc0ac1dcc Update transform preview handler name and error message 2026-04-27 00:33:21 +02:00
33dc7e8749 Feature: Implement and integrate transform preview change handling 2026-04-27 00:32:30 +02:00
7f3ad26c46 Improve transform session state management by explicitly clearing the active session reference upon state changes, clear operations, or errors. 2026-04-27 00:32:05 +02:00
40e82d216f Sync latest active transform session reference 2026-04-27 00:31:40 +02:00
0b45a76539 Initialize ref for tracking active transform session 2026-04-27 00:31:40 +02:00