Update demos for Godot 4.4

- Resave all files with Godot 4.4 to make use of script/shader UIDs.
- Use AgX tonemapping in all demos that used a tonemapper other than Linear.
This commit is contained in:
Hugo Locurcio
2025-01-10 22:59:00 +01:00
parent 5557b10cfa
commit 4d49bbd1b8
817 changed files with 1898 additions and 1562 deletions

View File

@@ -1,14 +1,14 @@
[gd_scene load_steps=11 format=3 uid="uid://pfb5u7r1hl8t"]
[ext_resource type="Script" path="res://utils/label_fps.gd" id="1"]
[ext_resource type="Script" path="res://utils/label_version.gd" id="2"]
[ext_resource type="Script" path="res://utils/label_engine.gd" id="3"]
[ext_resource type="Script" path="res://tests_menu.gd" id="4"]
[ext_resource type="Script" path="res://utils/label_test.gd" id="5"]
[ext_resource type="Script" path="res://utils/label_pause.gd" id="6"]
[ext_resource type="Script" path="res://utils/container_log.gd" id="10"]
[ext_resource type="Script" path="res://utils/scroll_log.gd" id="11"]
[ext_resource type="Script" path="res://tests.gd" id="12"]
[ext_resource type="Script" uid="uid://34ftr8y77xc0" path="res://utils/label_fps.gd" id="1"]
[ext_resource type="Script" uid="uid://bai0htaaejvop" path="res://utils/label_version.gd" id="2"]
[ext_resource type="Script" uid="uid://do0udxc585k84" path="res://utils/label_engine.gd" id="3"]
[ext_resource type="Script" uid="uid://dd0fbi0qttuuw" path="res://tests_menu.gd" id="4"]
[ext_resource type="Script" uid="uid://bkvmvpx2kl536" path="res://utils/label_test.gd" id="5"]
[ext_resource type="Script" uid="uid://bsrr8ude7isvn" path="res://utils/label_pause.gd" id="6"]
[ext_resource type="Script" uid="uid://eleg6e366qxd" path="res://utils/container_log.gd" id="10"]
[ext_resource type="Script" uid="uid://pagh264d7unt" path="res://utils/scroll_log.gd" id="11"]
[ext_resource type="Script" uid="uid://sjyvya2tmvni" path="res://tests.gd" id="12"]
[sub_resource type="StyleBoxFlat" id="1"]
bg_color = Color(0, 0, 0, 0.176471)

View File

@@ -13,7 +13,7 @@ config_version=5
config/name="3D Physics Tests"
config/tags=PackedStringArray("3d", "demo", "official", "physics")
run/main_scene="res://main.tscn"
config/features=PackedStringArray("4.3")
config/features=PackedStringArray("4.4")
config/icon="res://icon.webp"
[autoload]

View File

@@ -0,0 +1 @@
uid://cu0nmknf22ua2

View File

@@ -0,0 +1 @@
uid://sjyvya2tmvni

View File

@@ -0,0 +1 @@
uid://bo8r6pye3q4ki

View File

@@ -1,8 +1,8 @@
[gd_scene load_steps=10 format=3 uid="uid://wy4qr8euxk27"]
[ext_resource type="Shape3D" path="res://assets/robot_head/godot3_robot_head_collision.tres" id="1"]
[ext_resource type="Script" path="res://tests/functional/test_collision_pairs.gd" id="2"]
[ext_resource type="Script" path="res://utils/camera_orbit.gd" id="4"]
[ext_resource type="Script" uid="uid://bo8r6pye3q4ki" path="res://tests/functional/test_collision_pairs.gd" id="2"]
[ext_resource type="Script" uid="uid://cx8vo58lobtgu" path="res://utils/camera_orbit.gd" id="4"]
[ext_resource type="PackedScene" uid="uid://b1ihqm3x8jru" path="res://tests/test_options.tscn" id="5"]
[sub_resource type="BoxShape3D" id="1"]

View File

