[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="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"] [sub_resource type="BoxShape3D" id="1"] [sub_resource type="SphereShape3D" id="2"] [sub_resource type="CapsuleShape3D" id="3"] [sub_resource type="CylinderShape3D" id="4"] [sub_resource type="ConvexPolygonShape3D" id="5"] 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" ) [node name="Options" parent="." instance=ExtResource( "2_qprqi" )] offset_right = 134.0 offset_bottom = 135.719 theme_override_font_sizes/font_size = 16 [node name="Shapes" type="Node3D" parent="."] transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 0, 9.35591, 0) [node name="RigidBodyBox" type="RigidDynamicBody3D" parent="Shapes"] transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, -6, 0, 0) 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" ) [node name="RigidBodySphere" type="RigidDynamicBody3D" parent="Shapes"] transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, -3, 0, 0) 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" ) [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" ) [node name="RigidBodyCylinder" type="RigidDynamicBody3D" parent="Shapes"] transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 3, 0, 0) 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" ) [node name="RigidBodyConvexPolygon" type="RigidDynamicBody3D" parent="Shapes"] transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 6, -0.211, 0) 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" ) [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" ) [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" )