[gd_scene load_steps=11 format=3 uid="uid://4wsisagg0r7r"] [ext_resource type="PackedScene" uid="uid://cl2vpuxqgnylc" path="res://tests/static_scene.tscn" id="1"] [ext_resource type="Script" uid="uid://4kcl3sbrycms" path="res://tests/performance/test_perf_contacts.gd" id="2"] [ext_resource type="PackedScene" uid="uid://b1ihqm3x8jru" path="res://tests/test_options.tscn" id="4"] [ext_resource type="Script" uid="uid://cx8vo58lobtgu" path="res://utils/camera_orbit.gd" id="5"] [sub_resource type="BoxShape3D" id="1"] [sub_resource type="CapsuleShape3D" id="2"] [sub_resource type="CylinderShape3D" id="3"] [sub_resource type="ConvexPolygonShape3D" id="4"] points = PackedVector3Array(-0.7, 0, -0.7, -0.3, 0, 0.8, 0.8, 0, -0.3, 0, -1, 0) [sub_resource type="SphereShape3D" id="5"] [sub_resource type="WorldBoundaryShape3D" id="6"] [node name="Test" type="Node3D"] script = ExtResource("2") spawns = Array[NodePath]([NodePath("SpawnTarget1")]) spawn_count = 500 spawn_randomize = Vector3(0.2, 0.2, 0.2) _enable_debug_collision = false [node name="Options" parent="." instance=ExtResource("4")] [node name="SpawnTarget1" type="Node3D" parent="."] transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 0, 7.06418, -1.24693) [node name="DynamicShapes" type="Node3D" parent="."] transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, -26.3192, 1.2359, 38.0117) [node name="RigidBodyBox" type="RigidBody3D" parent="DynamicShapes"] [node name="CollisionShape" type="CollisionShape3D" parent="DynamicShapes/RigidBodyBox"] shape = SubResource("1") debug_color = Color(1, 1, 0, 1) [node name="RigidBodyCapsule" type="RigidBody3D" parent="DynamicShapes"] transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 2, 0, 0) [node name="CollisionShape" type="CollisionShape3D" parent="DynamicShapes/RigidBodyCapsule"] shape = SubResource("2") debug_color = Color(1, 1, 0, 1) [node name="RigidBodyCylinder" type="RigidBody3D" parent="DynamicShapes"] transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 4, 0, 0) [node name="CollisionShape" type="CollisionShape3D" parent="DynamicShapes/RigidBodyCylinder"] shape = SubResource("3") debug_color = Color(1, 1, 0, 1) [node name="RigidBodyConvex" type="RigidBody3D" parent="DynamicShapes"] transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 6, 0, 0) [node name="CollisionShape" type="CollisionShape3D" parent="DynamicShapes/RigidBodyConvex"] shape = SubResource("4") debug_color = Color(1, 1, 0, 1) [node name="RigidBodySphere" type="RigidBody3D" parent="DynamicShapes"] transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 8, 0, 0) [node name="CollisionShape" type="CollisionShape3D" parent="DynamicShapes/RigidBodySphere"] shape = SubResource("5") debug_color = Color(1, 1, 0, 1) [node name="StaticBodyWalls" type="StaticBody3D" parent="."] [node name="CollisionShape1" type="CollisionShape3D" parent="StaticBodyWalls"] transform = Transform3D(-1.62921e-07, 1, 0, -1, -1.62921e-07, 0, 0, 0, 1, -5, 0, 0) shape = SubResource("6") debug_color = Color(0, 0.533333, 1, 1) [node name="CollisionShape2" type="CollisionShape3D" parent="StaticBodyWalls"] transform = Transform3D(-1.62921e-07, -1, 0, 1, -1.62921e-07, 0, 0, 0, 1, 5, 0, 0) shape = SubResource("6") debug_color = Color(0, 0.533333, 1, 1) [node name="CollisionShape3" type="CollisionShape3D" parent="StaticBodyWalls"] transform = Transform3D(2.6543e-14, 1.62921e-07, 1, 1, -1.62921e-07, 1.56125e-19, 1.62921e-07, 1, -1.62921e-07, 0, 0, -5) shape = SubResource("6") debug_color = Color(0, 0.533333, 1, 1) [node name="CollisionShape4" type="CollisionShape3D" parent="StaticBodyWalls"] transform = Transform3D(2.6543e-14, 1.62921e-07, -1, 1, -1.62921e-07, -1.56125e-19, -1.62921e-07, -1, -1.62921e-07, 0, 0, 5) shape = SubResource("6") debug_color = Color(0, 0.533333, 1, 1) [node name="StaticScene" parent="." instance=ExtResource("1")] [node name="Camera3D" type="Camera3D" parent="."] transform = Transform3D(1, 0, 0, 0, 0.881757, 0.471705, 0, -0.471705, 0.881757, 0, 20.4125, 41.0426) script = ExtResource("5")