fix visuals for ramp tile
This commit is contained in:
parent
5669da34c5
commit
0323cfb638
@ -1,4 +1,4 @@
|
||||
[gd_scene load_steps=7 format=3 uid="uid://fafw4evt372"]
|
||||
[gd_scene load_steps=8 format=3 uid="uid://fafw4evt372"]
|
||||
|
||||
[ext_resource type="Script" path="res://Tiles/tile.gd" id="1_qgvt0"]
|
||||
[ext_resource type="PackedScene" uid="uid://dh2nm1sphyfqx" path="res://Tiles/TilePath.tscn" id="2_66bgp"]
|
||||
@ -14,34 +14,55 @@ size = Vector2(10, 10)
|
||||
material = SubResource("StandardMaterial3D_cwetn")
|
||||
size = Vector2(2, 10)
|
||||
|
||||
[sub_resource type="PlaneMesh" id="PlaneMesh_hvfah"]
|
||||
material = SubResource("StandardMaterial3D_cwetn")
|
||||
size = Vector2(10, 11.685)
|
||||
center_offset = Vector3(0, 0, -5.825)
|
||||
|
||||
[sub_resource type="Curve3D" id="Curve3D_8f65e"]
|
||||
_data = {
|
||||
"points": PackedVector3Array(0, 0, 0, 0, 0, 0, 0, 0.00492096, 0.00431776, 0, 0, 0, 0, 0, 0, 0, 4.99628, -8.66443),
|
||||
"tilts": PackedFloat32Array(0, 0)
|
||||
"points": PackedVector3Array(0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, -10, 0, 0, 0, 0, 0, 0, 0, 6, -20, 0, 0, 0, 0, 0, 0, 0, 6, -30),
|
||||
"tilts": PackedFloat32Array(0, 0, 0, 0)
|
||||
}
|
||||
point_count = 2
|
||||
point_count = 4
|
||||
|
||||
[node name="Tile1" type="Node3D"]
|
||||
script = ExtResource("1_qgvt0")
|
||||
|
||||
[node name="Floor" type="MeshInstance3D" parent="."]
|
||||
transform = Transform3D(1, 0, 0, 0, 0.866025, -0.5, 0, 0.5, 0.866025, 0, 2.48097, -4.33106)
|
||||
transform = Transform3D(1, 0, 0, 0, 1, -2.38419e-07, 0, 2.38419e-07, 1, 0, 0, -5)
|
||||
mesh = SubResource("PlaneMesh_jju0s")
|
||||
|
||||
[node name="Wall1" type="MeshInstance3D" parent="."]
|
||||
transform = Transform3D(-4.37114e-08, 1, 0, -0.866025, -3.78552e-08, -0.5, -0.5, -2.18557e-08, 0.866025, -5, 3.347, -3.83106)
|
||||
transform = Transform3D(-4.37114e-08, 1, -2.09725e-14, -1, -4.37114e-08, -2.38419e-07, -2.38419e-07, 8.88178e-15, 1, -5, 1, -5)
|
||||
mesh = SubResource("PlaneMesh_rsriu")
|
||||
|
||||
[node name="Wall2" type="MeshInstance3D" parent="."]
|
||||
transform = Transform3D(-4.37114e-08, 1, 0, -0.866025, -3.78552e-08, -0.5, -0.5, -2.18557e-08, 0.866025, 5, 3.347, -3.83106)
|
||||
transform = Transform3D(-4.37114e-08, 1, -2.09725e-14, -1, -4.37114e-08, -2.38419e-07, -2.38419e-07, 8.88178e-15, 1, 5, 1, -5)
|
||||
mesh = SubResource("PlaneMesh_rsriu")
|
||||
|
||||
[node name="Floor2" type="MeshInstance3D" parent="."]
|
||||
transform = Transform3D(1, 0, 0, 0, 0.857167, -0.515038, 0, 0.515038, 0.857167, 0, 0, -10)
|
||||
mesh = SubResource("PlaneMesh_hvfah")
|
||||
|
||||
[node name="Floor3" type="MeshInstance3D" parent="."]
|
||||
transform = Transform3D(1, 0, 0, 0, 1, -2.38419e-07, 0, 2.38419e-07, 1, 0, 6, -25)
|
||||
mesh = SubResource("PlaneMesh_jju0s")
|
||||
|
||||
[node name="Wall3" type="MeshInstance3D" parent="."]
|
||||
transform = Transform3D(-4.37114e-08, 1, -2.09725e-14, -1, -4.37114e-08, -2.38419e-07, -2.38419e-07, 8.88178e-15, 1, -5, 7, -25)
|
||||
mesh = SubResource("PlaneMesh_rsriu")
|
||||
|
||||
[node name="Wall4" type="MeshInstance3D" parent="."]
|
||||
transform = Transform3D(-4.37114e-08, 1, -2.09725e-14, -1, -4.37114e-08, -2.38419e-07, -2.38419e-07, 8.88178e-15, 1, 5, 7, -25)
|
||||
mesh = SubResource("PlaneMesh_rsriu")
|
||||
|
||||
[node name="SpawnPoint" type="Marker3D" parent="."]
|
||||
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 0, 4.95971, -8.6685)
|
||||
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 0, 6, -30)
|
||||
|
||||
[node name="MainPath" parent="." instance=ExtResource("2_66bgp")]
|
||||
curve = SubResource("Curve3D_8f65e")
|
||||
|
||||
[node name="OnScreenNotifier" type="VisibleOnScreenNotifier3D" parent="."]
|
||||
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 0, 3.38611, -4.31944)
|
||||
aabb = AABB(-5, -3.36357, -4.43531, 10, 6.72714, 8.87062)
|
||||
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 0, 4, -15)
|
||||
aabb = AABB(-5, -4, -15, 10, 8, 30)
|
||||
|
14
world.tscn
14
world.tscn
@ -39,22 +39,22 @@ tile = NodePath("../Tile1")
|
||||
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 0, 0, -10)
|
||||
|
||||
[node name="Tile3" parent="." instance=ExtResource("4_uxk3v")]
|
||||
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 0, 0.0861304, -19.3201)
|
||||
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 0, 0, -20)
|
||||
|
||||
[node name="Tile4" parent="." instance=ExtResource("3_vddfn")]
|
||||
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 0, 5, -27.9971)
|
||||
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 0, 6, -50)
|
||||
|
||||
[node name="Tile5" parent="." instance=ExtResource("5_ynp1e")]
|
||||
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 0, 5, -37.9673)
|
||||
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 0, 6, -60)
|
||||
|
||||
[node name="Tile6" parent="." instance=ExtResource("3_vddfn")]
|
||||
transform = Transform3D(-4.37114e-08, 0, -1, 0, 1, 0, 1, 0, -4.37114e-08, 5.01222, 5, -42.9558)
|
||||
transform = Transform3D(-4.37114e-08, 0, -1, 0, 1, 0, 1, 0, -4.37114e-08, 5, 6, -65)
|
||||
|
||||
[node name="Tile7" parent="." instance=ExtResource("5_ynp1e")]
|
||||
transform = Transform3D(-4.37114e-08, 0, -1, 0, 1, 0, 1, 0, -4.37114e-08, 15.0122, 5, -42.9555)
|
||||
transform = Transform3D(-4.37114e-08, 0, -1, 0, 1, 0, 1, 0, -4.37114e-08, 15, 6, -65)
|
||||
|
||||
[node name="Tile8" parent="." instance=ExtResource("3_vddfn")]
|
||||
transform = Transform3D(-1, 0, 8.74228e-08, 0, 1, 0, -8.74228e-08, 0, -1, 20, 5, -37.9705)
|
||||
transform = Transform3D(-1, 0, 8.74228e-08, 0, 1, 0, -8.74228e-08, 0, -1, 20, 6, -60)
|
||||
|
||||
[node name="Tile9" parent="." instance=ExtResource("6_327qh")]
|
||||
transform = Transform3D(-1, 0, 8.74228e-08, 0, 1, 0, -8.74228e-08, 0, -1, 20, 5, -27.9764)
|
||||
transform = Transform3D(-1, 0, 8.74228e-08, 0, 1, 0, -8.74228e-08, 0, -1, 20, 6, -50)
|
||||
|
Loading…
Reference in New Issue
Block a user