Broken rope physics

This commit is contained in:
ASOwnerYT
2026-07-25 21:51:39 +12:00
parent d66570169a
commit 31c7861266
6 changed files with 480 additions and 7 deletions
+7 -3
View File
@@ -39,16 +39,20 @@ transform = Transform3D(1, 0, 0, 0, 0.25881907, 0.9659258, 0, -0.9659258, 0.2588
shadow_enabled = true
[node name="Player1" parent="." unique_id=68487004 instance=ExtResource("1_e2xum")]
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, -8, 1, 0)
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, -1.1742709, 1, 0)
[node name="Player2" parent="." unique_id=432105976 instance=ExtResource("1_e2xum")]
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 9, 1, 0)
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 1.182826, 1, 0)
player_id = 2
[node name="Path3DRope" parent="." unique_id=301387047 instance=ExtResource("2_jetiq")]
curve = SubResource("Curve3D_jetiq")
attach_start_path = NodePath("../Player1")
attach_end_path = NodePath("../Player2")
number_of_segments = 32
max_length = 6.0
reel_speed = 2.0
tension_start = 4.8
snap_length = 10.0
number_of_segments = 12
cable_thickness = 0.05
fixed_start_point = false