Commit Graph

396 Commits

Author SHA1 Message Date
45895e5338 Improve pointer lock handling and dedicated escape key release logic 2026-04-27 19:30:13 +02:00
b5926bcce6 Add event listeners for pointer lock escape key handling 2026-04-27 19:29:48 +02:00
81bb7f30f4 Track time of last pointer lock release 2026-04-27 19:29:48 +02:00
a60f6f1abc Define grace period for pointer lock escape release 2026-04-27 19:29:48 +02:00
1a6d207801 Handle Escape key exit from pointer lock and remove redundant test case in third-person controller 2026-04-27 19:01:16 +02:00
1f198aee02 Refactor first-person navigation logic and remove explicit pointer lock handling 2026-04-27 18:44:15 +02:00
2d194832aa Improve pointer lock handling and context usage across runtime components 2026-04-27 18:43:48 +02:00
c443db3006 Refactor pointer lock handling and navigation state logic 2026-04-27 18:43:10 +02:00
8359907f8c Refine pointer lock state management and request logic 2026-04-27 18:26:52 +02:00
eb7b27e05b Refactor pointer capture logic and remove third-person pointer lock target clearing 2026-04-27 18:22:25 +02:00
2252a1dc4f Improve pointer lock release handling in runtime host and simplify pointer capture logic 2026-04-27 18:20:41 +02:00
6033089ad8 Refactor: Simplify third-person pointer lock and escape key handling 2026-04-27 18:16:05 +02:00
eb7dd51df3 Implement handling for third-person pointer lock release 2026-04-27 18:12:53 +02:00
4940456cb8 Update clock synchronization logic in RuntimeHost 2026-04-27 18:00:18 +02:00
90e1a84fc3 Only refresh collision world if scene is ready and NPC colliders changed 2026-04-27 17:52:16 +02:00
9142330a14 Refactor pointer lock handling and controller deactivation logic in RuntimeHost 2026-04-27 17:19:41 +02:00
4c38fc7abb Rename NPC collection refresh function and update usage 2026-04-27 16:31:16 +02:00
84054e1908 Implement runtime refresh for NPC collections 2026-04-27 16:31:16 +02:00
d1b2a31238 Refactor: Only recreate runtime schedule context if the scene changes 2026-04-27 16:30:17 +02:00
4a3d44513e Refactor runtime schedule synchronization to use a centralized sync context and result object 2026-04-27 16:29:51 +02:00
4fbdcc73f8 Integrate and manage runtime schedule synchronization context in RuntimeHost 2026-04-27 16:29:12 +02:00
3074d523d7 Improve simulation updates using frame versions and enhance player input binding logic 2026-04-27 16:06:23 +02:00
43d39565d7 Enhance runtime target management and input binding resolution 2026-04-27 15:57:26 +02:00
715f819f76 Feature: Implement and test clear target functionality for player start actions 2026-04-27 15:56:49 +02:00
d09c550ffe Refactor: Improve type safety and readability across entity and player start logic 2026-04-27 15:55:35 +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
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
7cc6fb9ad6 Refactor interaction view direction to use yaw telemetry when horizontal view is minimal 2026-04-27 15:20:43 +02:00
48ed6988c4 Refactor interaction prompt calculation to use configurable angle degrees 2026-04-27 15:17:07 +02:00
767787c1e1 Enhance interaction prompt by calculating and using three directional rays (center, left, right) 2026-04-26 23:04:50 +02:00
9853486a74 Add default player interaction reach distance and interaction prompt angle constant 2026-04-26 23:04:29 +02:00
f2ac48a582 Adjust targeting proposal focus Y coordinate to positive bias 2026-04-26 21:52:25 +02:00
e434164739 Adjust targeting proposal screen distance calculation using a focus Y offset 2026-04-26 21:51:07 +02:00
c550ca7634 Refactor: Improve readability of function signatures and calls in advanced rendering modules 2026-04-26 05:39:19 +02:00
04f136b3a7 Apply renderer render categories to model groups and NPCs. 2026-04-26 05:36:17 +02:00
97ffd899a2 Apply renderer render categories to brush and terrain meshes. 2026-04-26 05:36:17 +02:00
295d0648f7 Enable objects for all renderer render categories on added lights. 2026-04-26 05:36:17 +02:00
3e3777cf2d Enable and apply rendering categories for cameras and scene objects 2026-04-26 05:34:43 +02:00
e3805db485 Apply rendering categories to creation previews and scene elements 2026-04-26 05:34:43 +02:00
e562ffa608 Ensure camera collision smoothing is reset in RuntimeHost 2026-04-25 19:01:30 +02:00
af7a409b5d Refactor: Improve structure and parameter passing for applyCameraPose 2026-04-25 19:00:23 +02:00
ce2ad181e9 Pass time delta (dt) when applying camera pose 2026-04-25 19:00:23 +02:00
598c4b724d Implement camera collision smoothing and position resolution 2026-04-25 18:59:50 +02:00
cd3062fd01 Revert camera collision resolution to use collision world's method 2026-04-25 18:59:32 +02:00
5d8dbcc7ed Update camera collision resolution to use smoothed calculation 2026-04-25 18:59:32 +02:00
f584c04ecd Add camera collision state variables to RuntimeHost 2026-04-25 18:58:41 +02:00
17de46de21 Add camera collision constants 2026-04-25 18:58:41 +02:00
727485434e Implement dynamic update logic for active target indicators 2026-04-25 18:43:44 +02:00