1[gd_scene load_steps=10 format=2]
2
3[ext_resource path="res://test.gd" type="Script" id=2]
4[ext_resource path="res://utils/exception_cylinder.gd" type="Script" id=3]
5[ext_resource path="res://utils/camera_orbit.gd" type="Script" id=4]
6[ext_resource path="res://tests/static_scene.tscn" type="PackedScene" id=6]
7
8[sub_resource type="BoxShape" id=1]
9
10[sub_resource type="CapsuleShape" id=2]
11
12[sub_resource type="CylinderShape" id=3]
13
14[sub_resource type="ConvexPolygonShape" id=4]
15points = PoolVector3Array( -0.7, 0, -0.7, -0.3, 0, 0.8, 0.8, 0, -0.3, 0, -1, 0 )
16
17[sub_resource type="SphereShape" id=5]
18
19[node name="Test" type="Spatial"]
20script = ExtResource( 2 )
21
22[node name="DynamicShapes" type="Spatial" parent="."]
23transform = Transform( 1, 0, 0, 0, 1, 0, 0, 0, 1, 0, 9.35591, 0 )
24
25[node name="RigidBodyBox" type="RigidBody" parent="DynamicShapes"]
26transform = Transform( 1, 0, 0, 0, 1, 0, 0, 0, 1, -6, 0, 0 )
27
28[node name="CollisionShape" type="CollisionShape" parent="DynamicShapes/RigidBodyBox"]
29transform = Transform( 0.579556, 0.0885213, 0.145926, 0, 0.939693, -0.205212, -0.155291, 0.330366, 0.544604, 0, 0, 0 )
30shape = SubResource( 1 )
31
32[node name="RigidBodyCapsule" type="RigidBody" parent="DynamicShapes"]
33transform = Transform( 1, 0, 0, 0, 1, 0, 0, 0, 1, -3, 0, 0 )
34
35[node name="CollisionShape" type="CollisionShape" parent="DynamicShapes/RigidBodyCapsule"]
36transform = Transform( 0.8, 0, 0, 0, -1.30337e-07, -0.8, 0, 0.8, -1.30337e-07, 0, 0, 0 )
37shape = SubResource( 2 )
38
39[node name="RigidBodyCylinder" type="RigidBody" parent="DynamicShapes"]
40script = ExtResource( 3 )
41
42[node name="CollisionShape" type="CollisionShape" parent="DynamicShapes/RigidBodyCylinder"]
43transform = Transform( 0.772741, -0.258819, 2.59821e-08, 0.2, 0.933013, -0.207055, 0.0535898, 0.25, 0.772741, 0, 0, 0 )
44shape = SubResource( 3 )
45
46[node name="RigidBodyConvex" type="RigidBody" parent="DynamicShapes"]
47transform = Transform( 1, 0, 0, 0, 1, 0, 0, 0, 1, 3, 0, 0 )
48
49[node name="CollisionShape" type="CollisionShape" parent="DynamicShapes/RigidBodyConvex"]
50transform = Transform( 1.5, 0, 0, 0, 1.93185, -0.388229, 0, 0.517638, 1.44889, 0, 0, 0 )
51shape = SubResource( 4 )
52
53[node name="RigidBodySphere" type="RigidBody" parent="DynamicShapes"]
54transform = Transform( 1, 0, 0, 0, 1, 0, 0, 0, 1, 6, 0, 0 )
55
56[node name="CollisionShape" type="CollisionShape" parent="DynamicShapes/RigidBodySphere"]
57transform = Transform( 0.8, 0, 0, 0, 0.8, 0, 0, 0, 0.8, 0, 0, 0 )
58shape = SubResource( 5 )
59
60[node name="StaticScene" parent="." instance=ExtResource( 6 )]
61
62[node name="Camera" type="Camera" parent="."]
63transform = Transform( 1, 0, 0, 0, 1, 0, 0, 0, 1, 0, 4.53602, 22.1236 )
64script = ExtResource( 4 )
65
66[node name="OmniLight" type="OmniLight" parent="Camera"]
67omni_range = 50.0
68