31 lines
1.2 KiB
Plaintext
31 lines
1.2 KiB
Plaintext
[gd_scene load_steps=6 format=3 uid="uid://tvcdw7mklvsl"]
|
|
|
|
[ext_resource type="Script" path="res://scripts/packageitem.gd" id="1_aq5nd"]
|
|
[ext_resource type="ArrayMesh" uid="uid://caemim8hqa26t" path="res://assets/props/blake3/Burger.obj" id="2_mi7j1"]
|
|
[ext_resource type="Material" uid="uid://dlcqn8a0dycmj" path="res://assets/props/blake3/mat_blake3.tres" id="3_vxmjy"]
|
|
[ext_resource type="AudioStream" uid="uid://cnggv66i0ckm" path="res://assets/audio/hamburger_rand.tres" id="4_w7pu0"]
|
|
|
|
[sub_resource type="CylinderShape3D" id="CylinderShape3D_eg501"]
|
|
height = 0.5
|
|
radius = 0.2
|
|
|
|
[node name="ItemCylinder" type="RigidBody3D"]
|
|
collision_layer = 5
|
|
mass = 5.0
|
|
max_contacts_reported = 2
|
|
contact_monitor = true
|
|
script = ExtResource("1_aq5nd")
|
|
|
|
[node name="CollisionShape3D" type="CollisionShape3D" parent="."]
|
|
shape = SubResource("CylinderShape3D_eg501")
|
|
|
|
[node name="MeshInstance3D" type="MeshInstance3D" parent="."]
|
|
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 0, -0.252263, 0)
|
|
mesh = ExtResource("2_mi7j1")
|
|
surface_material_override/0 = ExtResource("3_vxmjy")
|
|
|
|
[node name="burger" type="AudioStreamPlayer3D" parent="."]
|
|
stream = ExtResource("4_w7pu0")
|
|
|
|
[connection signal="touched" from="." to="burger" method="play" flags=6]
|