wall.tscn 903 B

12345678910111213141516171819202122232425
  1. [gd_scene load_steps=5 format=3 uid="uid://dpn6187qjqo75"]
  2. [ext_resource type="Texture2D" uid="uid://rek0t7kubpx4" path="res://assets/pattern.png" id="1_mflpj"]
  3. [sub_resource type="BoxShape3D" id="BoxShape3D_r4qvg"]
  4. size = Vector3(5, 3, 0.5)
  5. [sub_resource type="StandardMaterial3D" id="StandardMaterial3D_qi3if"]
  6. albedo_color = Color(0.690196, 0.556863, 0.909804, 1)
  7. albedo_texture = ExtResource("1_mflpj")
  8. uv1_scale = Vector3(3, 2, 1)
  9. [sub_resource type="BoxMesh" id="BoxMesh_ns54c"]
  10. material = SubResource("StandardMaterial3D_qi3if")
  11. size = Vector3(5, 3, 0.5)
  12. [node name="Wall" type="StaticBody3D"]
  13. transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 0, 1.5, 0)
  14. [node name="CollisionShape3D" type="CollisionShape3D" parent="."]
  15. shape = SubResource("BoxShape3D_r4qvg")
  16. [node name="MeshInstance3D" type="MeshInstance3D" parent="."]
  17. mesh = SubResource("BoxMesh_ns54c")
  18. skeleton = NodePath("../..")