docs: add Phase 5-2 rigid body simulation status and deferred items
Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
This commit is contained in:
@@ -49,6 +49,13 @@
|
||||
- **Incremental BVH 업데이트** — 매 프레임 전체 rebuild. 성능 이슈 시 incremental update 적용.
|
||||
- **연속 충돌 감지 (CCD)** — 이산 충돌만. 빠른 물체의 터널링 미처리.
|
||||
|
||||
## Phase 5-2
|
||||
|
||||
- **각속도/회전 물리** — angular_velocity 필드만 존재, 적분 미구현. 관성 텐서 필요.
|
||||
- **마찰 (Coulomb)** — 미구현. 물체가 미끄러짐 없이 반발만.
|
||||
- **Sequential Impulse 솔버** — 단일 반복 충돌 응답만. 다중 물체 쌓기 불안정.
|
||||
- **Sleep/Island 시스템** — 정지 물체 최적화 미구현.
|
||||
|
||||
## 렌더링 한계
|
||||
|
||||
- **per-entity dynamic UBO** — 수천 개 이상은 인스턴싱 필요.
|
||||
|
||||
@@ -62,6 +62,12 @@
|
||||
- voltex_physics: Narrow phase — sphere_vs_sphere, sphere_vs_box, box_vs_box (SAT)
|
||||
- voltex_physics: detect_collisions(world) ECS integration
|
||||
|
||||
### Phase 5-2: Rigid Body Simulation
|
||||
- voltex_physics: RigidBody (mass, velocity, restitution), PhysicsConfig
|
||||
- voltex_physics: Semi-implicit Euler integration
|
||||
- voltex_physics: Impulse-based collision response + positional correction (Baumgarte)
|
||||
- voltex_physics: physics_step (integrate → detect → resolve)
|
||||
|
||||
## Crate 구조
|
||||
|
||||
```
|
||||
@@ -71,15 +77,15 @@ crates/
|
||||
├── voltex_renderer — GPU, Mesh, OBJ, Camera, Material, PBR, Shadow, IBL, Sphere
|
||||
├── voltex_ecs — Entity, SparseSet, World, Transform, Hierarchy, Scene, WorldTransform
|
||||
├── voltex_asset — Handle<T>, AssetStorage<T>, Assets
|
||||
└── voltex_physics — Collider, ContactPoint, BvhTree, detect_collisions
|
||||
└── voltex_physics — Collider, ContactPoint, BvhTree, RigidBody, detect_collisions, physics_step
|
||||
```
|
||||
|
||||
## 테스트: 136개 전부 통과
|
||||
## 테스트: 147개 전부 통과
|
||||
|
||||
- voltex_asset: 14
|
||||
- voltex_ecs: 39
|
||||
- voltex_math: 35 (29 + AABB 6)
|
||||
- voltex_physics: 25 (collider 2 + narrow 11 + bvh 5 + collision 7)
|
||||
- voltex_physics: 36 (collider 2 + narrow 11 + bvh 5 + collision 7 + rigid_body 3 + integrator 3 + solver 5)
|
||||
- voltex_platform: 3
|
||||
- voltex_renderer: 20
|
||||
|
||||
@@ -95,7 +101,7 @@ crates/
|
||||
- shadow_demo — Directional Light 그림자
|
||||
- ibl_demo — Normal map + IBL
|
||||
|
||||
## 다음: Phase 5-2 (리지드바디 시뮬레이션)
|
||||
## 다음: Phase 5-3 (레이캐스팅)
|
||||
|
||||
스펙 참조: `docs/superpowers/specs/2026-03-24-voltex-engine-design.md`
|
||||
|
||||
|
||||
Reference in New Issue
Block a user