Commit Graph

5006 Commits

Author SHA1 Message Date
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
4558499107 Test: Verify trigger volume detection works correctly when rotated 2026-05-11 14:11:05 +02:00
a0193bcce1 Enhance scene document serialization tests with explicit transform defaults and migration checks 2026-05-11 14:10:55 +02:00
e139329955 Update transform operation tests to reflect supported rotation capability 2026-05-11 14:10:55 +02:00
e1cbdc827c feat(test): Add comprehensive tests for commit transform sessions (scale/rotate) on entities 2026-05-11 14:10:24 +02:00
c558d03426 Update integration tests to include scale definitions 2026-05-11 14:09:52 +02:00
32cd985d07 Update transform session command tests to include scale definitions 2026-05-11 14:08:41 +02:00
541dade860 Add default scale support to createNpc function in unit tests 2026-05-11 14:08:41 +02:00
0b741474f5 Update runtime interaction system tests with default scale and rotation values 2026-05-11 14:08:41 +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
5dc0fd02d2 Initialize state drafts for trigger volume rotation and NPC scale 2026-05-11 14:05:07 +02:00
26c3699499 Add default constants for NPC scale and trigger volume rotation 2026-05-11 14:05:07 +02:00
e1471629d8 Apply NPC scale factors to collision and dimension calculations 2026-05-11 14:03:20 +02:00
ec284483b6 Refine player trigger volume raycast bounds check in local space 2026-05-11 14:03:02 +02:00
e0030c8bc5 Apply scaling factor to NPC target radius calculations 2026-05-11 14:03:02 +02:00
eb0a8a429f Scale NPC dialogue target bounds calculations 2026-05-11 14:01:53 +02:00
3d03a4f6b9 Apply NPC scale to render and collision groups 2026-05-11 14:01:53 +02:00
fa5150ea5f Apply scaling to NPC collider dimensions (capsule and box) 2026-05-11 14:01:21 +02:00
f1ef5a37de Pass rotation and scale when building runtime scene collections 2026-05-11 14:01:21 +02:00
649e4ae717 Add scale support to RuntimeNpc and RuntimeTriggerVolume definitions 2026-05-11 14:01:21 +02:00
4f48ff7d94 Implement viewport rendering for triggerVolume and npc entities 2026-05-11 14:00:38 +02:00
7c36d50ee0 Update ViewportHost to handle triggerVolume and NPC transforms 2026-05-11 14:00:05 +02:00
a244f00079 Add scale property to ViewportHost 2026-05-11 14:00:05 +02:00
da0647495c Apply entity rotation degrees when creating trigger volume render objects 2026-05-11 13:59:36 +02:00
9b80afca6a Use dynamic entity scale in ViewportHost 2026-05-11 13:59:22 +02:00
d6cf9ec001 Implement dedicated handling for trigger volumes and adjust camera rig scaling for NPCs 2026-05-11 13:59:11 +02:00
e25302d940 Remove axis-aligned box surface snap support points creation 2026-05-11 13:59:11 +02:00
3b273999e1 Update surface snap calculation to use oriented bounding boxes 2026-05-11 13:58:49 +02:00
c807b34d8d Add support for oriented box surface snap points 2026-05-11 13:58:49 +02:00
9ae201d13f Implement support for oriented box surface snap points 2026-05-11 13:58:24 +02:00
77e6a147ea Refactor target kind checks for scale operation using supportsTransformOperation 2026-05-11 13:58:14 +02:00
937be04240 Implement quaternion creation for euler rotation type in ViewportHost 2026-05-11 13:58:14 +02:00
99e8e136e2 Refactor viewport scaling logic to support model instances and improve entity scale handling 2026-05-11 13:57:42 +02:00
7128912042 Add helper method to resolve entity scale constraint axis 2026-05-11 13:56:56 +02:00
7e68139523 Feat: Support scale previews for entities and improve viewport target handling 2026-05-11 13:56:47 +02:00
954acbcd93 Enhance ViewportHost state management: Add scale consistency and implement euler rotation updates 2026-05-11 13:56:29 +02:00
27996819bd Refactor ViewportHost state calculation to support scale and improve euler rotation handling 2026-05-11 13:56:16 +02:00
2983fbdcf6 Include scale in ViewportHost target state calculation 2026-05-11 13:56:16 +02:00
57944ee147 Add utility functions for transform states and material caching 2026-05-11 13:55:56 +02:00
72bae09629 Add transform state types and default constants 2026-05-11 13:55:56 +02:00
f073e4247b Enhance entity transformation logic to support euler rotations and detailed size/scale properties 2026-05-11 13:55:31 +02:00