Commit Graph

4148 Commits

Author SHA1 Message Date
d00404ece3 Use default target anchor when resolving NPC target center 2026-05-11 22:00:39 +02:00
a12292b5a4 auto-git:
[change] src/viewport-three/viewport-host.ts
2026-05-11 21:59:16 +02:00
778e483aad Implement NPC target anchor selection and custom offset inputs 2026-05-11 21:57:52 +02:00
436ec50197 Feature: Add target anchor support for NPC entities 2026-05-11 21:57:32 +02:00
b82d60e61b Add state management for NPC target anchor mode and offset 2026-05-11 21:57:24 +02:00
14a283010e Implement NPC target anchor features 2026-05-11 21:57:16 +02:00
59521f40eb auto-git:
[change] src/runtime-three/runtime-interaction-system.ts
2026-05-11 21:56:44 +02:00
a53e045a83 auto-git:
[change] src/runtime-three/runtime-scene-build.ts
2026-05-11 21:56:12 +02:00
60693e278f auto-git:
[change] src/runtime-three/runtime-scene-build.ts
2026-05-11 21:56:04 +02:00
4879fd1257 auto-git:
[change] src/runtime-three/runtime-scene-build.ts
2026-05-11 21:55:59 +02:00
1ac25b9edf auto-git:
[change] src/runtime-three/runtime-scene-build.ts
2026-05-11 21:55:54 +02:00
8b9d2af28f Validate NPC target anchor structure, mode, and offset 2026-05-11 21:55:48 +02:00
f26f246c8a Add validation utility for NPC target anchor mode 2026-05-11 21:55:48 +02:00
30ef861817 Update scene document migration compatibility for NPC target versions 2026-05-11 21:55:48 +02:00
34dba2d4c8 Implement readNpcTargetAnchor function 2026-05-11 21:55:20 +02:00
9cd41e49b8 Add target anchor reading to NPC entity migration 2026-05-11 21:55:20 +02:00
5445607a07 Add NPC target anchor version constant 2026-05-11 21:55:20 +02:00
b8ac03fda5 Update document migration to include NPC target anchor settings and types 2026-05-11 21:55:02 +02:00
77283403fa Add target anchor support to NPC entity creation and comparison 2026-05-11 21:55:02 +02:00
bc86a44e94 Add NPC Target Anchor utilities and factory function 2026-05-11 21:54:39 +02:00
2631ba6a00 Add NPC target anchor system to entity instances 2026-05-11 21:54:30 +02:00
82866c28ce Update scene document versions and add NPC target anchor version 2026-05-11 21:54:30 +02:00
9ba93694cc Update document migration checks to use default version constant 2026-05-11 21:36:39 +02:00
c30aa4fbc8 Update migration logic and set default NPC targetability to true in tests 2026-05-11 21:34:59 +02:00
3b4302c4a4 Simplify legacy NPC targeting check by removing sequence dependency 2026-05-11 21:34:51 +02:00
b6968474e2 Update migration logic for sequence steps and include new document version 2026-05-11 21:33:47 +02:00
28ffe766ae Bump scene document version and add default NPC targeting version 2026-05-11 21:33:47 +02:00
a8481b12a5 auto-git:
[change] src/entities/entity-instances.ts
2026-05-11 21:33:09 +02:00
b9c45cd284 auto-git:
[change] src/viewport-three/viewport-host.ts
2026-05-11 21:28:41 +02:00
4d39cd020e Feature: Add UI control and state management for NPC targetability 2026-05-11 21:23:53 +02:00
925c5f73a1 Enhance runtime interaction system to require NPC targetability 2026-05-11 21:23:39 +02:00
f87d948109 Add validation and runtime support for NPC targetable property 2026-05-11 21:23:28 +02:00
5d4e67de48 Add migration logic for NPC targeting in scene and project documents 2026-05-11 21:23:20 +02:00
876a28646c Implement migration logic for NPC targetability in scenes and projects 2026-05-11 21:23:07 +02:00
fcbd2f58db Add support for NPC targetability in scene document migration 2026-05-11 21:22:32 +02:00
2ca8d9c951 Update scene document versions for NPC targeting 2026-05-11 21:22:23 +02:00
42e2728740 Feature: Add targetable status to NPC entities 2026-05-11 21:22:23 +02:00
63a0c2e1ef Set group rotation based on yaw degrees 2026-05-11 14:19:21 +02:00
b709764dce Refactor NPC group rotation logic in RuntimeHost 2026-05-11 14:17:56 +02:00
f71bc24bde Adjust viewport host rotation and initialize facing group name 2026-05-11 14:17:55 +02:00
4b76f1a719 auto-git:
[change] src/runtime-three/runtime-scene-build.ts
 [change] src/viewport-three/transform-surface-snap.ts
 [change] src/viewport-three/viewport-host.ts
 [change] tests/domain/runtime-interaction-system.test.ts
 [change] tests/domain/transform-session.command.test.ts
 [change] tests/serialization/scene-document-json.test.ts
 [change] tests/unit/runtime-interaction-system.test.ts
 [change] tests/unit/transform-foundation.integration.test.tsx
2026-05-11 14:15:37 +02:00
01ef204dcc auto-git:
[change] src/app/App.tsx
 [change] src/commands/commit-transform-session-command.ts
 [change] src/core/transform-session.ts
 [change] src/document/migrate-scene-document.ts
 [change] src/entities/entity-instances.ts
 [change] src/runtime-three/runtime-host.ts
2026-05-11 14:15:14 +02:00
b6cadc27f9 Fix scope for modelInstances handling in ViewportHost 2026-05-11 14:14:29 +02:00
a97f57ed61 Improve type safety and structure in ViewportHost by adding kind checks and refining view logic 2026-05-11 14:13:11 +02:00
05cf64fd09 Refactor transform session logic to use explicit scope blocks for multiple target types 2026-05-11 14:12:58 +02:00
d7ef8ea4fd Enhance error handling and structure for commit transform session command 2026-05-11 14:12:58 +02:00
fd5b97f7db feat: Add support for entity transforms (scale/rotation) and update scene document version 2026-05-11 14:07:21 +02:00
7abacca0bf Feature: Add rotation (X, Y, Z) and size inputs to the form 2026-05-11 14:07:05 +02:00
263d17286b Feat: Add scale and rotation inputs for NPC and trigger volume settings 2026-05-11 14:05:33 +02:00
9aa3b27b08 Update entity selection logic to handle NPC scale and trigger volume rotation 2026-05-11 14:05:07 +02:00