29 lines
965 B
Plaintext
29 lines
965 B
Plaintext
[gd_scene load_steps=6 format=3]
|
|
|
|
[ext_resource type="Script" path="res://world/items/carryable.gd" id="1_carryable"]
|
|
[ext_resource type="SceneReplicationConfig" path="res://world/items/carryable_sync.tres" id="2_sync"]
|
|
|
|
[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")
|
|
|
|
[node name="Sync" type="MultiplayerSynchronizer" parent="."]
|
|
replication_config = ExtResource("2_sync")
|