Moved Map Pieces outside of components
This commit is contained in:
23
Assets/Objects/rock_floor.tscn
Normal file
23
Assets/Objects/rock_floor.tscn
Normal file
@ -0,0 +1,23 @@
|
||||
[gd_scene load_steps=5 format=3 uid="uid://dmbqijgut3s51"]
|
||||
|
||||
[ext_resource type="Texture2D" uid="uid://dlggbkhxijuy1" path="res://Assets/textures/Mountain brown rock seamless texture 2048x2048.jpg" id="1_rd1yx"]
|
||||
|
||||
[sub_resource type="BoxShape3D" id="BoxShape3D_2xgye"]
|
||||
size = Vector3(10, 1, 10)
|
||||
|
||||
[sub_resource type="StandardMaterial3D" id="StandardMaterial3D_jb2bo"]
|
||||
albedo_texture = ExtResource("1_rd1yx")
|
||||
|
||||
[sub_resource type="BoxMesh" id="BoxMesh_eip3x"]
|
||||
material = SubResource("StandardMaterial3D_jb2bo")
|
||||
size = Vector3(10, 1, 10)
|
||||
|
||||
[node name="Rock Floor" type="StaticBody3D"]
|
||||
|
||||
[node name="CollisionShape3D" type="CollisionShape3D" parent="."]
|
||||
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 0.75, 0, 0)
|
||||
shape = SubResource("BoxShape3D_2xgye")
|
||||
|
||||
[node name="MeshInstance3D" type="MeshInstance3D" parent="."]
|
||||
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 0.831642, 0, 0)
|
||||
mesh = SubResource("BoxMesh_eip3x")
|
||||
Reference in New Issue
Block a user