feat: pause/resume physics + reset scene buttons in ImGui

- 'Pause Physics' / 'Resume Physics' toggle button in debug panel
- 'Reset Scene' button: deletes all objects (except Camera, lights, Floor),
  recreates scene via CreateObjects()
- CreateScene split: CreateScene (floor + lights) vs CreateObjects (all
  dynamic/decorative objects) — Reset only recreates objects
- physicsEnabled flag controls physicsWorld.Update + SyncTransforms
- Removed duplicate light creation in CreateObjects
This commit is contained in:
emil28092005
2026-06-19 09:39:33 +03:00
parent 74dcc45543
commit ef7c808304
2 changed files with 55 additions and 20 deletions
+1 -1
View File
@@ -30,7 +30,7 @@ Collapsed=0
[Window][Shadow & Light Parameters]
Pos=2,200
Size=458,524
Size=223,506
Collapsed=0
[Window][Video Recording]