1[gd_scene load_steps=12 format=2]
2
3[ext_resource path="res://tests/performance/test_perf_contacts.gd" type="Script" id=1]
4[ext_resource path="res://utils/exception_cylinder.gd" type="Script" id=2]
5[ext_resource path="res://utils/camera_orbit.gd" type="Script" id=3]
6[ext_resource path="res://tests/test_options.tscn" type="PackedScene" id=4]
7[ext_resource path="res://tests/static_scene.tscn" type="PackedScene" id=5]
8
9[sub_resource type="BoxShape" id=1]
10
11[sub_resource type="CapsuleShape" id=2]
12
13[sub_resource type="CylinderShape" id=3]
14
15[sub_resource type="ConvexPolygonShape" id=4]
16points = PoolVector3Array( -0.7, 0, -0.7, -0.3, 0, 0.8, 0.8, 0, -0.3, 0, -1, 0 )
17
18[sub_resource type="SphereShape" id=5]
19
20[sub_resource type="ConcavePolygonShape" id=6]
21data = PoolVector3Array( -1, 0, 1, 1, 0, -1, 1, 0, 1, -1, 0, 1, -1, 0, -1, 1, 0, -1 )
22
23[node name="Test" type="Spatial"]
24script = ExtResource( 1 )
25spawns = [ "SpawnTarget1", "SpawnTarget2", "SpawnTarget3", "SpawnTarget4", "SpawnTarget5", "SpawnTarget6", "SpawnTarget7", "SpawnTarget8", "SpawnTarget9", "SpawnTarget10", "SpawnTarget11", "SpawnTarget12", "SpawnTarget13", "SpawnTarget14", "SpawnTarget15", "SpawnTarget16" ]
26
27[node name="Options" parent="." instance=ExtResource( 4 )]
28
29[node name="SpawnTarget1" type="Spatial" parent="."]
30transform = Transform( 1, 0, 0, 0, 1, 0, 0, 0, 1, 40, 7, -37.715 )
31
32[node name="SpawnTarget2" type="Spatial" parent="."]
33transform = Transform( 1, 0, 0, 0, 1, 0, 0, 0, 1, 40, 7, -19.7248 )
34
35[node name="SpawnTarget3" type="Spatial" parent="."]
36transform = Transform( 1, 0, 0, 0, 1, 0, 0, 0, 1, 21.4903, 7, -37.715 )
37
38[node name="SpawnTarget4" type="Spatial" parent="."]
39transform = Transform( 1, 0, 0, 0, 1, 0, 0, 0, 1, 21.4903, 7, -19.7248 )
40
41[node name="SpawnTarget5" type="Spatial" parent="."]
42transform = Transform( 1, 0, 0, 0, 1, 0, 0, 0, 1, 40, 7, 10.7172 )
43
44[node name="SpawnTarget6" type="Spatial" parent="."]
45transform = Transform( 1, 0, 0, 0, 1, 0, 0, 0, 1, 40, 7, 28.7073 )
46
47[node name="SpawnTarget7" type="Spatial" parent="."]
48transform = Transform( 1, 0, 0, 0, 1, 0, 0, 0, 1, 21.4903, 7, 10.7172 )
49
50[node name="SpawnTarget8" type="Spatial" parent="."]
51transform = Transform( 1, 0, 0, 0, 1, 0, 0, 0, 1, 21.4903, 7, 28.7073 )
52
53[node name="SpawnTarget9" type="Spatial" parent="."]
54transform = Transform( 1, 0, 0, 0, 1, 0, 0, 0, 1, -19.8583, 7, 10.7172 )
55
56[node name="SpawnTarget10" type="Spatial" parent="."]
57transform = Transform( 1, 0, 0, 0, 1, 0, 0, 0, 1, -19.8583, 7, 28.7073 )
58
59[node name="SpawnTarget11" type="Spatial" parent="."]
60transform = Transform( 1, 0, 0, 0, 1, 0, 0, 0, 1, -38.368, 7, 10.7172 )
61
62[node name="SpawnTarget12" type="Spatial" parent="."]
63transform = Transform( 1, 0, 0, 0, 1, 0, 0, 0, 1, -38.368, 7, 28.7073 )
64
65[node name="SpawnTarget13" type="Spatial" parent="."]
66transform = Transform( 1, 0, 0, 0, 1, 0, 0, 0, 1, -19.8583, 7, -38.798 )
67
68[node name="SpawnTarget14" type="Spatial" parent="."]
69transform = Transform( 1, 0, 0, 0, 1, 0, 0, 0, 1, -19.8583, 7, -20.8078 )
70
71[node name="SpawnTarget15" type="Spatial" parent="."]
72transform = Transform( 1, 0, 0, 0, 1, 0, 0, 0, 1, -38.368, 7, -38.798 )
73
74[node name="SpawnTarget16" type="Spatial" parent="."]
75transform = Transform( 1, 0, 0, 0, 1, 0, 0, 0, 1, -38.368, 7, -20.8078 )
76
77[node name="DynamicShapes" type="Spatial" parent="."]
78transform = Transform( 1, 0, 0, 0, 1, 0, 0, 0, 1, -26.3192, 1.2359, 38.0117 )
79
80[node name="RigidBodyBox" type="RigidBody" parent="DynamicShapes"]
81
82[node name="CollisionShape" type="CollisionShape" parent="DynamicShapes/RigidBodyBox"]
83shape = SubResource( 1 )
84
85[node name="RigidBodyCapsule" type="RigidBody" parent="DynamicShapes"]
86transform = Transform( 1, 0, 0, 0, 1, 0, 0, 0, 1, 2, 0, 0 )
87
88[node name="CollisionShape" type="CollisionShape" parent="DynamicShapes/RigidBodyCapsule"]
89shape = SubResource( 2 )
90
91[node name="RigidBodyCylinder" type="RigidBody" parent="DynamicShapes"]
92transform = Transform( 1, 0, 0, 0, 1, 0, 0, 0, 1, 4, 0, 0 )
93script = ExtResource( 2 )
94
95[node name="CollisionShape" type="CollisionShape" parent="DynamicShapes/RigidBodyCylinder"]
96shape = SubResource( 3 )
97
98[node name="RigidBodyConvex" type="RigidBody" parent="DynamicShapes"]
99transform = Transform( 1, 0, 0, 0, 1, 0, 0, 0, 1, 6, 0, 0 )
100
101[node name="CollisionShape" type="CollisionShape" parent="DynamicShapes/RigidBodyConvex"]
102shape = SubResource( 4 )
103
104[node name="RigidBodySphere" type="RigidBody" parent="DynamicShapes"]
105transform = Transform( 1, 0, 0, 0, 1, 0, 0, 0, 1, 8, 0, 0 )
106
107[node name="CollisionShape" type="CollisionShape" parent="DynamicShapes/RigidBodySphere"]
108shape = SubResource( 5 )
109
110[node name="StaticBodyWalls" type="StaticBody" parent="."]
111
112[node name="CollisionShape1" type="CollisionShape" parent="StaticBodyWalls"]
113transform = Transform( -1.62921e-05, 1, 0, -100, -1.62921e-07, 0, 0, 0, 100, -5, 0, 0 )
114shape = SubResource( 6 )
115
116[node name="CollisionShape2" type="CollisionShape" parent="StaticBodyWalls"]
117transform = Transform( -1.62921e-05, -1, 0, 100, -1.62921e-07, 0, 0, 0, 100, 5, 0, 0 )
118shape = SubResource( 6 )
119
120[node name="CollisionShape3" type="CollisionShape" parent="StaticBodyWalls"]
121transform = Transform( 2.65431e-12, 1.62921e-07, 100, 100, -1.62921e-07, 0, 1.62921e-05, 1, -1.62921e-05, 0, 0, -5 )
122shape = SubResource( 6 )
123
124[node name="CollisionShape4" type="CollisionShape" parent="StaticBodyWalls"]
125transform = Transform( 2.65431e-12, 1.62921e-07, -100, 100, -1.62921e-07, 0, -1.62921e-05, -1, -1.62921e-05, 0, 0, 5 )
126shape = SubResource( 6 )
127
128[node name="StaticScene" parent="." instance=ExtResource( 5 )]
129
130[node name="Camera" type="Camera" parent="."]
131transform = Transform( 1, 0, 0, 0, 0.881757, 0.471705, 0, -0.471705, 0.881757, 0, 20.4125, 41.0426 )
132script = ExtResource( 3 )
133
134[node name="OmniLight" type="OmniLight" parent="Camera"]
135omni_range = 80.0
136