Godsim/scenes/models/tile.tscn

20 lines
1.6 KiB
Plaintext
Raw Normal View History

2024-06-04 13:12:27 +03:00
[gd_scene load_steps=4 format=3 uid="uid://bsacm2eokjlas"]
2024-05-30 02:14:08 +03:00
[ext_resource type="Script" path="res://scripts/Tile.gd" id="1_s01tx"]
2024-06-04 13:12:27 +03:00
[ext_resource type="ArrayMesh" uid="uid://0x1rbugxwfq8" path="res://models/tile_mesh.tres" id="2_0bgqh"]
2024-06-03 22:25:56 +03:00
[sub_resource type="ConvexPolygonShape3D" id="ConvexPolygonShape3D_p1luu"]
points = PackedVector3Array(4.9999, -0.0589142, -5, 4.9999, -0.0589142, -5, 4.9999, -0.0589142, -5, 4.9999, -55.0581, -5, 4.9999, -55.0581, -5, 4.9999, -55.0581, -5, 4.9999, -0.0589142, 5, 4.9999, -0.0589142, 5, 4.9999, -0.0589142, 5, 4.9999, -55.0581, 5, 4.9999, -55.0581, 5, 4.9999, -55.0581, 5, -5, -0.0589142, -5, -5, -0.0589142, -5, -5, -0.0589142, -5, -5, -55.0581, -5, -5, -55.0581, -5, -5, -55.0581, -5, -5, -0.0589142, 5, -5, -0.0589142, 5, -5, -0.0589142, 5, -5, -55.0581, 5, -5, -55.0581, 5, -5, -55.0581, 5, 4.9999, -5.64326, -5, 4.9999, -5.64326, -5, -5, -5.64326, 5, -5, -5.64326, 5, 4.9999, -5.64326, 5, 4.9999, -5.64326, 5, -5, -5.64326, -5, -5, -5.64326, -5, 4.9999, -23.818, -5, 4.9999, -23.818, -5, 4.9999, -23.818, 5, 4.9999, -23.818, 5, -5, -23.818, -5, -5, -23.818, -5, -5, -23.818, 5, -5, -23.818, 5, -5.126e-05, -0.0589142, -7.62939e-05, -2.5001, -0.0589142, -2.50011, 2.5, -0.0589142, 2.49996, 2.5, -0.0589142, -2.50011, -2.5001, -0.0589142, 2.49996)
2024-05-30 07:22:27 +03:00
2024-05-30 02:14:08 +03:00
[node name="Tile" type="StaticBody3D"]
2024-06-03 22:29:17 +03:00
collision_mask = 2
2024-05-30 02:14:08 +03:00
script = ExtResource("1_s01tx")
2024-06-03 22:25:56 +03:00
[node name="VisibleMesh" type="MeshInstance3D" parent="."]
transform = Transform3D(5, 0, 0, 0, 5, 0, 0, 0, 5, 0, -50, 0)
2024-06-04 13:12:27 +03:00
mesh = ExtResource("2_0bgqh")
2024-06-03 22:25:56 +03:00
skeleton = NodePath("")
2024-05-30 06:55:13 +03:00
2024-06-03 22:25:56 +03:00
[node name="CollisionMesh" type="CollisionShape3D" parent="."]
shape = SubResource("ConvexPolygonShape3D_p1luu")