feat: Implement kinematic-to-ragdoll transition system

- Added KINEMATIC_BLENDING_AND_RECOVERY.md to outline features for smooth transitions between kinematic and ragdoll states, including visual and physical blending, and ragdoll recovery.
- Introduced KINEMATIC_TO_RAGDOLL.md detailing the objectives, scope, and core architecture for transitioning the stickman from kinematic to ragdoll mode.
- Created KINEMATIC_TO_RAGDOLL_SPEC.md as an implementation specification, verifying codebase facts and correcting the initial plan based on Godot 4.4 source.
- Enhanced StickmanRig with state management for animated and ragdoll modes, including momentum preservation and ragdoll construction.
- Updated physics_test_harness to support toggling between kinematic and ragdoll states with user input.
This commit is contained in:
2026-08-27 00:05:17 -04:00
parent 6edf3e53e3
commit e3df1cc5c0
12 changed files with 1325 additions and 57 deletions
+5 -5
View File
@@ -1,12 +1,12 @@
[gd_scene format=3]
[gd_scene format=3 uid="uid://dib8otk34bnb7"]
[ext_resource type="Script" path="res://scripts/physics_test_harness.gd" id="1_harness"]
[ext_resource type="Script" uid="uid://cvejolojthtcs" path="res://scripts/physics_test_harness.gd" id="1_harness"]
[node name="PhysicsTestHarness" type="Node2D"]
[node name="PhysicsTestHarness" type="Node2D" unique_id=1744152756]
script = ExtResource("1_harness")
[node name="Camera2D" type="Camera2D" parent="."]
[node name="Camera2D" type="Camera2D" parent="." unique_id=1663373236]
position = Vector2(0, -400)
zoom = Vector2(0.5, 0.5)
[node name="Environment" type="Node2D" parent="."]
[node name="Environment" type="Node2D" parent="." unique_id=1200920843]