@@ -1,8 +1,8 @@
[gd_scene load_steps=6 format=3 uid="uid://b15gg5je5qdu4"]
[ext_resource type="PackedScene" uid="uid://cl2vpuxqgnylc" path="res://tests/static_scene.tscn" id="1"]
[ext_resource type="Script" path="res://test.gd" id="2"]
[ext_resource type="Script" path="res://utils/camera_orbit.gd" id="3"]
[ext_resource type="Script" uid="uid://cu0nmknf22ua2" path="res://test.gd" id="2"]
[ext_resource type="Script" uid="uid://cx8vo58lobtgu" path="res://utils/camera_orbit.gd" id="3"]
[sub_resource type="BoxShape3D" id="1"]
@@ -10,7 +10,7 @@
radius = 0.2
[node name="Test" type="Node3D"]
script = ExtResource( "2" )
script = ExtResource("2")
[node name="DynamicShapes" type="Node3D" parent="."]
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 0, 9.35591, 0)
@@ -20,115 +20,115 @@ transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, -5.51361, 0, 0)
[node name="CollisionShape1" type="CollisionShape3D" parent="DynamicShapes/RigidBodyG"]
transform = Transform3D(-2.44381e-07, -0.3, 0, 1.5, -4.88762e-08, 0, 0, 0, 0.3, -0.8, 0, 0)
shape = SubResource( "1" )
shape = SubResource("1")
[node name="CollisionShape2" type="CollisionShape3D" parent="DynamicShapes/RigidBodyG"]
transform = Transform3D(0.8, 0, 4.26326e-15, 0, 0.3, 0, -1.13687e-14, 0, 0.3, 0.3, -1.2, 0)
shape = SubResource( "1" )
shape = SubResource("1")
[node name="CollisionShape3" type="CollisionShape3D" parent="DynamicShapes/RigidBodyG"]
transform = Transform3D(-8.14603e-08, -0.3, 0, 0.5, -4.88762e-08, 0, 0, 0, 0.3, 0.8, -0.5, 0)
shape = SubResource( "1" )
shape = SubResource("1")
[node name="CollisionShape4" type="CollisionShape3D" parent="DynamicShapes/RigidBodyG"]
transform = Transform3D(0.8, 0, 4.26326e-15, 0, 0.3, 0, -1.13687e-14, 0, 0.3, 0.3, 1.2, 0)
shape = SubResource( "1" )
shape = SubResource("1")
[node name="RigidBodyO" type="RigidDynamicBody3D" parent="DynamicShapes"]
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, -2.65654, 0, 0)
[node name="CollisionShape1" type="CollisionShape3D" parent="DynamicShapes/RigidBodyO"]
transform = Transform3D(-2.44381e-07, -0.3, 0, 1.5, -4.88762e-08, 0, 0, 0, 0.3, -0.8, 0, 0)
shape = SubResource( "1" )
shape = SubResource("1")
[node name="CollisionShape2" type="CollisionShape3D" parent="DynamicShapes/RigidBodyO"]
transform = Transform3D(0.5, 0, 4.26326e-15, 0, 0.3, 0, -7.10543e-15, 0, 0.3, 0, 1.2, 0)
shape = SubResource( "1" )
shape = SubResource("1")
[node name="CollisionShape3" type="CollisionShape3D" parent="DynamicShapes/RigidBodyO"]
transform = Transform3D(0.5, 0, 4.26326e-15, 0, 0.3, 0, -7.10543e-15, 0, 0.3, 0, -1.2, 0)
shape = SubResource( "1" )
shape = SubResource("1")
[node name="CollisionShape4" type="CollisionShape3D" parent="DynamicShapes/RigidBodyO"]
transform = Transform3D(-2.44381e-07, -0.3, 0, 1.5, -4.88762e-08, 0, 0, 0, 0.3, 0.8, 0, 0)
shape = SubResource( "1" )
shape = SubResource("1")
[node name="RigidBodyD" type="RigidDynamicBody3D" parent="DynamicShapes"]
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 0.248918, 0, 0)
[node name="CollisionShape1" type="CollisionShape3D" parent="DynamicShapes/RigidBodyD"]
transform = Transform3D(-2.44381e-07, -0.3, 0, 1.5, -4.88762e-08, 0, 0, 0, 0.3, -0.8, 0, 0)
shape = SubResource( "1" )
shape = SubResource("1")
[node name="CollisionShape2" type="CollisionShape3D" parent="DynamicShapes/RigidBodyD"]
transform = Transform3D(0.5, 0, 4.26326e-15, 0, 0.3, 0, -7.10543e-15, 0, 0.3, 0, 1.2, 0)
shape = SubResource( "1" )
shape = SubResource("1")
[node name="CollisionShape3" type="CollisionShape3D" parent="DynamicShapes/RigidBodyD"]
transform = Transform3D(0.5, 0, 4.26326e-15, 0, 0.3, 0, -7.10543e-15, 0, 0.3, 0, -1.2, 0)
shape = SubResource( "1" )
shape = SubResource("1")
[node name="CollisionShape4" type="CollisionShape3D" parent="DynamicShapes/RigidBodyD"]
transform = Transform3D(-1.46629e-07, -0.3, 0, 0.9, -4.88762e-08, 0, 0, 0, 0.3, 0.8, 0, 0)
shape = SubResource( "1" )
shape = SubResource("1")
[node name="RigidBodyO2" type="RigidDynamicBody3D" parent="DynamicShapes"]
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 2.97932, 0, 0)
[node name="CollisionShape1" type="CollisionShape3D" parent="DynamicShapes/RigidBodyO2"]
transform = Transform3D(-2.44381e-07, -0.3, 0, 1.5, -4.88762e-08, 0, 0, 0, 0.3, -0.8, 0, 0)
shape = SubResource( "1" )
shape = SubResource("1")
[node name="CollisionShape2" type="CollisionShape3D" parent="DynamicShapes/RigidBodyO2"]
transform = Transform3D(0.5, 0, 4.26326e-15, 0, 0.3, 0, -7.10543e-15, 0, 0.3, 0, 1.2, 0)
shape = SubResource( "1" )
shape = SubResource("1")
[node name="CollisionShape3" type="CollisionShape3D" parent="DynamicShapes/RigidBodyO2"]
transform = Transform3D(0.5, 0, 4.26326e-15, 0, 0.3, 0, -7.10543e-15, 0, 0.3, 0, -1.2, 0)
shape = SubResource( "1" )
shape = SubResource("1")
[node name="CollisionShape4" type="CollisionShape3D" parent="DynamicShapes/RigidBodyO2"]
transform = Transform3D(-2.44381e-07, -0.3, 0, 1.5, -4.88762e-08, 0, 0, 0, 0.3, 0.8, 0, 0)
shape = SubResource( "1" )
shape = SubResource("1")
[node name="RigidBodyT" type="RigidDynamicBody3D" parent="DynamicShapes"]
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 5.46836, 0, 0)
[node name="CollisionShape1" type="CollisionShape3D" parent="DynamicShapes/RigidBodyT"]
transform = Transform3D(-1.95505e-07, -0.3, 0, 1.2, -4.88762e-08, 0, 0, 0, 0.3, 0, -0.3, 0)
shape = SubResource( "1" )
shape = SubResource("1")
[node name="CollisionShape2" type="CollisionShape3D" parent="DynamicShapes/RigidBodyT"]
transform = Transform3D(1, 0, 4.26326e-15, 0, 0.3, 0, -1.42109e-14, 0, 0.3, 0, 1.2, 0)
shape = SubResource( "1" )
shape = SubResource("1")
[node name="StaticBodyPins" type="StaticBody3D" parent="."]
[node name="CollisionShape" type="CollisionShape3D" parent="StaticBodyPins"]
transform = Transform3D(1, 0, 0, 0, -4.37114e-08, -1, 0, 1, -4.37114e-08, 0, 9.13207, 0)
shape = SubResource( "2" )
shape = SubResource("2")
[node name="CollisionShape2" type="CollisionShape3D" parent="StaticBodyPins"]
transform = Transform3D(1, 0, 0, 0, -4.37114e-08, -1, 0, 1, -4.37114e-08, -2.71742, 9.13207, 0)
shape = SubResource( "2" )
shape = SubResource("2")
[node name="CollisionShape3" type="CollisionShape3D" parent="StaticBodyPins"]
transform = Transform3D(1, 0, 0, 0, -4.37114e-08, -1, 0, 1, -4.37114e-08, -5.64188, 9.13207, 0)
shape = SubResource( "2" )
shape = SubResource("2")
[node name="CollisionShape4" type="CollisionShape3D" parent="StaticBodyPins"]
transform = Transform3D(1, 0, 0, 0, -4.37114e-08, -1, 0, 1, -4.37114e-08, 2.87444, 9.13207, 0)
shape = SubResource( "2" )
shape = SubResource("2")
[node name="CollisionShape5" type="CollisionShape3D" parent="StaticBodyPins"]
transform = Transform3D(1, 0, 0, 0, -4.37114e-08, -1, 0, 1, -4.37114e-08, 4.81639, 9.13207, 0)
shape = SubResource( "2" )
shape = SubResource("2")
[node name="StaticScene" parent="." instance=ExtResource( "1" )]
[node name="StaticScene" parent="." instance=ExtResource("1")]
[node name="Camera3D" type="Camera3D" parent="."]
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 0, 4.53602, 22.1236)
script = ExtResource( "3" )
script = ExtResource("3")
[node name="OmniLight" type="OmniLight3D" parent="Camera3D"]
omni_range = 50.0

View File

