From 0f518727c28d3204415db14c7ca0e4f7cb653677 Mon Sep 17 00:00:00 2001 From: jacopograndi Date: Thu, 9 Dec 2021 00:52:59 +0100 Subject: working --- scenes/path_end.tscn | 25 +++++++++++++++++++++++++ 1 file changed, 25 insertions(+) create mode 100644 scenes/path_end.tscn (limited to 'scenes/path_end.tscn') diff --git a/scenes/path_end.tscn b/scenes/path_end.tscn new file mode 100644 index 0000000..71d8b87 --- /dev/null +++ b/scenes/path_end.tscn @@ -0,0 +1,25 @@ +[gd_scene load_steps=4 format=2] + +[sub_resource type="CubeMesh" id=15] + +[sub_resource type="SpatialMaterial" id=16] +albedo_color = Color( 0.00392157, 0.490196, 0, 1 ) + +[sub_resource type="ConcavePolygonShape" id=17] +data = PoolVector3Array( -1, 1, 1, 1, 1, 1, -1, -1, 1, 1, 1, 1, 1, -1, 1, -1, -1, 1, 1, 1, -1, -1, 1, -1, 1, -1, -1, -1, 1, -1, -1, -1, -1, 1, -1, -1, 1, 1, 1, 1, 1, -1, 1, -1, 1, 1, 1, -1, 1, -1, -1, 1, -1, 1, -1, 1, -1, -1, 1, 1, -1, -1, -1, -1, 1, 1, -1, -1, 1, -1, -1, -1, 1, 1, 1, -1, 1, 1, 1, 1, -1, -1, 1, 1, -1, 1, -1, 1, 1, -1, -1, -1, 1, 1, -1, 1, -1, -1, -1, 1, -1, 1, 1, -1, -1, -1, -1, -1 ) + +[node name="path_end" type="Spatial" groups=["path"]] + +[node name="MeshInstance" type="MeshInstance" parent="."] +transform = Transform( 0.25, 0, 0, 0, 0.25, 0, 0, 0, 0.25, 0, 0, 0 ) +mesh = SubResource( 15 ) +skeleton = NodePath("") +material/0 = SubResource( 16 ) + +[node name="StaticBody" type="StaticBody" parent="."] +transform = Transform( 0.25, 0, 0, 0, 0.25, 0, 0, 0, 0.25, 0, 0, 0 ) +collision_layer = 2 +collision_mask = 2 + +[node name="CollisionShape" type="CollisionShape" parent="StaticBody"] +shape = SubResource( 17 ) -- cgit v1.2.3-54-g00ecf