Files
agame/world/items/carryable_box.tscn
T
2026-10-03 18:04:07 +08:00

25 lines
758 B
Plaintext

[gd_scene load_steps=5 format=3]
[ext_resource type="Script" path="res://world/items/carryable.gd" id="1_carryable"]
[sub_resource type="BoxMesh" id="BoxMesh_body"]
size = Vector3(0.6, 0.6, 0.6)
[sub_resource type="StandardMaterial3D" id="StandardMaterial3D_box"]
albedo_color = Color(0.92, 0.6, 0.25, 1)
roughness = 0.7
[sub_resource type="BoxShape3D" id="BoxShape3D_body"]
size = Vector3(0.6, 0.6, 0.6)
[node name="CarryableBox" type="RigidBody3D"]
mass = 2.0
script = ExtResource("1_carryable")
[node name="Mesh" type="MeshInstance3D" parent="."]
mesh = SubResource("BoxMesh_body")
surface_material_override/0 = SubResource("StandardMaterial3D_box")
[node name="Collision" type="CollisionShape3D" parent="."]
shape = SubResource("BoxShape3D_body")