@@ -1,7 +1,7 @@
[gd_scene load_steps=10 format=3 uid="uid://d1j6kxs3plvry"]
[ext_resource type="Script" path="res://test.gd" id="1"]
[ext_resource type="Script" path="res://utils/control3d.gd" id="2"]
[ext_resource type="Script" uid="uid://cu0nmknf22ua2" path="res://test.gd" id="1"]
[ext_resource type="Script" uid="uid://k4cta5vagong" path="res://utils/control3d.gd" id="2"]
[sub_resource type="PhysicsMaterial" id="1"]
friction = 0.0
@@ -22,31 +22,31 @@ friction = 0.5
[sub_resource type="PhysicsMaterial" id="7"]
[node name="Test" type="Node3D"]
script = ExtResource( "1" )
script = ExtResource("1")
[node name="StaticBodyFriction0" type="StaticBody3D" parent="."]
transform = Transform3D(1, 0, 0, 0, 0.866025, -0.5, 0, 0.5, 0.866025, -6, 8.581, 0)
physics_material_override = SubResource( "1" )
physics_material_override = SubResource("1")
[node name="CollisionShape" type="CollisionShape3D" parent="StaticBodyFriction0"]
transform = Transform3D(5, 0, 0, 0, 1, 0, 0, 0, 50, 0, 0, 0)
shape = SubResource( "2" )
shape = SubResource("2")
[node name="RigidBodies" type="Node3D" parent="StaticBodyFriction0"]
transform = Transform3D(1, 0, 0, 0, 0.866026, 0.5, 0, -0.5, 0.866026, -3, -7.431, 4.291)
[node name="RigidBodyFriction0" type="RigidDynamicBody3D" parent="StaticBodyFriction0/RigidBodies"]
transform = Transform3D(1, 0, 0, 0, 0.866025, -0.5, 0, 0.5, 0.866025, 0, 10, 0)
physics_material_override = SubResource( "3" )
physics_material_override = SubResource("3")
[node name="CollisionShape" type="CollisionShape3D" parent="StaticBodyFriction0/RigidBodies/RigidBodyFriction0"]
shape = SubResource( "4" )
shape = SubResource("4")
[node name="LabelFriction" type="Label" parent="StaticBodyFriction0/RigidBodies/RigidBodyFriction0"]
offset_right = 40.0
offset_bottom = 14.0
text = "0"
script = ExtResource( "2" )
script = ExtResource("2")
__meta__ = {
"_edit_use_anchors_": false
}
@@ -54,16 +54,16 @@ world_offset = Vector3(0, 1.5, 0)
[node name="RigidBodyFriction05" type="RigidDynamicBody3D" parent="StaticBodyFriction0/RigidBodies"]
transform = Transform3D(1, 0, 0, 0, 0.866025, -0.5, 0, 0.5, 0.866025, 3, 10, 0)
physics_material_override = SubResource( "5" )
physics_material_override = SubResource("5")
[node name="CollisionShape" type="CollisionShape3D" parent="StaticBodyFriction0/RigidBodies/RigidBodyFriction05"]
shape = SubResource( "4" )
shape = SubResource("4")
[node name="LabelFriction" type="Label" parent="StaticBodyFriction0/RigidBodies/RigidBodyFriction05"]
offset_right = 40.0
offset_bottom = 14.0
text = "0.5"
script = ExtResource( "2" )
script = ExtResource("2")
__meta__ = {
"_edit_use_anchors_": false
}
@@ -71,16 +71,16 @@ world_offset = Vector3(0, 1.5, 0)
[node name="RigidBodyFriction1" type="RigidDynamicBody3D" parent="StaticBodyFriction0/RigidBodies"]
transform = Transform3D(1, 0, 0, 0, 0.866025, -0.5, 0, 0.5, 0.866025, 6, 10, 0)
physics_material_override = SubResource( "6" )
physics_material_override = SubResource("6")
[node name="CollisionShape" type="CollisionShape3D" parent="StaticBodyFriction0/RigidBodies/RigidBodyFriction1"]
shape = SubResource( "4" )
shape = SubResource("4")
[node name="LabelFriction" type="Label" parent="StaticBodyFriction0/RigidBodies/RigidBodyFriction1"]
offset_right = 40.0
offset_bottom = 14.0
text = "1"
script = ExtResource( "2" )
script = ExtResource("2")
__meta__ = {
"_edit_use_anchors_": false
}
@@ -88,27 +88,27 @@ world_offset = Vector3(0, 1.5, 0)
[node name="StaticBodyFriction1" type="StaticBody3D" parent="."]
transform = Transform3D(1, 0, 0, 0, 0.866025, -0.5, 0, 0.5, 0.866025, 6, 8.581, 0)
physics_material_override = SubResource( "7" )
physics_material_override = SubResource("7")
[node name="CollisionShape" type="CollisionShape3D" parent="StaticBodyFriction1"]
transform = Transform3D(5, 0, 0, 0, 1, 0, 0, 0, 50, 0, 0, 0)
shape = SubResource( "2" )
shape = SubResource("2")
[node name="RigidBodies" type="Node3D" parent="StaticBodyFriction1"]
transform = Transform3D(1, 0, 0, 0, 0.866026, 0.5, 0, -0.5, 0.866026, -3, -7.431, 4.291)
[node name="RigidBodyFriction0" type="RigidDynamicBody3D" parent="StaticBodyFriction1/RigidBodies"]
transform = Transform3D(1, 0, 0, 0, 0.866025, -0.5, 0, 0.5, 0.866025, 0, 10, 0)
physics_material_override = SubResource( "3" )
physics_material_override = SubResource("3")
[node name="CollisionShape" type="CollisionShape3D" parent="StaticBodyFriction1/RigidBodies/RigidBodyFriction0"]
shape = SubResource( "4" )
shape = SubResource("4")
[node name="LabelFriction" type="Label" parent="StaticBodyFriction1/RigidBodies/RigidBodyFriction0"]
offset_right = 40.0
offset_bottom = 14.0
text = "0"
script = ExtResource( "2" )
script = ExtResource("2")
__meta__ = {
"_edit_use_anchors_": false
}
@@ -116,16 +116,16 @@ world_offset = Vector3(0, 1.5, 0)
[node name="RigidBodyFriction05" type="RigidDynamicBody3D" parent="StaticBodyFriction1/RigidBodies"]
transform = Transform3D(1, 0, 0, 0, 0.866025, -0.5, 0, 0.5, 0.866025, 3, 10, 0)
physics_material_override = SubResource( "5" )
physics_material_override = SubResource("5")
[node name="CollisionShape" type="CollisionShape3D" parent="StaticBodyFriction1/RigidBodies/RigidBodyFriction05"]
shape = SubResource( "4" )
shape = SubResource("4")
[node name="LabelFriction" type="Label" parent="StaticBodyFriction1/RigidBodies/RigidBodyFriction05"]
offset_right = 40.0
offset_bottom = 14.0
text = "0.5"
script = ExtResource( "2" )
script = ExtResource("2")
__meta__ = {
"_edit_use_anchors_": false
}
@@ -133,16 +133,16 @@ world_offset = Vector3(0, 1.5, 0)
[node name="RigidBodyFriction1" type="RigidDynamicBody3D" parent="StaticBodyFriction1/RigidBodies"]
transform = Transform3D(1, 0, 0, 0, 0.866025, -0.5, 0, 0.5, 0.866025, 6, 10, 0)
physics_material_override = SubResource( "6" )
physics_material_override = SubResource("6")
[node name="CollisionShape" type="CollisionShape3D" parent="StaticBodyFriction1/RigidBodies/RigidBodyFriction1"]
shape = SubResource( "4" )
shape = SubResource("4")
[node name="LabelFriction" type="Label" parent="StaticBodyFriction1/RigidBodies/RigidBodyFriction1"]
offset_right = 40.0
offset_bottom = 14.0
text = "1"
script = ExtResource( "2" )
script = ExtResource("2")
__meta__ = {
"_edit_use_anchors_": false
}

