aboutsummaryrefslogtreecommitdiffstats
path: root/godot/scenes/levels/test_scene_movement/Floor.tscn
diff options
context:
space:
mode:
authorLibravatar David <david003@gmx.net>2022-07-16 16:22:48 +0200
committerLibravatar David <david003@gmx.net>2022-07-16 16:22:48 +0200
commit717a665a84dd9ca1b545d57976b87ba77bf11d80 (patch)
tree941c629e71061e7c240b09df41c651ffafc8188a /godot/scenes/levels/test_scene_movement/Floor.tscn
parent36db665defbfc1394691ecc25d750e3c7583bbe3 (diff)
parentbdf6f0328e870c308299f37155b9e89d91a2859c (diff)
download2022-717a665a84dd9ca1b545d57976b87ba77bf11d80.tar.gz
2022-717a665a84dd9ca1b545d57976b87ba77bf11d80.tar.bz2
2022-717a665a84dd9ca1b545d57976b87ba77bf11d80.zip
Merge branch 'player'
Diffstat (limited to 'godot/scenes/levels/test_scene_movement/Floor.tscn')
-rw-r--r--godot/scenes/levels/test_scene_movement/Floor.tscn22
1 files changed, 22 insertions, 0 deletions
diff --git a/godot/scenes/levels/test_scene_movement/Floor.tscn b/godot/scenes/levels/test_scene_movement/Floor.tscn
new file mode 100644
index 0000000..f8970a7
--- /dev/null
+++ b/godot/scenes/levels/test_scene_movement/Floor.tscn
@@ -0,0 +1,22 @@
+[gd_scene load_steps=5 format=2]
+
+[ext_resource path="res://assets/textures/grass-texture-26.jpg" type="Texture" id=1]
+
+[sub_resource type="CubeMesh" id=1]
+
+[sub_resource type="SpatialMaterial" id=3]
+albedo_texture = ExtResource( 1 )
+
+[sub_resource type="BoxShape" id=2]
+
+[node name="StaticBody" type="StaticBody"]
+
+[node name="MeshInstance" type="MeshInstance" parent="."]
+transform = Transform( 10, 0, 0, 0, 1, 0, 0, 0, 10, 0, 0, 0 )
+mesh = SubResource( 1 )
+skeleton = NodePath("../CollisionShape")
+material/0 = SubResource( 3 )
+
+[node name="CollisionShape" type="CollisionShape" parent="."]
+transform = Transform( 10, 0, 0, 0, 1, 0, 0, 0, 10, 0, 0, 0 )
+shape = SubResource( 2 )