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

86 lines
3.1 KiB
Text
Raw Normal View History

2022-02-06 13:10:26 +00:00
[gd_scene load_steps=8 format=3 uid="uid://omess6wwwwcq"]
2022-02-06 13:10:26 +00:00
[ext_resource type="Material" uid="uid://cdijyqa881tvv" path="res://maps/materials/simple_grid_world.material" id="1_7o0gj"]
[ext_resource type="Material" uid="uid://jrlyuynpu62b" 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"]
2022-02-06 13:10:26 +00:00
transform = Transform3D(-4.37114e-08, 0, 1, 0, 1, 0, -1, 0, -4.37114e-08, 0, 0, 0)
[node name="ramp" type="MeshInstance3D" parent="."]
transform = Transform3D(3.39928, 0.0527075, 0, -2.1083, 0.0849819, 0, 0, 0, 2, 8.39045, 0.946381, 0.47924)
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(-3.39957, -0.0526954, -3.01992e-07, -2.10782, 0.0849894, 1.69867e-07, 3.34297e-07, 1.51752e-08, -2, -9.33595, 0.946381, 0.47924)
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, 0.929277, -0.00125802, -0.797728)
[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" )