View File

@@ -0,0 +1 @@
uid://bjsln0okk343c

View File

@@ -1,11 +1,11 @@
[gd_scene load_steps=4 format=3 uid="uid://ff88axeu4fvf"]
[ext_resource type="Script" path="res://utils/camera_orbit.gd" id="1"]
[ext_resource type="Script" path="res://tests/functional/test_joints.gd" id="2"]
[ext_resource type="Script" uid="uid://cx8vo58lobtgu" path="res://utils/camera_orbit.gd" id="1"]
[ext_resource type="Script" uid="uid://bjsln0okk343c" path="res://tests/functional/test_joints.gd" id="2"]
[ext_resource type="PackedScene" uid="uid://b1ihqm3x8jru" path="res://tests/test_options.tscn" id="3"]
[node name="Test" type="Node3D"]
script = ExtResource( "2" )
script = ExtResource("2")
[node name="LabelJointType" type="Label" parent="."]
offset_left = 14.0
@@ -17,7 +17,7 @@ __meta__ = {
"_edit_use_anchors_": false
}
[node name="Options" parent="." instance=ExtResource( "3" )]
[node name="Options" parent="." instance=ExtResource("3")]
[node name="Joints" type="Node3D" parent="."]
@@ -35,7 +35,7 @@ __meta__ = {
[node name="Camera3D" type="Camera3D" parent="."]
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 6.19796)
script = ExtResource( "1" )
script = ExtResource("1")
[node name="OmniLight" type="OmniLight3D" parent="Camera3D"]
omni_range = 50.0

View File

@@ -0,0 +1 @@
uid://uo2swke2y6v8

View File

@@ -1,9 +1,9 @@
[gd_scene load_steps=13 format=3 uid="uid://dgh5drb4q81kh"]
[ext_resource type="Script" path="res://utils/camera_orbit.gd" id="1"]
[ext_resource type="Script" path="res://tests/functional/test_moving_platform.gd" id="2"]
[ext_resource type="Script" uid="uid://cx8vo58lobtgu" path="res://utils/camera_orbit.gd" id="1"]
[ext_resource type="Script" uid="uid://uo2swke2y6v8" path="res://tests/functional/test_moving_platform.gd" id="2"]
[ext_resource type="PackedScene" uid="uid://b1ihqm3x8jru" path="res://tests/test_options.tscn" id="3"]
[ext_resource type="Script" path="res://utils/characterbody_physics.gd" id="4"]
[ext_resource type="Script" uid="uid://ckob04lrcf4w" path="res://utils/characterbody_physics.gd" id="4"]
[sub_resource type="CapsuleShape3D" id="1"]
radius = 0.3
@@ -12,8 +12,8 @@ radius = 0.3
size = Vector3(0.6, 1.6, 0.6)
[sub_resource type="CylinderShape3D" id="3"]
radius = 0.3
height = 1.60005
radius = 0.3
[sub_resource type="SphereShape3D" id="4"]
radius = 0.79945
@@ -30,7 +30,7 @@ size = Vector3(4, 0.4, 2)
length = 9.0
[node name="Test2" type="Node3D"]
script = ExtResource( "2" )
script = ExtResource("2")
[node name="LabelBodyType" type="Label" parent="."]
offset_left = 14.0
@@ -42,7 +42,7 @@ __meta__ = {
"_edit_use_anchors_": false
}
[node name="Options" parent="." instance=ExtResource( "3" )]
[node name="Options" parent="." instance=ExtResource("3")]
offset_top = 153.0
offset_right = 134.0
offset_bottom = 182.0
@@ -52,29 +52,29 @@ offset_bottom = 182.0
[node name="CharacterBody3D" type="CharacterBody3D" parent="Bodies"]
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, -7, -4.18538, 0)
collision_layer = 2
script = ExtResource( "4" )
script = ExtResource("4")
_stop_on_slopes = true
use_snap = true
[node name="Capsule" type="CollisionShape3D" parent="Bodies/CharacterBody3D"]
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 0, 0.8, 0)
shape = SubResource( "1" )
shape = SubResource("1")
[node name="Box" type="CollisionShape3D" parent="Bodies/CharacterBody3D"]
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 0, 0.8, 0)
shape = SubResource( "2" )
shape = SubResource("2")
[node name="Cylinder" type="CollisionShape3D" parent="Bodies/CharacterBody3D"]
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 0, 0.8, 0)
shape = SubResource( "3" )
shape = SubResource("3")
[node name="Sphere" type="CollisionShape3D" parent="Bodies/CharacterBody3D"]
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 0, 0.8, 0)
shape = SubResource( "4" )
shape = SubResource("4")
[node name="Convex" type="CollisionShape3D" parent="Bodies/CharacterBody3D"]
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 0, 0.8, 0)
shape = SubResource( "5" )
shape = SubResource("5")
[node name="RigidBody" type="RigidDynamicBody3D" parent="Bodies"]
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, -7, -4.18538, 0)
@@ -82,27 +82,27 @@ collision_layer = 4
axis_lock_angular_x = true
axis_lock_angular_y = true
axis_lock_angular_z = true
physics_material_override = SubResource( "7" )
physics_material_override = SubResource("7")
[node name="Capsule" type="CollisionShape3D" parent="Bodies/RigidBody"]
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 0, 0.8, 0)
shape = SubResource( "1" )
shape = SubResource("1")
[node name="Box" type="CollisionShape3D" parent="Bodies/RigidBody"]
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 0, 0.8, 0)
shape = SubResource( "2" )
shape = SubResource("2")
[node name="Cylinder" type="CollisionShape3D" parent="Bodies/RigidBody"]
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 0, 0.8, 0)
shape = SubResource( "3" )
shape = SubResource("3")
[node name="Sphere" type="CollisionShape3D" parent="Bodies/RigidBody"]
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 0, 0.8, 0)
shape = SubResource( "4" )
shape = SubResource("4")
[node name="Convex" type="CollisionShape3D" parent="Bodies/RigidBody"]
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 0, 0.8, 0)
shape = SubResource( "5" )
shape = SubResource("5")
[node name="Platforms" type="Node3D" parent="."]
@@ -111,15 +111,15 @@ transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, -7, -4.235, 0)
[node name="CollisionShape" type="CollisionShape3D" parent="Platforms/MovingPlatform"]
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 0, -0.2, 0)
shape = SubResource( "8" )
shape = SubResource("8")
[node name="AnimationPlayer" type="AnimationPlayer" parent="Platforms/MovingPlatform"]
anims/Move = SubResource( "9" )
anims/Move = SubResource("9")
[node name="Camera3D" type="Camera3D" parent="."]
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 10)
current = true
script = ExtResource( "1" )
script = ExtResource("1")
[node name="OmniLight" type="OmniLight3D" parent="Camera3D"]
omni_range = 50.0

