box.tscn 915 B

1234567891011121314151617181920212223242526
  1. [gd_scene load_steps=6 format=3 uid="uid://cerkxyasq8t8b"]
  2. [ext_resource type="Script" path="res://pickup/pickup_able_body.gd" id="1_mxwa3"]
  3. [ext_resource type="Texture2D" uid="uid://b1waowk6l76ap" path="res://assets/images/pattern.png" id="1_t4uiq"]
  4. [sub_resource type="BoxShape3D" id="BoxShape3D_jjy5v"]
  5. margin = 0.001
  6. size = Vector3(0.1, 0.1, 0.1)
  7. [sub_resource type="StandardMaterial3D" id="StandardMaterial3D_ecfgs"]
  8. albedo_texture = ExtResource("1_t4uiq")
  9. [sub_resource type="BoxMesh" id="BoxMesh_ajubj"]
  10. material = SubResource("StandardMaterial3D_ecfgs")
  11. size = Vector3(0.1, 0.1, 0.1)
  12. [node name="Box" type="RigidBody3D"]
  13. script = ExtResource("1_mxwa3")
  14. [node name="CollisionShape3D" type="CollisionShape3D" parent="."]
  15. shape = SubResource("BoxShape3D_jjy5v")
  16. [node name="MeshInstance3D" type="MeshInstance3D" parent="."]
  17. mesh = SubResource("BoxMesh_ajubj")
  18. skeleton = NodePath("../CollisionShape3D")