regression-test-project/Physics/3D/Physics3D.tscn
2021-08-19 18:10:13 +02:00

286 lines
10 KiB
Plaintext

[gd_scene load_steps=11 format=3 uid="uid://c1ur0715b1vt1"]
[ext_resource type="Texture2D" uid="uid://bp1jqfv4eumxi" path="res://icon.png" id="1"]
[ext_resource type="Script" path="res://Physics/3D/StaticArena.gd" id="2"]
[ext_resource type="PackedScene" path="res://Physics/3D/RigidBody3D.tscn" id="3"]
[sub_resource type="PhysicsMaterial" id="1"]
friction = 0.89
rough = true
[sub_resource type="StandardMaterial3D" id="2"]
albedo_color = Color(1, 1, 1, 0.521569)
albedo_texture = ExtResource( "1" )
metallic = 1.0
metallic_specular = 0.86
metallic_texture = ExtResource( "1" )
[sub_resource type="BoxShape3D" id="3"]
size = Vector3(100, 4, 100)
[sub_resource type="StandardMaterial3D" id="4"]
diffuse_mode = 1
albedo_texture = ExtResource( "1" )
metallic = 0.8
[sub_resource type="BoxShape3D" id="5"]
size = Vector3(100, 40, 10)
[sub_resource type="BoxShape3D" id="6"]
size = Vector3(23.7588, 2.7569, 44.562)
[sub_resource type="BoxShape3D" id="7"]
size = Vector3(23.7588, 2.7569, 44.562)
[node name="Physics3D" type="Node3D"]
script = null
[node name="DirectionalLight" type="DirectionalLight3D" parent="."]
transform = Transform3D(1, 0, 0, 0, -0.959707, 0.281002, 0, -0.281002, -0.959707, 0, 35.3705, 0)
light_energy = 1.45
script = null
[node name="StaticArena" type="Node3D" parent="."]
script = ExtResource( "2" )
[node name="StaticBody" type="StaticBody3D" parent="StaticArena"]
collision_layer = 2147483651
collision_mask = 279045
physics_material_override = SubResource( "1" )
script = null
[node name="CSGBox" type="CSGBox3D" parent="StaticArena/StaticBody"]
material = SubResource( "2" )
script = null
[node name="CollisionShape" type="CollisionShape3D" parent="StaticArena/StaticBody"]
shape = SubResource( "3" )
script = null
[node name="StaticBody2" type="StaticBody3D" parent="StaticArena"]
transform = Transform3D(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" )
script = null
[node name="CSGBox" type="CSGBox3D" parent="StaticArena/StaticBody2"]
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 0, 0, -46.5124)
material = SubResource( "4" )
script = null
[node name="CollisionShape" type="CollisionShape3D" parent="StaticArena/StaticBody2"]
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 0, 0, -46.709)
shape = SubResource( "5" )
script = null
[node name="StaticBody3" type="StaticBody3D" parent="StaticArena"]
transform = Transform3D(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" )
script = null
[node name="CSGBox" type="CSGBox3D" parent="StaticArena/StaticBody3"]
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 0, 0, -46.5124)
material = SubResource( "4" )
script = null
[node name="CollisionShape" type="CollisionShape3D" parent="StaticArena/StaticBody3"]
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 0, 0, -46.709)
shape = SubResource( "5" )
script = null
[node name="StaticBody4" type="StaticBody3D" parent="StaticArena"]
transform = Transform3D(-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" )
script = null
[node name="CSGBox" type="CSGBox3D" parent="StaticArena/StaticBody4"]
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 0, 1.13509, -46.5124)
material = SubResource( "4" )
script = null
[node name="CollisionShape" type="CollisionShape3D" parent="StaticArena/StaticBody4"]
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 0, 0, -46.709)
shape = SubResource( "5" )
script = null
[node name="StaticBody5" type="StaticBody3D" parent="StaticArena"]
transform = Transform3D(-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" )
script = null
[node name="CSGBox" type="CSGBox3D" parent="StaticArena/StaticBody5"]
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 0, 0, -46.5124)
material = SubResource( "4" )
script = null
[node name="CollisionShape" type="CollisionShape3D" parent="StaticArena/StaticBody5"]
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 0, 0, -46.709)
shape = SubResource( "5" )
script = null
[node name="StaticBody6" type="StaticBody3D" parent="StaticArena"]
transform = Transform3D(0.998532, 0.013617, -0.0524264, 0, 0.967885, 0.251394, 0.054166, -0.251025, 0.966464, -16.8315, 7.76313, 0)
script = null
[node name="CollisionShape" type="CollisionShape3D" parent="StaticArena/StaticBody6"]
shape = SubResource( "6" )
script = null
[node name="CSGBox" type="CSGBox3D" parent="StaticArena/StaticBody6"]
script = null
[node name="StaticBody7" type="StaticBody3D" parent="StaticArena"]
transform = Transform3D(-0.638995, 0.193375, -0.744507, 0, 0.967885, 0.251394, 0.769211, 0.16064, -0.618474, 10.0702, 7.03413, 0)
script = null
[node name="CollisionShape" type="CollisionShape3D" parent="StaticArena/StaticBody7"]
transform = Transform3D(1, -9.31323e-10, 0, 0, 1, 1.49012e-08, 3.72529e-09, 1.49012e-08, 1, 0, 0, 0)
shape = SubResource( "7" )
script = null
[node name="CSGBox" type="CSGBox3D" parent="StaticArena/StaticBody7"]
script = null
[node name="StaticBody8" type="StaticBody3D" parent="StaticArena"]
transform = Transform3D(-0.314953, 0.2386, -0.918626, 0, 0.967885, 0.251394, 0.949107, 0.0791774, -0.304838, 10.0702, 7.03413, 24.278)
script = null
[node name="CollisionShape" type="CollisionShape3D" parent="StaticArena/StaticBody8"]
transform = Transform3D(1, -9.31323e-10, 0, 0, 1, 1.49012e-08, 3.72529e-09, 1.49012e-08, 1, 0, 0, 0)
shape = SubResource( "7" )
script = null
[node name="CSGBox" type="CSGBox3D" parent="StaticArena/StaticBody8"]
script = null
[node name="StaticBody9" type="StaticBody3D" parent="StaticArena"]
transform = Transform3D(0.289683, -0.599318, 0.746259, -0.123608, -0.796586, -0.591753, 0.949107, 0.0791774, -0.304838, 10.0702, 0.940654, -25.555)
script = null
[node name="CollisionShape" type="CollisionShape3D" parent="StaticArena/StaticBody9"]
transform = Transform3D(1, 7.45058e-09, 0, 1.49012e-08, 1, 4.84288e-08, 0, -3.1665e-08, 1, 0, 0, 0)
shape = SubResource( "7" )
script = null
[node name="CSGBox" type="CSGBox3D" parent="StaticArena/StaticBody9"]
script = null
[node name="Objects" type="Node3D" parent="."]
script = null
[node name="RigidBody" parent="Objects" instance=ExtResource( "3" )]
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, -8.50424, 17.1047, 14.7363)
[node name="RigidBody2" parent="Objects" instance=ExtResource( "3" )]
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 3.7864, 12.6031, 19.1751)
[node name="RigidBody3" parent="Objects" instance=ExtResource( "3" )]
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, -16.9896, 10.6319, 28.8764)
[node name="RigidBody4" parent="Objects" instance=ExtResource( "3" )]
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, -26.0866, 12.6031, -18.3703)
[node name="RigidBody5" parent="Objects" instance=ExtResource( "3" )]
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 22.2505, 12.6031, -20.7732)
[node name="RigidBody6" parent="Objects" instance=ExtResource( "3" )]
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 24.085, 12.6031, 8.2937)
[node name="RigidBody7" parent="Objects" instance=ExtResource( "3" )]
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 18.9278, 12.6031, 23.4173)
[node name="RigidBody8" parent="Objects" instance=ExtResource( "3" )]
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, -3.85186, 24.8548, -9.87658)
[node name="Camera" type="Camera3D" parent="."]
transform = Transform3D(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
script = null
[node name="Joints" type="Node3D" parent="."]
script = null
[node name="Cone" type="Node3D" parent="Joints"]
script = null
[node name="RigidBody2" parent="Joints/Cone" instance=ExtResource( "3" )]
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, -23.2888, 6.73046, 77.026)
gravity_scale = -3.0
[node name="RigidBody" parent="Joints/Cone" instance=ExtResource( "3" )]
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, -23.2888, 15.3482, 19.1751)
[node name="ConeTwistJoint" type="ConeTwistJoint3D" parent="Joints/Cone"]
nodes/node_a = NodePath("../RigidBody")
nodes/node_b = NodePath("../RigidBody2")
script = null
[node name="Generic" type="Node3D" parent="Joints"]
script = null
[node name="RigidBody" parent="Joints/Generic" instance=ExtResource( "3" )]
transform = Transform3D(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 = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, -23.2888, 33.1278, -0.445078)
[node name="Generic6DOFJoint" type="Generic6DOFJoint3D" parent="Joints/Generic"]
nodes/node_a = NodePath("../RigidBody")
nodes/node_b = NodePath("../RigidBody2")
script = null
[node name="Hinge" type="Node3D" parent="Joints"]
script = null
[node name="RigidBody" parent="Joints/Hinge" instance=ExtResource( "3" )]
transform = Transform3D(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 = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 8.17695, 33.1278, 19.1751)
[node name="HingeJoint" type="HingeJoint3D" parent="Joints/Hinge"]
nodes/node_a = NodePath("../RigidBody")
nodes/node_b = NodePath("../RigidBody2")
script = null
[node name="Pin" type="Node3D" parent="Joints"]
script = null
[node name="RigidBody" parent="Joints/Pin" instance=ExtResource( "3" )]
transform = Transform3D(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" )]
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, -23.2888, 18.4589, 10.7729)
[node name="PinJoint" type="PinJoint3D" parent="Joints/Pin"]
nodes/node_a = NodePath("../RigidBody")
nodes/node_b = NodePath("../RigidBody2")
script = null
[node name="Slider" type="Node3D" parent="Joints"]
script = null
[node name="RigidBody" parent="Joints/Slider" instance=ExtResource( "3" )]
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, -23.2888, 17.7427, 19.1751)
gravity_scale = -3.0
[node name="RigidBody2" parent="Joints/Slider" instance=ExtResource( "3" )]
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, -33.3355, 16.2845, 19.1751)
[node name="SliderJoint" type="SliderJoint3D" parent="Joints/Slider"]
nodes/node_a = NodePath("../RigidBody")
nodes/node_b = NodePath("../RigidBody2")
linear_motion/softness = 1.43
script = null