godot-third-person-basic-scene/maps/ramp-moving.tscn

86 lines
3 KiB
Plaintext

[gd_scene load_steps=8 format=3]
[ext_resource type="Material" path="res://maps/materials/simple_grid_world.material" id="1_7o0gj"]
[ext_resource type="Material" path="res://maps/materials/simple_grid.material" id="2_m1mte"]
[sub_resource type="BoxMesh" id="BoxMesh_k23th"]
material = ExtResource( "1_7o0gj" )
[sub_resource type="BoxShape3D" id="BoxShape3D_6y272"]
[sub_resource type="BoxMesh" id="BoxMesh_s0ird"]
[sub_resource type="Animation" id="Animation_6wabv"]
resource_name = "MECH_moving_platform"
length = 10.0
loop_mode = 1
tracks/0/type = "value"
tracks/0/imported = false
tracks/0/enabled = true
tracks/0/path = NodePath(".:position")
tracks/0/interp = 1
tracks/0/loop_wrap = true
tracks/0/keys = {
"times": PackedFloat32Array(0, 5, 10),
"transitions": PackedFloat32Array(1, 1, 1),
"update": 0,
"values": [Vector3(5.30321, 0, 0), Vector3(-5.57525, 0, -1.90735e-06), Vector3(5.30321, 0, 0)]
}
[sub_resource type="Animation" id="Animation_ta65t"]
length = 0.001
tracks/0/type = "value"
tracks/0/imported = false
tracks/0/enabled = true
tracks/0/path = NodePath(".:position")
tracks/0/interp = 1
tracks/0/loop_wrap = true
tracks/0/keys = {
"times": PackedFloat32Array(0),
"transitions": PackedFloat32Array(1),
"update": 0,
"values": [Vector3(5.30321, 0, 0)]
}
[node name="ramp-moving" type="Node3D"]
transform = Transform3D(-4.37114e-08, 0, 1, 0, 1, 0, -1, 0, -4.37114e-08, 11.952, 0, 15.2275)
[node name="ramp" type="MeshInstance3D" parent="."]
transform = Transform3D(1.69964, 0.0527074, 0, -1.05415, 0.0849819, 0, 0, 0, 2, 14.8888, 1, 1.27697)
mesh = SubResource( "BoxMesh_k23th" )
skeleton = NodePath("../..")
[node name="collision" type="StaticBody3D" parent="ramp"]
[node name="shape" type="CollisionShape3D" parent="ramp/collision"]
shape = SubResource( "BoxShape3D_6y272" )
[node name="ramp2" type="MeshInstance3D" parent="."]
transform = Transform3D(-1.69979, -0.0526956, -8.74228e-08, -1.05391, 0.0849893, 0, 1.14822e-08, 1.03494e-08, -2, -6.26628, 1, 1.27697)
mesh = SubResource( "BoxMesh_k23th" )
skeleton = NodePath("../..")
[node name="collision" type="StaticBody3D" parent="ramp2"]
[node name="shape" type="CollisionShape3D" parent="ramp2/collision"]
shape = SubResource( "BoxShape3D_6y272" )
[node name="moving" type="Node3D" parent="."]
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 5.71566, 0, 1.90735e-06)
[node name="AnimatableBody3D" type="AnimatableBody3D" parent="moving"]
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 5.30321, 0, 0)
[node name="horizontal" type="CollisionShape3D" parent="moving/AnimatableBody3D"]
transform = Transform3D(3.503, 0, 0, 0, 0.1, 0, 0, 0, 2, -1.26628, 2, 1.27697)
shape = SubResource( "BoxShape3D_6y272" )
[node name="MeshInstance3D" type="MeshInstance3D" parent="moving/AnimatableBody3D/horizontal"]
mesh = SubResource( "BoxMesh_s0ird" )
surface_material_override/0 = ExtResource( "2_m1mte" )
[node name="AnimationPlayer" type="AnimationPlayer" parent="moving/AnimatableBody3D"]
autoplay = "MECH_moving_platform"
anims/MECH_moving_platform = SubResource( "Animation_6wabv" )
anims/RESET = SubResource( "Animation_ta65t" )