View File

@@ -0,0 +1 @@
uid://cln5072myhje1

View File

@@ -1,16 +1,16 @@
[gd_scene load_steps=4 format=3 uid="uid://coci5d8ma8tpi"]
[ext_resource type="Script" path="res://tests/functional/test_pyramid.gd" id="1"]
[ext_resource type="Script" uid="uid://cln5072myhje1" path="res://tests/functional/test_pyramid.gd" id="1"]
[ext_resource type="PackedScene" uid="uid://3gkujifjokqw" path="res://tests/static_scene_plane.tscn" id="2"]
[ext_resource type="Script" path="res://utils/camera_orbit.gd" id="4"]
[ext_resource type="Script" uid="uid://cx8vo58lobtgu" path="res://utils/camera_orbit.gd" id="4"]
[node name="Test" type="Node3D"]
script = ExtResource( "1" )
script = ExtResource("1")
[node name="Pyramid" type="Node3D" parent="."]
[node name="StaticBodyPlane" parent="." instance=ExtResource( "2" )]
[node name="StaticBodyPlane" parent="." instance=ExtResource("2")]
[node name="Camera3D" type="Camera3D" parent="."]
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 0, 6.62348, 22.9474)
script = ExtResource( "4" )
script = ExtResource("4")

View File

@@ -0,0 +1 @@
uid://cjd3xvrn5bdw5

View File

@@ -1,9 +1,9 @@
[gd_scene load_steps=10 format=3 uid="uid://dnpps474nfbu4"]
[ext_resource type="Shape3D" path="res://assets/robot_head/godot3_robot_head_collision.tres" id="1"]
[ext_resource type="Script" path="res://tests/functional/test_raycasting.gd" id="2"]
[ext_resource type="Script" uid="uid://cjd3xvrn5bdw5" path="res://tests/functional/test_raycasting.gd" id="2"]
[ext_resource type="PackedScene" uid="uid://b1ihqm3x8jru" path="res://tests/test_options.tscn" id="2_qprqi"]
[ext_resource type="Script" path="res://utils/camera_orbit.gd" id="4"]
[ext_resource type="Script" uid="uid://cx8vo58lobtgu" path="res://utils/camera_orbit.gd" id="4"]
[sub_resource type="BoxShape3D" id="1"]
@@ -17,9 +17,9 @@
points = PackedVector3Array(-0.7, 0, -0.7, -0.3, 0, 0.8, 0.8, 0, -0.3, 0, -1, 0)
[node name="Test" type="Node3D"]
script = ExtResource( "2" )
script = ExtResource("2")
[node name="Options" parent="." instance=ExtResource( "2_qprqi" )]
[node name="Options" parent="." instance=ExtResource("2_qprqi")]
offset_right = 134.0
offset_bottom = 135.719
theme_override_font_sizes/font_size = 16
@@ -33,7 +33,7 @@ freeze = true
[node name="CollisionShape" type="CollisionShape3D" parent="Shapes/RigidBodyBox"]
transform = Transform3D(0.579556, 0.0885213, 0.145926, 0, 0.939693, -0.205212, -0.155291, 0.330366, 0.544604, 0, 0, 0)
shape = SubResource( "1" )
shape = SubResource("1")
[node name="RigidBodySphere" type="RigidDynamicBody3D" parent="Shapes"]
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, -3, 0, 0)
@@ -41,14 +41,14 @@ freeze = true
[node name="CollisionShape" type="CollisionShape3D" parent="Shapes/RigidBodySphere"]
transform = Transform3D(1.2, 0, 0, 0, 1.2, 0, 0, 0, 1.2, 0, 0, 0)
shape = SubResource( "2" )
shape = SubResource("2")
[node name="RigidBodyCapsule" type="RigidDynamicBody3D" parent="Shapes"]
freeze = true
[node name="CollisionShape" type="CollisionShape3D" parent="Shapes/RigidBodyCapsule"]
transform = Transform3D(0.8, 0, 0, 0, 0.8, 0, 0, 0, 0.8, 0, 0, 0)
shape = SubResource( "3" )
shape = SubResource("3")
[node name="RigidBodyCylinder" type="RigidDynamicBody3D" parent="Shapes"]
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 3, 0, 0)
@@ -56,7 +56,7 @@ freeze = true
[node name="CollisionShape" type="CollisionShape3D" parent="Shapes/RigidBodyCylinder"]
transform = Transform3D(0.772741, -0.258819, 2.59821e-08, 0.2, 0.933013, -0.207055, 0.0535898, 0.25, 0.772741, 0, 0, 0)
shape = SubResource( "4" )
shape = SubResource("4")
[node name="RigidBodyConvexPolygon" type="RigidDynamicBody3D" parent="Shapes"]
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 6, -0.211, 0)
@@ -64,15 +64,15 @@ freeze = true
[node name="CollisionShape" type="CollisionShape3D" parent="Shapes/RigidBodyConvexPolygon"]
transform = Transform3D(2, 0, 0, 0, 2.89766, -0.517939, 0, 0.776908, 1.93177, 0, 0.3533, 0)
shape = SubResource( "5" )
shape = SubResource("5")
[node name="StaticBodyHead" type="StaticBody3D" parent="Shapes"]
transform = Transform3D(2, 0, 0, 0, 2, 0, 0, 0, 2, 0, -6, 3.93357)
[node name="CollisionShape" type="CollisionShape3D" parent="Shapes/StaticBodyHead"]
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 0, -1, 0)
shape = ExtResource( "1" )
shape = ExtResource("1")
[node name="Camera3D" type="Camera3D" parent="."]
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 0, 5.8667, 11.8164)
script = ExtResource( "4" )
script = ExtResource("4")

View File

@@ -0,0 +1 @@
uid://dhh0chau7tu87

View File

