2022-03-20 09:00:05 +01:00
|
|
|
[gd_scene load_steps=9 format=2]
|
2020-11-07 17:36:23 +01:00
|
|
|
|
|
|
|
[ext_resource path="res://Physics/3D/StaticArena.gd" type="Script" id=2]
|
2020-11-17 19:21:50 +01:00
|
|
|
[ext_resource path="res://Physics/3D/RigidBody3D.tscn" type="PackedScene" id=3]
|
2020-11-07 17:36:23 +01:00
|
|
|
|
|
|
|
[sub_resource type="PhysicsMaterial" id=1]
|
|
|
|
friction = 0.89
|
|
|
|
rough = true
|
|
|
|
|
|
|
|
[sub_resource type="BoxShape" id=3]
|
|
|
|
extents = Vector3( 50, 2, 50 )
|
|
|
|
|
2022-03-20 09:00:05 +01:00
|
|
|
[sub_resource type="CubeMesh" id=8]
|
2020-11-07 17:36:23 +01:00
|
|
|
|
|
|
|
[sub_resource type="BoxShape" id=5]
|
|
|
|
extents = Vector3( 50, 20, 5 )
|
|
|
|
|
|
|
|
[sub_resource type="BoxShape" id=6]
|
|
|
|
extents = Vector3( 11.8794, 1.37845, 22.281 )
|
|
|
|
|
|
|
|
[sub_resource type="BoxShape" id=7]
|
|
|
|
extents = Vector3( 11.8794, 1.37845, 22.281 )
|
|
|
|
|
|
|
|
[node name="Physics3D" type="Spatial"]
|
|
|
|
|
|
|
|
[node name="DirectionalLight" type="DirectionalLight" parent="."]
|
|
|
|
transform = Transform( 1, 0, 0, 0, -0.959707, 0.281002, 0, -0.281002, -0.959707, 0, 35.3705, 0 )
|
|
|
|
light_energy = 1.45
|
|
|
|
|
|
|
|
[node name="StaticArena" type="Spatial" parent="."]
|
|
|
|
script = ExtResource( 2 )
|
|
|
|
|
|
|
|
[node name="StaticBody" type="StaticBody" parent="StaticArena"]
|
|
|
|
collision_layer = 2147483651
|
|
|
|
collision_mask = 279045
|
|
|
|
physics_material_override = SubResource( 1 )
|
|
|
|
|
|
|
|
[node name="CollisionShape" type="CollisionShape" parent="StaticArena/StaticBody"]
|
|
|
|
shape = SubResource( 3 )
|
|
|
|
|
2022-03-20 09:00:05 +01:00
|
|
|
[node name="MeshInstance" type="MeshInstance" parent="StaticArena/StaticBody"]
|
|
|
|
mesh = SubResource( 8 )
|
|
|
|
|
2020-11-07 17:36:23 +01:00
|
|
|
[node name="StaticBody2" type="StaticBody" parent="StaticArena"]
|
|
|
|
transform = Transform( 1, 0, 0, 0, 1, 0, 0, 0, 1, 0, 18.1689, 1.64214 )
|
|
|
|
collision_layer = 2147483651
|
|
|
|
collision_mask = 279045
|
|
|
|
physics_material_override = SubResource( 1 )
|
|
|
|
|
2022-03-20 09:00:05 +01:00
|
|
|
[node name="MeshInstance2" type="MeshInstance" parent="StaticArena/StaticBody2"]
|
|
|
|
transform = Transform( 1, 0, 0, 0, 1, 0, 0, 0, 1, 0, -18.1689, -1.64214 )
|
|
|
|
mesh = SubResource( 8 )
|
|
|
|
skeleton = NodePath("../../StaticBody")
|
2020-11-07 17:36:23 +01:00
|
|
|
|
|
|
|
[node name="CollisionShape" type="CollisionShape" parent="StaticArena/StaticBody2"]
|
|
|
|
transform = Transform( 1, 0, 0, 0, 1, 0, 0, 0, 1, 0, 0, -46.709 )
|
|
|
|
shape = SubResource( 5 )
|
|
|
|
|
|
|
|
[node name="StaticBody3" type="StaticBody" parent="StaticArena"]
|
|
|
|
transform = Transform( 1, 0, 0, 0, 1, 0, 0, 0, 1, 0, 18.1689, 91.732 )
|
|
|
|
collision_layer = 2147483651
|
|
|
|
collision_mask = 279045
|
|
|
|
physics_material_override = SubResource( 1 )
|
|
|
|
|
2022-03-20 09:00:05 +01:00
|
|
|
[node name="MeshInstance3" type="MeshInstance" parent="StaticArena/StaticBody3"]
|
|
|
|
transform = Transform( 1, 0, 0, 0, 1, 0, 0, 0, 1, 0, -18.1689, -91.732 )
|
|
|
|
mesh = SubResource( 8 )
|
|
|
|
skeleton = NodePath("../../StaticBody")
|
2020-11-07 17:36:23 +01:00
|
|
|
|
|
|
|
[node name="CollisionShape" type="CollisionShape" parent="StaticArena/StaticBody3"]
|
|
|
|
transform = Transform( 1, 0, 0, 0, 1, 0, 0, 0, 1, 0, 0, -46.709 )
|
|
|
|
shape = SubResource( 5 )
|
|
|
|
|
|
|
|
[node name="StaticBody4" type="StaticBody" parent="StaticArena"]
|
|
|
|
transform = Transform( -1.62921e-07, 0, -1, 0, 1, 0, 1, 0, -1.62921e-07, -1.90218, 18.1689, 0.572887 )
|
|
|
|
collision_layer = 2147483651
|
|
|
|
collision_mask = 279045
|
|
|
|
physics_material_override = SubResource( 1 )
|
|
|
|
|
2022-03-20 09:00:05 +01:00
|
|
|
[node name="MeshInstance4" type="MeshInstance" parent="StaticArena/StaticBody4"]
|
|
|
|
transform = Transform( -1.62921e-07, 0, 1, 0, 1, 0, -1, 0, -1.62921e-07, -0.572887, -18.1689, -1.90218 )
|
|
|
|
mesh = SubResource( 8 )
|
|
|
|
skeleton = NodePath("../../StaticBody")
|
2020-11-07 17:36:23 +01:00
|
|
|
|
|
|
|
[node name="CollisionShape" type="CollisionShape" parent="StaticArena/StaticBody4"]
|
|
|
|
transform = Transform( 1, 0, 0, 0, 1, 0, 0, 0, 1, 0, 0, -46.709 )
|
|
|
|
shape = SubResource( 5 )
|
|
|
|
|
|
|
|
[node name="StaticBody5" type="StaticBody" parent="StaticArena"]
|
|
|
|
transform = Transform( -1.62921e-07, 0, -1, 0, 1, 0, 1, 0, -1.62921e-07, -92.1931, 18.8845, 0.814518 )
|
|
|
|
collision_layer = 2147483651
|
|
|
|
collision_mask = 279045
|
|
|
|
physics_material_override = SubResource( 1 )
|
|
|
|
|
2022-03-20 09:00:05 +01:00
|
|
|
[node name="MeshInstance5" type="MeshInstance" parent="StaticArena/StaticBody5"]
|
|
|
|
transform = Transform( -1.62921e-07, 0, 1, 0, 1, 0, -1, 0, -1.62921e-07, -0.814533, -18.8845, -92.1931 )
|
|
|
|
mesh = SubResource( 8 )
|
|
|
|
skeleton = NodePath("../../StaticBody")
|
2020-11-07 17:36:23 +01:00
|
|
|
|
|
|
|
[node name="CollisionShape" type="CollisionShape" parent="StaticArena/StaticBody5"]
|
|
|
|
transform = Transform( 1, 0, 0, 0, 1, 0, 0, 0, 1, 0, 0, -46.709 )
|
|
|
|
shape = SubResource( 5 )
|
|
|
|
|
|
|
|
[node name="StaticBody6" type="StaticBody" parent="StaticArena"]
|
|
|
|
transform = Transform( 0.998532, 0.013617, -0.0524264, 0, 0.967885, 0.251394, 0.054166, -0.251025, 0.966464, -16.8315, 7.76313, 0 )
|
|
|
|
|
|
|
|
[node name="CollisionShape" type="CollisionShape" parent="StaticArena/StaticBody6"]
|
|
|
|
shape = SubResource( 6 )
|
|
|
|
|
2022-03-20 09:00:05 +01:00
|
|
|
[node name="MeshInstance6" type="MeshInstance" parent="StaticArena/StaticBody6"]
|
|
|
|
transform = Transform( 0.998532, -2.79397e-09, 0.0541659, 0.013617, 0.967885, -0.251025, -0.0524264, 0.251394, 0.966464, 16.8068, -7.28462, -2.83402 )
|
|
|
|
mesh = SubResource( 8 )
|
|
|
|
skeleton = NodePath("../../StaticBody")
|
2020-11-07 17:36:23 +01:00
|
|
|
|
|
|
|
[node name="StaticBody7" type="StaticBody" parent="StaticArena"]
|
2020-11-17 19:21:50 +01:00
|
|
|
transform = Transform( -0.638995, 0.193375, -0.744507, 0, 0.967885, 0.251394, 0.769211, 0.16064, -0.618474, 10.0702, 7.03413, 0 )
|
2020-11-07 17:36:23 +01:00
|
|
|
|
|
|
|
[node name="CollisionShape" type="CollisionShape" parent="StaticArena/StaticBody7"]
|
|
|
|
transform = Transform( 1, -9.31323e-10, 0, 0, 1, 1.49012e-08, 3.72529e-09, 1.49012e-08, 1, 0, 0, 0 )
|
|
|
|
shape = SubResource( 7 )
|
|
|
|
|
2022-03-20 09:00:05 +01:00
|
|
|
[node name="MeshInstance7" type="MeshInstance" parent="StaticArena/StaticBody7"]
|
|
|
|
transform = Transform( -0.638995, -1.93715e-07, 0.76921, 0.193375, 0.967885, 0.160639, -0.744508, 0.251394, -0.618474, 6.43481, -8.75555, 5.729 )
|
|
|
|
mesh = SubResource( 8 )
|
|
|
|
skeleton = NodePath("../../StaticBody")
|
2020-11-07 17:36:23 +01:00
|
|
|
|
2020-11-17 19:21:50 +01:00
|
|
|
[node name="StaticBody8" type="StaticBody" parent="StaticArena"]
|
|
|
|
transform = Transform( -0.314953, 0.2386, -0.918626, 0, 0.967885, 0.251394, 0.949107, 0.0791774, -0.304838, 10.0702, 7.03413, 24.278 )
|
|
|
|
|
|
|
|
[node name="CollisionShape" type="CollisionShape" parent="StaticArena/StaticBody8"]
|
|
|
|
transform = Transform( 1, -9.31323e-10, 0, 0, 1, 1.49012e-08, 3.72529e-09, 1.49012e-08, 1, 0, 0, 0 )
|
|
|
|
shape = SubResource( 7 )
|
|
|
|
|
2022-03-20 09:00:05 +01:00
|
|
|
[node name="MeshInstance8" type="MeshInstance" parent="StaticArena/StaticBody8"]
|
|
|
|
transform = Transform( -0.314953, -7.45059e-08, 0.949107, 0.2386, 0.967885, 0.0791773, -0.918627, 0.251394, -0.304838, -19.8708, -11.1332, 14.8833 )
|
|
|
|
mesh = SubResource( 8 )
|
|
|
|
skeleton = NodePath("../../StaticBody")
|
2020-11-17 19:21:50 +01:00
|
|
|
|
|
|
|
[node name="StaticBody9" type="StaticBody" parent="StaticArena"]
|
2021-02-13 19:11:05 +01:00
|
|
|
transform = Transform( 0.289683, -0.599318, 0.746259, -0.123608, -0.796586, -0.591753, 0.949107, 0.0791774, -0.304838, 10.0702, 0.940654, -25.555 )
|
2020-11-17 19:21:50 +01:00
|
|
|
|
|
|
|
[node name="CollisionShape" type="CollisionShape" parent="StaticArena/StaticBody9"]
|
2021-02-13 19:11:05 +01:00
|
|
|
transform = Transform( 1, 7.45058e-09, 0, 1.49012e-08, 1, 4.84288e-08, 0, -3.1665e-08, 1, 0, 0, 0 )
|
2020-11-17 19:21:50 +01:00
|
|
|
shape = SubResource( 7 )
|
|
|
|
|
2022-03-20 09:00:05 +01:00
|
|
|
[node name="MeshInstance9" type="MeshInstance" parent="StaticArena/StaticBody9"]
|
|
|
|
transform = Transform( 0.289683, -0.123608, 0.949108, -0.599317, -0.796586, 0.0791772, 0.746258, -0.591753, -0.304838, 21.4536, 8.80793, -14.7485 )
|
|
|
|
mesh = SubResource( 8 )
|
|
|
|
skeleton = NodePath("../../StaticBody")
|
2020-11-17 19:21:50 +01:00
|
|
|
|
2020-11-07 17:36:23 +01:00
|
|
|
[node name="Objects" type="Spatial" parent="."]
|
|
|
|
|
2020-11-17 19:21:50 +01:00
|
|
|
[node name="RigidBody" parent="Objects" instance=ExtResource( 3 )]
|
2021-02-13 19:11:05 +01:00
|
|
|
transform = Transform( 1, 0, 0, 0, 1, 0, 0, 0, 1, -8.50424, 17.1047, 14.7363 )
|
2020-11-17 19:21:50 +01:00
|
|
|
|
|
|
|
[node name="RigidBody2" parent="Objects" instance=ExtResource( 3 )]
|
|
|
|
transform = Transform( 1, 0, 0, 0, 1, 0, 0, 0, 1, 3.7864, 12.6031, 19.1751 )
|
|
|
|
|
|
|
|
[node name="RigidBody3" parent="Objects" instance=ExtResource( 3 )]
|
2021-02-13 19:11:05 +01:00
|
|
|
transform = Transform( 1, 0, 0, 0, 1, 0, 0, 0, 1, -16.9896, 10.6319, 28.8764 )
|
2020-11-17 19:21:50 +01:00
|
|
|
|
|
|
|
[node name="RigidBody4" parent="Objects" instance=ExtResource( 3 )]
|
|
|
|
transform = Transform( 1, 0, 0, 0, 1, 0, 0, 0, 1, -26.0866, 12.6031, -18.3703 )
|
|
|
|
|
|
|
|
[node name="RigidBody5" parent="Objects" instance=ExtResource( 3 )]
|
|
|
|
transform = Transform( 1, 0, 0, 0, 1, 0, 0, 0, 1, 22.2505, 12.6031, -20.7732 )
|
|
|
|
|
|
|
|
[node name="RigidBody6" parent="Objects" instance=ExtResource( 3 )]
|
|
|
|
transform = Transform( 1, 0, 0, 0, 1, 0, 0, 0, 1, 24.085, 12.6031, 8.2937 )
|
|
|
|
|
|
|
|
[node name="RigidBody7" parent="Objects" instance=ExtResource( 3 )]
|
|
|
|
transform = Transform( 1, 0, 0, 0, 1, 0, 0, 0, 1, 18.9278, 12.6031, 23.4173 )
|
|
|
|
|
|
|
|
[node name="RigidBody8" parent="Objects" instance=ExtResource( 3 )]
|
|
|
|
transform = Transform( 1, 0, 0, 0, 1, 0, 0, 0, 1, -3.85186, 24.8548, -9.87658 )
|
|
|
|
|
2020-12-26 10:41:59 +01:00
|
|
|
[node name="Camera" type="Camera" parent="."]
|
|
|
|
transform = Transform( 0.922114, 0.23703, -0.305815, 0.0163102, 0.765871, 0.642787, 0.386575, -0.597711, 0.702354, -25.392, 55.117, 39.851 )
|
|
|
|
current = true
|
|
|
|
far = 200.0
|
2020-11-07 17:36:23 +01:00
|
|
|
|
2020-12-26 10:41:59 +01:00
|
|
|
[node name="Joints" type="Spatial" parent="."]
|
2020-11-07 17:36:23 +01:00
|
|
|
|
2020-12-26 10:41:59 +01:00
|
|
|
[node name="Cone" type="Spatial" parent="Joints"]
|
2020-11-07 17:36:23 +01:00
|
|
|
|
2020-12-26 10:41:59 +01:00
|
|
|
[node name="RigidBody2" parent="Joints/Cone" instance=ExtResource( 3 )]
|
|
|
|
transform = Transform( 1, 0, 0, 0, 1, 0, 0, 0, 1, -23.2888, 6.73046, 77.026 )
|
|
|
|
gravity_scale = -3.0
|
2020-11-07 17:36:23 +01:00
|
|
|
|
2020-12-26 10:41:59 +01:00
|
|
|
[node name="RigidBody" parent="Joints/Cone" instance=ExtResource( 3 )]
|
2021-02-13 19:11:05 +01:00
|
|
|
transform = Transform( 1, 0, 0, 0, 1, 0, 0, 0, 1, -23.2888, 15.3482, 19.1751 )
|
2020-11-07 17:36:23 +01:00
|
|
|
|
2020-12-26 10:41:59 +01:00
|
|
|
[node name="ConeTwistJoint" type="ConeTwistJoint" parent="Joints/Cone"]
|
|
|
|
nodes/node_a = NodePath("../RigidBody")
|
|
|
|
nodes/node_b = NodePath("../RigidBody2")
|
2020-11-07 17:36:23 +01:00
|
|
|
|
2020-12-26 10:41:59 +01:00
|
|
|
[node name="Generic" type="Spatial" parent="Joints"]
|
2020-11-07 17:36:23 +01:00
|
|
|
|
2020-12-26 10:41:59 +01:00
|
|
|
[node name="RigidBody" parent="Joints/Generic" instance=ExtResource( 3 )]
|
|
|
|
transform = Transform( 1, 0, 0, 0, 1, 0, 0, 0, 1, -23.2888, 33.1278, 67.0796 )
|
|
|
|
gravity_scale = -3.0
|
|
|
|
|
|
|
|
[node name="RigidBody2" parent="Joints/Generic" instance=ExtResource( 3 )]
|
|
|
|
transform = Transform( 1, 0, 0, 0, 1, 0, 0, 0, 1, -23.2888, 33.1278, -0.445078 )
|
|
|
|
|
|
|
|
[node name="Generic6DOFJoint" type="Generic6DOFJoint" parent="Joints/Generic"]
|
|
|
|
nodes/node_a = NodePath("../RigidBody")
|
|
|
|
nodes/node_b = NodePath("../RigidBody2")
|
|
|
|
|
|
|
|
[node name="Hinge" type="Spatial" parent="Joints"]
|
|
|
|
|
|
|
|
[node name="RigidBody" parent="Joints/Hinge" instance=ExtResource( 3 )]
|
|
|
|
transform = Transform( 1, 0, 0, 0, 1, 0, 0, 0, 1, 18.6153, 33.1278, 59.2096 )
|
|
|
|
gravity_scale = -3.0
|
|
|
|
|
|
|
|
[node name="RigidBody2" parent="Joints/Hinge" instance=ExtResource( 3 )]
|
|
|
|
transform = Transform( 1, 0, 0, 0, 1, 0, 0, 0, 1, 8.17695, 33.1278, 19.1751 )
|
|
|
|
|
|
|
|
[node name="HingeJoint" type="HingeJoint" parent="Joints/Hinge"]
|
|
|
|
nodes/node_a = NodePath("../RigidBody")
|
|
|
|
nodes/node_b = NodePath("../RigidBody2")
|
|
|
|
|
|
|
|
[node name="Pin" type="Spatial" parent="Joints"]
|
|
|
|
|
|
|
|
[node name="RigidBody" parent="Joints/Pin" instance=ExtResource( 3 )]
|
|
|
|
transform = Transform( 1, 0, 0, 0, 1, 0, 0, 0, 1, -23.2888, 4.83369, 116.28 )
|
|
|
|
gravity_scale = -3.0
|
|
|
|
|
|
|
|
[node name="RigidBody2" parent="Joints/Pin" instance=ExtResource( 3 )]
|
2021-02-13 19:11:05 +01:00
|
|
|
transform = Transform( 1, 0, 0, 0, 1, 0, 0, 0, 1, -23.2888, 18.4589, 10.7729 )
|
2020-12-26 10:41:59 +01:00
|
|
|
|
|
|
|
[node name="PinJoint" type="PinJoint" parent="Joints/Pin"]
|
|
|
|
nodes/node_a = NodePath("../RigidBody")
|
|
|
|
nodes/node_b = NodePath("../RigidBody2")
|
|
|
|
|
|
|
|
[node name="Slider" type="Spatial" parent="Joints"]
|
|
|
|
|
|
|
|
[node name="RigidBody" parent="Joints/Slider" instance=ExtResource( 3 )]
|
2021-02-13 19:11:05 +01:00
|
|
|
transform = Transform( 1, 0, 0, 0, 1, 0, 0, 0, 1, -23.2888, 17.7427, 19.1751 )
|
2020-12-26 10:41:59 +01:00
|
|
|
gravity_scale = -3.0
|
|
|
|
|
|
|
|
[node name="RigidBody2" parent="Joints/Slider" instance=ExtResource( 3 )]
|
2021-02-13 19:11:05 +01:00
|
|
|
transform = Transform( 1, 0, 0, 0, 1, 0, 0, 0, 1, -33.3355, 16.2845, 19.1751 )
|
2020-12-26 10:41:59 +01:00
|
|
|
|
|
|
|
[node name="SliderJoint" type="SliderJoint" parent="Joints/Slider"]
|
|
|
|
nodes/node_a = NodePath("../RigidBody")
|
|
|
|
nodes/node_b = NodePath("../RigidBody2")
|
|
|
|
linear_motion/softness = 1.43
|