cube_rigidbody.tscn 850 B

12345678910111213141516171819202122
  1. [gd_scene load_steps=5 format=3 uid="uid://bftavngs5kq7e"]
  2. [ext_resource type="Texture2D" uid="uid://5wiey7d4yffc" path="res://models/white_wood.png" id="1"]
  3. [ext_resource type="ArrayMesh" uid="uid://h65pkfq5sgmy" path="res://models/cube.mesh" id="1_nx6dl"]
  4. [sub_resource type="BoxShape3D" id="BoxShape3D_gh4dm"]
  5. [sub_resource type="StandardMaterial3D" id="StandardMaterial3D_y4xt8"]
  6. resource_name = "Material"
  7. albedo_color = Color(0.92, 0.80822, 0.1748, 1)
  8. albedo_texture = ExtResource("1")
  9. roughness = 0.75
  10. texture_filter = 5
  11. [node name="cube_rigidbody" type="RigidBody3D"]
  12. [node name="CollisionShape3D" type="CollisionShape3D" parent="."]
  13. shape = SubResource("BoxShape3D_gh4dm")
  14. [node name="MeshInstance3D" type="MeshInstance3D" parent="."]
  15. mesh = ExtResource("1_nx6dl")
  16. surface_material_override/0 = SubResource("StandardMaterial3D_y4xt8")