Godsim/scenes/models/tile.tscn

20 lines
1.6 KiB
Plaintext

[gd_scene load_steps=4 format=3 uid="uid://bsacm2eokjlas"]
[ext_resource type="Script" path="res://scripts/Tile.gd" id="1_s01tx"]
[ext_resource type="ArrayMesh" uid="uid://0x1rbugxwfq8" path="res://models/tile_mesh.tres" id="2_0bgqh"]
[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)
[node name="Tile" type="StaticBody3D"]
collision_mask = 2
script = ExtResource("1_s01tx")
[node name="VisibleMesh" type="MeshInstance3D" parent="."]
transform = Transform3D(5, 0, 0, 0, 5, 0, 0, 0, 5, 0, -50, 0)
mesh = ExtResource("2_0bgqh")
skeleton = NodePath("")
[node name="CollisionMesh" type="CollisionShape3D" parent="."]
shape = SubResource("ConvexPolygonShape3D_p1luu")