-
Notifications
You must be signed in to change notification settings - Fork 5
/
TestMovingPlatform.tscn
36 lines (26 loc) · 1.03 KB
/
TestMovingPlatform.tscn
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
[gd_scene load_steps=5 format=2]
[ext_resource path="res://TestMovingPlatform.gd" type="Script" id=1]
[sub_resource type="Curve3D" id=1]
_data = {
"points": PoolVector3Array( 0, 0, 0, 0, 0, 0, 0, 9, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, -3, 0 ),
"tilts": PoolRealArray( 0, 0, 0 )
}
[sub_resource type="CubeMesh" id=2]
size = Vector3( 5, 1, 5 )
[sub_resource type="BoxShape" id=3]
extents = Vector3( 2.5, 0.5, 2.5 )
[node name="TestMovingPlatform" type="Spatial"]
script = ExtResource( 1 )
[node name="Path" type="Path" parent="."]
curve = SubResource( 1 )
[node name="PathFollow" type="PathFollow" parent="Path"]
transform = Transform( 1, 0, 0, 0, 1, 0, 0, 0, 1, 0, -3, 0 )
offset = 12.0023
rotation_mode = 0
loop = false
[node name="StaticBody" type="KinematicBody" parent="Path/PathFollow"]
[node name="MeshInstance" type="MeshInstance" parent="Path/PathFollow/StaticBody"]
mesh = SubResource( 2 )
material/0 = null
[node name="CollisionShape" type="CollisionShape" parent="Path/PathFollow/StaticBody"]
shape = SubResource( 3 )