Body step 2: the player is a muscle-driven ragdoll (Project TX)
PlayerRagdoll: 9 bodies, spine/neck ball joints, shoulder drives (girdle + muscle), elbow hinges, torque-capped motor PDs toward the True Body, chest->hand guides, implicit balance motor, mass-scaled ground control. PlayerRig: XR driver with stick move / snap turn and Bonelab-style push-back (eye->camera sphere sweep). Replaces the chase bodies in main.tscn; RagdollSpike regression (14 phases). Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
1 parent
d0b50fbc41
commit
d83273dd2f
16 files changed
+1487
-28
No files matched your search
+4
-16
@@ -1,4 +1,4 @@
|
||||
[gd_scene load_steps=23 format=3]
|
||||
[gd_scene load_steps=20 format=3]
|
||||
|
||||
[ext_resource type="Script" path="res://scripts/Main.cs" id="1_main"]
|
||||
[ext_resource type="PackedScene" path="res://scenes/teleport_marker.tscn" id="2_marker"]
|
||||
@@ -7,12 +7,9 @@
|
||||
[ext_resource type="Script" path="res://scripts/AnchorMoveMode.cs" id="5_anchormove"]
|
||||
[ext_resource type="Script" path="res://scripts/PropShop.cs" id="6_propshop"]
|
||||
[ext_resource type="Script" path="res://scripts/PropGrabber.cs" id="7_propgrabber"]
|
||||
[ext_resource type="Script" path="res://scripts/PhysicsHands.cs" id="8_physicshands"]
|
||||
[ext_resource type="Script" path="res://scripts/BodyRig.cs" id="9_bodyrig"]
|
||||
[ext_resource type="Script" path="res://scripts/PhysicsTorso.cs" id="10_physicsTorso"]
|
||||
[ext_resource type="Script" path="res://scripts/PhysicsArms.cs" id="11_physicsArms"]
|
||||
[ext_resource type="Script" path="res://scripts/Calibration.cs" id="12_calibration"]
|
||||
[ext_resource type="Script" path="res://scripts/TrueBody.cs" id="13_truebody"]
|
||||
[ext_resource type="Script" path="res://scripts/PlayerRig.cs" id="14_playerrig"]
|
||||
|
||||
[sub_resource type="ProceduralSkyMaterial" id="ProceduralSkyMaterial_sky"]
|
||||
sky_horizon_color = Color(0.66, 0.72, 0.81, 1)
|
||||
@@ -115,23 +112,14 @@ script = ExtResource("6_propshop")
|
||||
[node name="PropGrabber" type="Node" parent="."]
|
||||
script = ExtResource("7_propgrabber")
|
||||
|
||||
[node name="PhysicsHands" type="Node" parent="."]
|
||||
script = ExtResource("8_physicshands")
|
||||
|
||||
[node name="PhysicsTorso" type="Node" parent="."]
|
||||
script = ExtResource("10_physicsTorso")
|
||||
|
||||
[node name="PhysicsArms" type="Node" parent="."]
|
||||
script = ExtResource("11_physicsArms")
|
||||
|
||||
[node name="Calibration" type="Node" parent="."]
|
||||
script = ExtResource("12_calibration")
|
||||
|
||||
[node name="TrueBody" type="Node3D" parent="."]
|
||||
script = ExtResource("13_truebody")
|
||||
|
||||
[node name="BodyRig" type="Node3D" parent="."]
|
||||
script = ExtResource("9_bodyrig")
|
||||
[node name="PlayerRig" type="Node" parent="."]
|
||||
script = ExtResource("14_playerrig")
|
||||
|
||||
[node name="FadeLayer" type="CanvasLayer" parent="."]
|
||||
|
||||
|
||||
@@ -0,0 +1,6 @@
|
||||
[gd_scene load_steps=2 format=3]
|
||||
|
||||
[ext_resource type="Script" path="res://scripts/RagdollSpike.cs" id="1_spike"]
|
||||
|
||||
[node name="RagdollSpike" type="Node3D"]
|
||||
script = ExtResource("1_spike")
|
||||
Reference in new issue
Block a user