@@ -1,9 +1,9 @@
[gd_scene load_steps=28 format=3 uid="uid://se7gyhmygqul"]
[ext_resource type="Script" path="res://utils/rigidbody_ground_check.gd" id="1"]
[ext_resource type="Script" uid="uid://4rx7rkakkj28" path="res://utils/rigidbody_ground_check.gd" id="1"]
[ext_resource type="PackedScene" uid="uid://b1ihqm3x8jru" path="res://tests/test_options.tscn" id="2"]
[ext_resource type="Script" path="res://tests/functional/test_rigidbody_ground_check.gd" id="3"]
[ext_resource type="Script" path="res://utils/camera_orbit.gd" id="4"]
[ext_resource type="Script" uid="uid://dhh0chau7tu87" path="res://tests/functional/test_rigidbody_ground_check.gd" id="3"]
[ext_resource type="Script" uid="uid://cx8vo58lobtgu" path="res://utils/camera_orbit.gd" id="4"]
[sub_resource type="PhysicsMaterial" id="1"]
friction = 0.0

View File

@@ -1,9 +1,9 @@
[gd_scene load_steps=10 format=3 uid="uid://cw38dssdgqkti"]
[ext_resource type="Script" path="res://utils/rigidbody_pick.gd" id="1"]
[ext_resource type="Script" path="res://test.gd" id="2"]
[ext_resource type="Script" uid="uid://cy2w4686igcmr" path="res://utils/rigidbody_pick.gd" id="1"]
[ext_resource type="Script" uid="uid://cu0nmknf22ua2" path="res://test.gd" id="2"]
[ext_resource type="PackedScene" uid="uid://3gkujifjokqw" path="res://tests/static_scene_plane.tscn" id="3"]
[ext_resource type="Script" path="res://utils/camera_orbit.gd" id="4"]
[ext_resource type="Script" uid="uid://cx8vo58lobtgu" path="res://utils/camera_orbit.gd" id="4"]
[sub_resource type="BoxShape3D" id="1"]
@@ -17,7 +17,7 @@ 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"]
[node name="Test" type="Node3D"]
script = ExtResource( "2" )
script = ExtResource("2")
[node name="DynamicShapes" type="Node3D" parent="."]
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 0, 9.35591, 0)
@@ -27,62 +27,62 @@ transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, -6, 1, 0)
axis_lock_angular_x = true
axis_lock_angular_y = true
axis_lock_angular_z = true
script = ExtResource( "1" )
script = ExtResource("1")
[node name="CollisionShape" type="CollisionShape3D" parent="DynamicShapes/RigidBodyBox"]
transform = Transform3D(0.6, 0, 0, 0, 1, 0, 0, 0, 0.6, 0, 0, 0)
shape = SubResource( "1" )
shape = SubResource("1")
[node name="RigidBodyCapsule" type="RigidDynamicBody3D" parent="DynamicShapes"]
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, -3, 1.0034, 0)
axis_lock_angular_x = true
axis_lock_angular_y = true
axis_lock_angular_z = true
script = ExtResource( "1" )
script = ExtResource("1")
[node name="CollisionShape" type="CollisionShape3D" parent="DynamicShapes/RigidBodyCapsule"]
transform = Transform3D(0.8, 0, 0, 0, 0.8, 0, 0, 0, 0.8, 0, 0, 0)
shape = SubResource( "2" )
shape = SubResource("2")
[node name="RigidBodyCylinder" type="RigidDynamicBody3D" parent="DynamicShapes"]
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 0, 1.0034, 0)
axis_lock_angular_x = true
axis_lock_angular_y = true
axis_lock_angular_z = true
script = ExtResource( "1" )
script = ExtResource("1")
[node name="CollisionShape" type="CollisionShape3D" parent="DynamicShapes/RigidBodyCylinder"]
transform = Transform3D(0.8, 0, 0, 0, 1, 0, 0, 0, 0.8, 0, 0, 0)
shape = SubResource( "3" )
shape = SubResource("3")
[node name="RigidBodyConvex" type="RigidDynamicBody3D" parent="DynamicShapes"]
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 3, 1.97795, 0)
axis_lock_angular_x = true
axis_lock_angular_y = true
axis_lock_angular_z = true
script = ExtResource( "1" )
script = ExtResource("1")
[node name="CollisionShape" type="CollisionShape3D" parent="DynamicShapes/RigidBodyConvex"]
transform = Transform3D(1.5, 0, 0, 0, 2, 0, 0, 0, 1.5, 0, 0, 0)
shape = SubResource( "4" )
shape = SubResource("4")
[node name="RigidBodySphere" type="RigidDynamicBody3D" parent="DynamicShapes"]
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 6, 1, 0)
axis_lock_angular_x = true
axis_lock_angular_y = true
axis_lock_angular_z = true
script = ExtResource( "1" )
script = ExtResource("1")
[node name="CollisionShape" type="CollisionShape3D" parent="DynamicShapes/RigidBodySphere"]
transform = Transform3D(0.8, 0, 0, 0, 0.8, 0, 0, 0, 0.8, 0, 0, 0)
shape = SubResource( "5" )
shape = SubResource("5")
[node name="StaticBodyPlane" parent="." instance=ExtResource( "3" )]
[node name="StaticBodyPlane" parent="." instance=ExtResource("3")]
[node name="Camera3D" type="Camera3D" parent="."]
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 0, 3.604, 22.124)
fov = 35.0
script = ExtResource( "4" )
script = ExtResource("4")
[node name="OmniLight" type="OmniLight3D" parent="Camera3D"]
omni_range = 50.0

View File

