aboutsummaryrefslogtreecommitdiffstats
path: root/godot/scenes/levels/test_scene_movement/Floor.tscn
diff options
context:
space:
mode:
authorLibravatar David <david003@gmx.net>2022-07-16 14:34:11 +0200
committerLibravatar David <david003@gmx.net>2022-07-16 14:34:11 +0200
commitfe8d9853148e7d3a798d9e14cb0288f7538f88ba (patch)
tree00a87072e2b6a75099c64083e3260b19ff454417 /godot/scenes/levels/test_scene_movement/Floor.tscn
parent26151af89950d682cb62204461c02bf5abb23016 (diff)
download2022-fe8d9853148e7d3a798d9e14cb0288f7538f88ba.tar.gz
2022-fe8d9853148e7d3a798d9e14cb0288f7538f88ba.tar.bz2
2022-fe8d9853148e7d3a798d9e14cb0288f7538f88ba.zip
new node structure
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 )