1- [gd_scene load_steps =9 format =2 ]
1+ [gd_scene load_steps =14 format =2 ]
22
33[ext_resource path ="res://utils/camera_orbit.gd" type ="Script" id =1 ]
44[ext_resource path ="res://tests/functional/test_moving_platform.gd" type ="Script" id =2 ]
88[sub_resource type ="CapsuleShape" id =1 ]
99radius = 0.3
1010
11- [sub_resource type ="PhysicsMaterial" id =2 ]
11+ [sub_resource type ="BoxShape" id =2 ]
12+ extents = Vector3 ( 0.3 , 0.8 , 0.3 )
1213
13- [sub_resource type ="BoxShape" id =3 ]
14+ [sub_resource type ="CylinderShape" id =3 ]
15+ radius = 0.3
16+ height = 1.60005
17+
18+ [sub_resource type ="SphereShape" id =4 ]
19+ radius = 0.79945
20+
21+ [sub_resource type ="ConvexPolygonShape" id =5 ]
22+ points = PoolVector3Array ( -0.7 , 0 , -0.7 , -0.3 , 0 , 0.8 , 0.8 , 0 , -0.3 , 0 , -0.8 , 0 )
23+
24+ [sub_resource type ="RayShape" id =6 ]
25+ length = 0.8
26+
27+ [sub_resource type ="PhysicsMaterial" id =7 ]
28+
29+ [sub_resource type ="BoxShape" id =8 ]
1430extents = Vector3 ( 2 , 0.2 , 1 )
1531
16- [sub_resource type ="Animation" id =4 ]
17- length = 4 .0
32+ [sub_resource type ="Animation" id =9 ]
33+ length = 9 .0
1834tracks/0/type = "bezier"
1935tracks/0/path = NodePath (".:translation:x" )
2036tracks/0/interp = 1
2137tracks/0/loop_wrap = true
2238tracks/0/imported = false
2339tracks/0/enabled = true
2440tracks/0/keys = {
25- "points" : PoolRealArray ( -7 , -0.25 , 0 , 0.25 , 0 , -7 , -0.25 , 0 , 0.245766 , 0.531658 , 6 , -0.132614 , -0.374802 , 0.25 , 0 ),
26- "times" : PoolRealArray ( 0 , 0.5 , 4 )
41+ "points" : PoolRealArray ( -7 , -0.25 , 0 , 0.25 , 0 , -7 , -0.25 , 0 , 0.25 , 0 , 6 , -0.25 , 0 , 0.25 , 0 ),
42+ "times" : PoolRealArray ( 0 , 3 , 6.5 )
43+ }
44+ tracks/1/type = "bezier"
45+ tracks/1/path = NodePath (".:translation:y" )
46+ tracks/1/interp = 1
47+ tracks/1/loop_wrap = true
48+ tracks/1/imported = false
49+ tracks/1/enabled = true
50+ tracks/1/keys = {
51+ "points" : PoolRealArray ( -4.23538 , -0.25 , 0 , 0.25 , 0 , -4.23538 , -0.25 , 0 , 0.25 , 0 , 3 , -0.25 , 0 , 0.25 , 0 , 3 , -0.25 , 0 , 0.25 , 0 , -4.23538 , -0.25 , 0 , 0.25 , 0 ),
52+ "times" : PoolRealArray ( 0 , 0.5 , 3 , 6.5 , 9 )
2753}
2854
2955[node name ="Test" type ="Spatial" ]
@@ -40,43 +66,85 @@ __meta__ = {
4066}
4167
4268[node name ="Options" parent ="." instance =ExtResource ( 3 )]
69+ margin_top = 120.0
70+ margin_bottom = 140.0
4371
4472[node name ="Bodies" type ="Spatial" parent ="." ]
4573
4674[node name ="KinematicBody" type ="KinematicBody" parent ="Bodies" ]
47- transform = Transform ( 1 , 0 , 0 , 0 , 1 , 0 , 0 , 0 , 1 , -7 , -1.95 , 0 )
75+ transform = Transform ( 1 , 0 , 0 , 0 , 1 , 0 , 0 , 0 , 1 , -7 , -4.18538 , 0 )
4876collision_layer = 2
4977script = ExtResource ( 4 )
5078_stop_on_slopes = true
5179_use_snap = true
5280
53- [node name ="CollisionShape " type ="CollisionShape" parent ="Bodies/KinematicBody" ]
81+ [node name ="Capsule " type ="CollisionShape" parent ="Bodies/KinematicBody" ]
5482transform = Transform ( 1 , 0 , 0 , 0 , -4 .37114e-08, -1 , 0 , 1 , -4 .37114e-08, 0 , 0.8 , 0 )
5583shape = SubResource ( 1 )
5684
85+ [node name ="Box" type ="CollisionShape" parent ="Bodies/KinematicBody" ]
86+ transform = Transform ( 1 , 0 , 0 , 0 , 1 , 0 , 0 , 0 , 1 , 0 , 0.8 , 0 )
87+ shape = SubResource ( 2 )
88+
89+ [node name ="Cylinder" type ="CollisionShape" parent ="Bodies/KinematicBody" ]
90+ transform = Transform ( 1 , 0 , 0 , 0 , 1 , 0 , 0 , 0 , 1 , 0 , 0.8 , 0 )
91+ shape = SubResource ( 3 )
92+
93+ [node name ="Sphere" type ="CollisionShape" parent ="Bodies/KinematicBody" ]
94+ transform = Transform ( 1 , 0 , 0 , 0 , 1 , 0 , 0 , 0 , 1 , 0 , 0.8 , 0 )
95+ shape = SubResource ( 4 )
96+
97+ [node name ="Convex" type ="CollisionShape" parent ="Bodies/KinematicBody" ]
98+ transform = Transform ( 1 , 0 , 0 , 0 , 1 , 0 , 0 , 0 , 1 , 0 , 0.8 , 0 )
99+ shape = SubResource ( 5 )
100+
101+ [node name ="Ray" type ="CollisionShape" parent ="Bodies/KinematicBody" ]
102+ transform = Transform ( 1 , 0 , 0 , 0 , 0 , -1 , 0 , 1 , 0 , 0 , 0.8 , 0 )
103+ shape = SubResource ( 6 )
104+
57105[node name ="RigidBody" type ="RigidBody" parent ="Bodies" ]
58- transform = Transform ( 1 , 0 , 0 , 0 , 1 , 0 , 0 , 0 , 1 , -7 , -1.95 , 0 )
106+ transform = Transform ( 1 , 0 , 0 , 0 , 1 , 0 , 0 , 0 , 1 , -7 , -4.18538 , 0 )
59107collision_layer = 4
60- physics_material_override = SubResource ( 2 )
108+ physics_material_override = SubResource ( 7 )
61109axis_lock_angular_x = true
62110axis_lock_angular_y = true
63111axis_lock_angular_z = true
64112
65- [node name ="CollisionShape " type ="CollisionShape" parent ="Bodies/RigidBody" ]
113+ [node name ="Capsule " type ="CollisionShape" parent ="Bodies/RigidBody" ]
66114transform = Transform ( 1 , 0 , 0 , 0 , -4 .37114e-08, -1 , 0 , 1 , -4 .37114e-08, 0 , 0.8 , 0 )
67115shape = SubResource ( 1 )
68116
117+ [node name ="Box" type ="CollisionShape" parent ="Bodies/RigidBody" ]
118+ transform = Transform ( 1 , 0 , 0 , 0 , 1 , 0 , 0 , 0 , 1 , 0 , 0.8 , 0 )
119+ shape = SubResource ( 2 )
120+
121+ [node name ="Cylinder" type ="CollisionShape" parent ="Bodies/RigidBody" ]
122+ transform = Transform ( 1 , 0 , 0 , 0 , 1 , 0 , 0 , 0 , 1 , 0 , 0.8 , 0 )
123+ shape = SubResource ( 3 )
124+
125+ [node name ="Sphere" type ="CollisionShape" parent ="Bodies/RigidBody" ]
126+ transform = Transform ( 1 , 0 , 0 , 0 , 1 , 0 , 0 , 0 , 1 , 0 , 0.8 , 0 )
127+ shape = SubResource ( 4 )
128+
129+ [node name ="Convex" type ="CollisionShape" parent ="Bodies/RigidBody" ]
130+ transform = Transform ( 1 , 0 , 0 , 0 , 1 , 0 , 0 , 0 , 1 , 0 , 0.8 , 0 )
131+ shape = SubResource ( 5 )
132+
133+ [node name ="Ray" type ="CollisionShape" parent ="Bodies/RigidBody" ]
134+ transform = Transform ( 1 , 0 , 0 , 0 , 0 , -1 , 0 , 1 , 0 , 0 , 0.8 , 0 )
135+ shape = SubResource ( 6 )
136+
69137[node name ="Platforms" type ="Spatial" parent ="." ]
70138
71139[node name ="KinematicPlatform" type ="KinematicBody" parent ="Platforms" ]
72- transform = Transform ( 1 , 0 , 0 , 0 , 1 , 0 , 0 , 0 , 1 , -7 , -2 , 0 )
140+ transform = Transform ( 1 , 0 , 0 , 0 , 1 , 0 , 0 , 0 , 1 , -7 , -4.25 , 0 )
73141
74142[node name ="CollisionShape" type ="CollisionShape" parent ="Platforms/KinematicPlatform" ]
75143transform = Transform ( 1 , 0 , 0 , 0 , 1 , 0 , 0 , 0 , 1 , 0 , -0.2 , 0 )
76- shape = SubResource ( 3 )
144+ shape = SubResource ( 8 )
77145
78146[node name ="AnimationPlayer" type ="AnimationPlayer" parent ="Platforms/KinematicPlatform" ]
79- anims/Move = SubResource ( 4 )
147+ anims/Move = SubResource ( 9 )
80148
81149[node name ="Camera" type ="Camera" parent ="." ]
82150transform = Transform ( 1 , 0 , 0 , 0 , 1 , 0 , 0 , 0 , 1 , 0 , 0 , 10 )
0 commit comments