@@ -1,8 +1,8 @@
[gd_scene load_steps=10 format=3 uid="uid://dmvgjuovguvg7"]
[ext_resource type="Script" path="res://utils/rigidbody_pick.gd" id="1"]
[ext_resource type="Script" path="res://test.gd" id="2"]
[ext_resource type="Script" path="res://utils/camera_orbit.gd" id="4"]
[ext_resource type="Script" uid="uid://cy2w4686igcmr" path="res://utils/rigidbody_pick.gd" id="1"]
[ext_resource type="Script" uid="uid://cu0nmknf22ua2" path="res://test.gd" id="2"]
[ext_resource type="Script" uid="uid://cx8vo58lobtgu" path="res://utils/camera_orbit.gd" id="4"]
[ext_resource type="PackedScene" uid="uid://cl2vpuxqgnylc" path="res://tests/static_scene.tscn" id="6"]
[sub_resource type="BoxShape3D" id="1"]
@@ -17,55 +17,55 @@ 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"]
[node name="Test" type="Node3D"]
script = ExtResource( "2" )
script = ExtResource("2")
[node name="DynamicShapes" type="Node3D" parent="."]
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 0, 9.35591, 0)
[node name="RigidBodyBox" type="RigidDynamicBody3D" parent="DynamicShapes"]
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, -6, 0, 0)
script = ExtResource( "1" )
script = ExtResource("1")
[node name="CollisionShape" type="CollisionShape3D" parent="DynamicShapes/RigidBodyBox"]
transform = Transform3D(0.579556, 0.0885213, 0.145926, 0, 0.939693, -0.205212, -0.155291, 0.330366, 0.544604, 0, 0, 0)
shape = SubResource( "1" )
shape = SubResource("1")
[node name="RigidBodyCapsule" type="RigidDynamicBody3D" parent="DynamicShapes"]
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, -3, 0, 0)
script = ExtResource( "1" )
script = ExtResource("1")
[node name="CollisionShape" type="CollisionShape3D" parent="DynamicShapes/RigidBodyCapsule"]
transform = Transform3D(0.8, 0, 0, 0, 0.8, 0, 0, 0, 0.8, 0, 0, 0)
shape = SubResource( "2" )
shape = SubResource("2")
[node name="RigidBodyCylinder" type="RigidDynamicBody3D" parent="DynamicShapes"]
script = ExtResource( "1" )
script = ExtResource("1")
[node name="CollisionShape" type="CollisionShape3D" parent="DynamicShapes/RigidBodyCylinder"]
transform = Transform3D(0.772741, -0.258819, 2.59821e-08, 0.2, 0.933013, -0.207055, 0.0535898, 0.25, 0.772741, 0, 0, 0)
shape = SubResource( "3" )
shape = SubResource("3")
[node name="RigidBodyConvex" type="RigidDynamicBody3D" parent="DynamicShapes"]
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 3, 0, 0)
script = ExtResource( "1" )
script = ExtResource("1")
[node name="CollisionShape" type="CollisionShape3D" parent="DynamicShapes/RigidBodyConvex"]
transform = Transform3D(1.5, 0, 0, 0, 1.93185, -0.388229, 0, 0.517638, 1.44889, 0, 0, 0)
shape = SubResource( "4" )
shape = SubResource("4")
[node name="RigidBodySphere" type="RigidDynamicBody3D" parent="DynamicShapes"]
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 6, 0, 0)
script = ExtResource( "1" )
script = ExtResource("1")
[node name="CollisionShape" type="CollisionShape3D" parent="DynamicShapes/RigidBodySphere"]
transform = Transform3D(0.8, 0, 0, 0, 0.8, 0, 0, 0, 0.8, 0, 0, 0)
shape = SubResource( "5" )
shape = SubResource("5")
[node name="StaticScene" parent="." instance=ExtResource( "6" )]
[node name="StaticScene" parent="." instance=ExtResource("6")]
[node name="Camera3D" type="Camera3D" parent="."]
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 0, 4.53602, 22.1236)
script = ExtResource( "4" )
script = ExtResource("4")
[node name="OmniLight" type="OmniLight3D" parent="Camera3D"]
omni_range = 50.0

View File

@@ -0,0 +1 @@
uid://co4k1bxvtd0mq

View File

@@ -1,8 +1,8 @@
[gd_scene load_steps=4 format=3 uid="uid://dwn10myg4lqtw"]
[ext_resource type="Script" path="res://tests/functional/test_stack.gd" id="1"]
[ext_resource type="Script" uid="uid://co4k1bxvtd0mq" path="res://tests/functional/test_stack.gd" id="1"]
[ext_resource type="PackedScene" uid="uid://3gkujifjokqw" path="res://tests/static_scene_plane.tscn" id="2"]
[ext_resource type="Script" path="res://utils/camera_orbit.gd" id="4"]
[ext_resource type="Script" uid="uid://cx8vo58lobtgu" path="res://utils/camera_orbit.gd" id="4"]
[node name="Test" type="Node3D"]
script = ExtResource("1")

View File

@@ -0,0 +1 @@
uid://2p17w871kkxq

View File

@@ -1,9 +1,9 @@
[gd_scene load_steps=2 format=3 uid="uid://d3h64row8tfqc"]
[ext_resource type="Script" path="res://tests/performance/test_perf_broadphase.gd" id="1"]
[ext_resource type="Script" uid="uid://2p17w871kkxq" path="res://tests/performance/test_perf_broadphase.gd" id="1"]
[node name="Test" type="Node3D"]
script = ExtResource( "1" )
script = ExtResource("1")
_enable_debug_collision = false
row_size = 50
column_size = 50

View File

@@ -1,7 +1,7 @@
[gd_scene load_steps=11 format=3 uid="uid://ctni5eafiy2bu"]
[ext_resource type="Script" path="res://tests/performance/test_perf_contacts.gd" id="1"]
[ext_resource type="Script" path="res://utils/camera_orbit.gd" id="3"]
[ext_resource type="Script" uid="uid://4kcl3sbrycms" path="res://tests/performance/test_perf_contacts.gd" id="1"]
[ext_resource type="Script" uid="uid://cx8vo58lobtgu" path="res://utils/camera_orbit.gd" id="3"]
[ext_resource type="PackedScene" uid="uid://b1ihqm3x8jru" path="res://tests/test_options.tscn" id="4"]
[ext_resource type="PackedScene" uid="uid://cl2vpuxqgnylc" path="res://tests/static_scene.tscn" id="5"]
@@ -15,18 +15,17 @@
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"]
radius = 0.5
[sub_resource type="WorldBoundaryShape3D" id="6"]
[node name="Test" type="Node3D"]
script = ExtResource( "1" )
script = ExtResource("1")
_enable_debug_collision = false
spawns = ["SpawnTarget1", "SpawnTarget2", "SpawnTarget3", "SpawnTarget4", "SpawnTarget5", "SpawnTarget6", "SpawnTarget7", "SpawnTarget8", "SpawnTarget9", "SpawnTarget10", "SpawnTarget11", "SpawnTarget12", "SpawnTarget13", "SpawnTarget14", "SpawnTarget15", "SpawnTarget16"]
spawn_count = 200
spawn_randomize = Vector3(0.2, 0.2, 0.2)
[node name="Options" parent="." instance=ExtResource( "4" )]
[node name="Options" parent="." instance=ExtResource("4")]
[node name="SpawnTarget1" type="Node3D" parent="."]
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 40, 7, -37.715)
@@ -82,56 +81,56 @@ transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, -26.3192, 1.2359, 38.0117)
[node name="RigidBodyBox" type="RigidDynamicBody3D" parent="DynamicShapes"]
[node name="CollisionShape" type="CollisionShape3D" parent="DynamicShapes/RigidBodyBox"]
shape = SubResource( "1" )
shape = SubResource("1")
[node name="RigidBodyCapsule" type="RigidDynamicBody3D" 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" )
shape = SubResource("2")
[node name="RigidBodyCylinder" type="RigidDynamicBody3D" 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" )
shape = SubResource("3")
[node name="RigidBodyConvex" type="RigidDynamicBody3D" parent="DynamicShapes"]
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 6, 0, 0)
[node name="CollisionShape" type="CollisionShape3D" parent="DynamicShapes/RigidBodyConvex"]
transform = Transform3D(0.5, 0, 0, 0, 0.5, 0, 0, 0, 0.5, 0, 0, 0)
shape = SubResource( "4" )
shape = SubResource("4")
[node name="RigidBodySphere" type="RigidDynamicBody3D" 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" )
shape = SubResource("5")
[node name="StaticScene" parent="." instance=ExtResource( "5" )]
[node name="StaticScene" parent="." instance=ExtResource("5")]
[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, -50, 0, 0)
shape = SubResource( "6" )
shape = SubResource("6")
[node name="CollisionShape2" type="CollisionShape3D" parent="StaticBodyWalls"]
transform = Transform3D(-1.62921e-07, -1, 0, 1, -1.62921e-07, 0, 0, 0, 1, 50, 0, 0)
shape = SubResource( "6" )
shape = SubResource("6")
[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, -50)
shape = SubResource( "6" )
shape = SubResource("6")
[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, 50)
shape = SubResource( "6" )
shape = SubResource("6")
[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( "3" )
script = ExtResource("3")
[node name="OmniLight" type="OmniLight3D" parent="Camera3D"]
omni_range = 80.0

View File

@@ -0,0 +1 @@
uid://4kcl3sbrycms

View File

@@ -1,9 +1,9 @@
[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" path="res://tests/performance/test_perf_contacts.gd" id="2"]
[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" path="res://utils/camera_orbit.gd" id="5"]
[ext_resource type="Script" uid="uid://cx8vo58lobtgu" path="res://utils/camera_orbit.gd" id="5"]
[sub_resource type="BoxShape3D" id="1"]
@@ -19,13 +19,13 @@ points = PackedVector3Array(-0.7, 0, -0.7, -0.3, 0, 0.8, 0.8, 0, -0.3, 0, -1, 0)
[sub_resource type="WorldBoundaryShape3D" id="6"]
[node name="Test" type="Node3D"]
script = ExtResource( "2" )
script = ExtResource("2")
_enable_debug_collision = false
spawns = ["SpawnTarget1"]
spawn_count = 500
spawn_randomize = Vector3(0.2, 0.2, 0.2)
[node name="Options" parent="." instance=ExtResource( "4" )]
[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)
@@ -36,55 +36,55 @@ transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, -26.3192, 1.2359, 38.0117)
[node name="RigidBodyBox" type="RigidDynamicBody3D" parent="DynamicShapes"]
[node name="CollisionShape" type="CollisionShape3D" parent="DynamicShapes/RigidBodyBox"]
shape = SubResource( "1" )
shape = SubResource("1")
[node name="RigidBodyCapsule" type="RigidDynamicBody3D" 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" )
shape = SubResource("2")
[node name="RigidBodyCylinder" type="RigidDynamicBody3D" 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" )
shape = SubResource("3")
[node name="RigidBodyConvex" type="RigidDynamicBody3D" 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" )
shape = SubResource("4")
[node name="RigidBodySphere" type="RigidDynamicBody3D" 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" )
shape = SubResource("5")
[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" )
shape = SubResource("6")
[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" )
shape = SubResource("6")
[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" )
shape = SubResource("6")
[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" )
shape = SubResource("6")
[node name="StaticScene" parent="." instance=ExtResource( "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" )
script = ExtResource("5")
[node name="OmniLight" type="OmniLight3D" parent="Camera3D"]
omni_range = 80.0

View File

@@ -6,13 +6,13 @@
[node name="StaticScene" type="Node3D"]
[node name="StaticBodyPlane" parent="." instance=ExtResource( "3" )]
[node name="StaticBodyPlane" parent="." instance=ExtResource("3")]
[node name="StaticBodyHead" type="StaticBody3D" parent="."]
transform = Transform3D(10, 0, 0, 0, 8.66025, 5, 0, -5, 8.66025, 0, -11.1389, 2.29332)
[node name="RobotHead" type="MeshInstance3D" parent="StaticBodyHead"]
mesh = ExtResource( "2" )
mesh = ExtResource("2")
[node name="CollisionShape" type="CollisionShape3D" parent="StaticBodyHead"]
shape = ExtResource( "1" )
shape = ExtResource("1")

View File

@@ -9,8 +9,8 @@ data = PackedVector3Array(-1, 0, 1, 1, 0, -1, 1, 0, 1, -1, 0, 1, -1, 0, -1, 1, 0
[node name="MeshInstance3D" type="MeshInstance3D" parent="."]
transform = Transform3D(50, 0, 0, 0, 1, 0, 0, 0, 50, 0, 0, 0)
mesh = SubResource( "1" )
mesh = SubResource("1")
[node name="CollisionShape" type="CollisionShape3D" parent="."]
transform = Transform3D(50, 0, 0, 0, 1, 0, 0, 0, 50, 0, 0, 0)
shape = SubResource( "2" )
shape = SubResource("2")

View File

@@ -1,6 +1,6 @@
[gd_scene load_steps=2 format=3 uid="uid://b1ihqm3x8jru"]
[ext_resource type="Script" path="res://utils/option_menu.gd" id="1"]
[ext_resource type="Script" uid="uid://4nrylag73hse" path="res://utils/option_menu.gd" id="1"]
[node name="Options" type="MenuButton"]
offset_left = 10.0
@@ -9,7 +9,7 @@ offset_right = 125.0
offset_bottom = 126.719
text = "TEST OPTIONS"
flat = false
script = ExtResource( "1" )
script = ExtResource("1")
__meta__ = {
"_edit_use_anchors_": false
}

View File

@@ -0,0 +1 @@
uid://dd0fbi0qttuuw

View File

@@ -0,0 +1 @@
uid://cx8vo58lobtgu

View File

@@ -0,0 +1 @@
uid://ckob04lrcf4w

View File

@@ -0,0 +1 @@
uid://eleg6e366qxd

View File

@@ -0,0 +1 @@
uid://k4cta5vagong

View File

@@ -0,0 +1 @@
uid://do0udxc585k84

View File

@@ -0,0 +1 @@
uid://34ftr8y77xc0

View File

@@ -0,0 +1 @@
uid://bsrr8ude7isvn

View File

@@ -0,0 +1 @@
uid://bkvmvpx2kl536

View File

@@ -0,0 +1 @@
uid://bai0htaaejvop

View File

@@ -0,0 +1 @@
uid://4nrylag73hse

View File

@@ -0,0 +1 @@
uid://4rx7rkakkj28

View File

@@ -0,0 +1 @@
uid://cy2w4686igcmr

View File

@@ -0,0 +1 @@
uid://pagh264d7unt

View File

@@ -0,0 +1 @@
uid://bau7sgdbs7a8y

View File

@@ -0,0 +1 @@
uid://dx0o62ygt6yta