Skip to content

Instantly share code, notes, and snippets.

@kkolyan
Created September 17, 2023 23:16
Show Gist options
  • Save kkolyan/ab689504c6045f244d0c161cc6c361c3 to your computer and use it in GitHub Desktop.
Save kkolyan/ab689504c6045f244d0c161cc6c361c3 to your computer and use it in GitHub Desktop.
[gd_scene load_steps=8 format=3 uid="uid://bprhlq75dwna7"]
[sub_resource type="PhysicsMaterial" id="PhysicsMaterial_3l6mr"]
[sub_resource type="SphereShape3D" id="SphereShape3D_8ni5a"]
[sub_resource type="SphereMesh" id="SphereMesh_j5rkg"]
[sub_resource type="SphereShape3D" id="SphereShape3D_dtp7p"]
[sub_resource type="SphereMesh" id="SphereMesh_ub7ld"]
[sub_resource type="SphereMesh" id="SphereMesh_ehf4s"]
[sub_resource type="SphereMesh" id="SphereMesh_rwtgw"]
[node name="joints3d" type="Node3D"]
[node name="Link" type="PinJoint3D" parent="."]
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 0, -3, 0)
node_a = NodePath("../Anchor")
node_b = NodePath("../Loop")
params/bias = 0.99
params/damping = 0.73
params/impulse_clamp = 64.0
[node name="Link2" type="PinJoint3D" parent="."]
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 0, -1, 0)
node_a = NodePath("../Loop")
node_b = NodePath("../_RigidBody2D_2")
params/bias = 0.99
params/impulse_clamp = 3.56
[node name="Link3" type="PinJoint3D" parent="."]
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 0, -2, 0)
node_a = NodePath("../_RigidBody2D_2")
node_b = NodePath("../_RigidBody2D_3")
params/bias = 0.99
params/impulse_clamp = 3.56
[node name="Anchor" type="StaticBody3D" parent="."]
physics_material_override = SubResource("PhysicsMaterial_3l6mr")
[node name="CollisionShape2D" type="CollisionShape3D" parent="Anchor"]
shape = SubResource("SphereShape3D_8ni5a")
[node name="MeshInstance3D" type="MeshInstance3D" parent="Anchor/CollisionShape2D"]
mesh = SubResource("SphereMesh_j5rkg")
[node name="Loop" type="RigidBody3D" parent="."]
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 0, -1, 0)
sleeping = true
linear_velocity = Vector3(0, 0.000647632, 0)
[node name="CollisionShape2D" type="CollisionShape3D" parent="Loop"]
shape = SubResource("SphereShape3D_dtp7p")
[node name="MeshInstance3D" type="MeshInstance3D" parent="Loop"]
mesh = SubResource("SphereMesh_ub7ld")
[node name="_RigidBody2D_2" type="RigidBody3D" parent="."]
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 0, -2, 0)
sleeping = true
linear_velocity = Vector3(0, -0.000568447, 0)
[node name="CollisionShape2D" type="CollisionShape3D" parent="_RigidBody2D_2"]
shape = SubResource("SphereShape3D_dtp7p")
[node name="MeshInstance3D" type="MeshInstance3D" parent="_RigidBody2D_2"]
mesh = SubResource("SphereMesh_ehf4s")
[node name="_RigidBody2D_3" type="RigidBody3D" parent="."]
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 0.184043, -3, 0)
sleeping = true
linear_velocity = Vector3(0, 0.00129515, 0)
[node name="CollisionShape2D" type="CollisionShape3D" parent="_RigidBody2D_3"]
shape = SubResource("SphereShape3D_dtp7p")
[node name="MeshInstance3D" type="MeshInstance3D" parent="_RigidBody2D_3"]
mesh = SubResource("SphereMesh_rwtgw")
[node name="Chain" type="Node3D" parent="."]
[node name="Camera3D" type="Camera3D" parent="."]
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 0, -3.17987, 6.55998)
[node name="DirectionalLight3D" type="DirectionalLight3D" parent="."]
transform = Transform3D(0.451761, 0.382024, 0.806207, -0.645711, 0.763582, 1.21979e-08, -0.615605, -0.520577, 0.591633, -6.01871, -1.23924, 0)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment