34 lines
1.2 KiB
Plaintext
34 lines
1.2 KiB
Plaintext
[gd_scene load_steps=5 format=3]
|
|
|
|
[ext_resource type="PackedScene" path="res://assets/items/hats/models/sombrero.glb" id="1_model"]
|
|
[ext_resource type="Script" path="res://scripts/items/item_rigid_body_3d.gd" id="2_script"]
|
|
|
|
[sub_resource type="BoxShape3D" id="BoxShape3D_hat"]
|
|
size = Vector3(0.719778, 0.220565, 0.72)
|
|
|
|
[sub_resource type="SceneReplicationConfig" id="SceneReplicationConfig_hat"]
|
|
properties/0/path = NodePath(".:position")
|
|
properties/0/spawn = true
|
|
properties/0/replication_mode = 2
|
|
properties/1/path = NodePath(".:rotation")
|
|
properties/1/spawn = true
|
|
properties/1/replication_mode = 2
|
|
|
|
[node name="Sombrero" type="RigidBody3D"]
|
|
collision_layer = 4
|
|
collision_mask = 7
|
|
linear_damp = 1.0
|
|
angular_damp = 1.0
|
|
script = ExtResource("2_script")
|
|
item_id = "sombrero"
|
|
|
|
[node name="CollisionShape3D" type="CollisionShape3D" parent="."]
|
|
position = Vector3(0, 0.110282, 0)
|
|
shape = SubResource("BoxShape3D_hat")
|
|
|
|
[node name="Model" parent="." instance=ExtResource("1_model")]
|
|
transform = Transform3D(0.45, 0, 0, 0, 0.45, 0, 0, 0, 0.45, 0, 0, 0)
|
|
|
|
[node name="MultiplayerSynchronizer" type="MultiplayerSynchronizer" parent="."]
|
|
replication_config = SubResource("SceneReplicationConfig_hat")
|