Armazon/props/items/item_cone.tscn
2024-01-28 13:44:54 -05:00

37 lines
5.3 KiB
Plaintext

[gd_scene load_steps=7 format=3 uid="uid://b1lwr13r7dy3d"]
[ext_resource type="Script" path="res://scripts/packageitem.gd" id="1_lj6js"]
[ext_resource type="Material" uid="uid://m4joetibiogy" path="res://assets/props/blake2/mat_blake2.tres" id="2_ous1g"]
[ext_resource type="ArrayMesh" uid="uid://8i50dsg8qosj" path="res://assets/props/blake2/Cone.obj" id="3_48kuq"]
[ext_resource type="AudioStream" uid="uid://bmisffsu4isig" path="res://assets/audio/SPLAT_rand.tres" id="4_vk5fn"]
[sub_resource type="PhysicsMaterial" id="PhysicsMaterial_8esj6"]
friction = 0.77
bounce = 0.5
absorbent = true
[sub_resource type="ConvexPolygonShape3D" id="ConvexPolygonShape3D_lwlw1"]
points = PackedVector3Array(0.0238435, 0.216888, 0.145879, 0.0683446, 0.216888, 0.119439, 0.0698252, 0.352753, 0.104453, 0.0238435, 0.35044, 0.117643, -0.0206856, 0.305903, 0.119174, -0.0206856, 0.216888, 0.132453, -0.0206856, 0.172351, 0.125917, -0.0206856, 0.127814, 0.11729, 0.0238435, 0.172351, 0.134544, 0.113265, 0.218133, 0.0591981, 0.110723, 0.305903, 0.0548699, 0.00278018, -0.195748, 0.00416839, 0.00353444, -0.195748, 0.00352064, 0.111365, 0.175375, 0.0570781, 0.0983472, 0.35044, 0.0587564, 0.0683446, 0.388039, 0.0587564, 0.0238435, 0.375348, 0.103275, -0.0189536, 0.348602, 0.102333, -0.0622255, 0.305903, 0.101273, -0.0652146, 0.281351, 0.103275, -0.0661365, 0.261425, 0.104011, -0.0651867, 0.217362, 0.103216, -0.0489283, 0.127814, 0.103275, -0.0206856, 0.0836323, 0.103069, -1.33514e-05, -0.195748, 0.0049928, 0.000964388, -0.195748, 0.00490448, 0.00191419, -0.195748, 0.00461003, 0.134635, 0.261425, 0.014238, 0.13416, 0.172351, 0.014238, 0.126283, 0.305903, 0.014238, 0.00414902, -0.195748, 0.00275511, 0.110695, 0.346526, 0.014238, 0.077703, 0.394978, -0.0748282, 0.0683446, 0.402094, -0.0748282, 0.0522817, 0.394978, 0.0587564, -0.0652146, 0.37007, 0.0587564, -0.0652146, 0.35044, 0.0783068, 0.0238435, 0.394978, 0.0727715, -0.0206856, 0.392783, 0.0548699, -0.108068, 0.305903, 0.0571959, -0.109744, 0.35044, 0.0419443, -0.108906, 0.172351, 0.0582264, -0.0624211, 0.172351, 0.0995061, -0.00356115, -0.195748, 0.00352064, -0.0028069, -0.195748, 0.00416839, -0.00194091, -0.195748, 0.00461003, -0.000991091, -0.195748, 0.00490448, 0.144999, 0.261425, -0.0303098, 0.00462392, -0.195748, 0.00190125, 0.00490327, -0.195748, 0.000959054, 0.00501502, -0.195748, -1.25766e-05, 0.00490327, -0.195748, -0.000984207, 0.125417, 0.172351, -0.0303098, 0.132009, 0.305903, -0.0303098, 0.110695, 0.346526, -0.0303098, 0.0683446, 0.394978, -0.0931125, 0.100833, 0.35044, -0.0748282, 0.0238435, 0.4101, -0.0748282, 0.0238435, 0.408973, -0.0303098, 0.0238435, 0.407787, 0.014238, 0.0238435, 0.399603, 0.0587564, -0.109744, 0.374577, 0.014238, -0.0206856, 0.407787, 0.014238, -0.0623093, 0.394266, 0.014238, -0.130388, 0.35044, 0.014238, -0.137651, 0.305903, 0.014238, -0.131366, 0.172351, 0.014238, -0.00465064, -0.195748, 0.00190125, -0.00417574, -0.195748, 0.00275511, 0.123936, 0.261425, -0.0748282, 0.00462392, -0.195748, -0.00192639, 0.112874, 0.136828, -0.0303098, 0.0683446, 0.146376, -0.119347, 0.0687077, 0.351626, -0.119582, 0.0238435, 0.378195, -0.119347, 0.0238435, 0.394978, -0.105714, -0.0206856, 0.407787, -0.0303098, -0.109744, 0.378491, -0.0303098, -0.0645721, 0.394859, -0.0303098, -0.134131, 0.35044, -0.0303098, -0.140389, 0.305903, -0.0303098, -0.0652146, 0.127814, -0.096263, -0.00465064, -0.195748, -0.00192639, -0.00492999, -0.195748, -0.000984207, -0.00504173, -0.195748, -1.25766e-05, -0.00492999, -0.195748, 0.000959054, 0.112874, 0.261425, -0.0847506, 0.0711102, 0.172351, -0.123174, 0.00414902, -0.195748, -0.00280969, 0.00353444, -0.195748, -0.00357522, 0.00278018, -0.195748, -0.00419353, 0.00191419, -0.195748, -0.00463519, 0.000964388, -0.195748, -0.00492962, 0.0238435, 0.216888, -0.154914, 0.0238435, 0.35044, -0.128621, 0.0704677, 0.216888, -0.122526, -0.0206856, 0.305903, -0.132154, -0.0206856, 0.346526, -0.117227, -0.0652146, 0.35044, -0.0947025, -0.0652146, 0.371552, -0.0748282, -0.109744, 0.35044, -0.0668196, -0.109744, 0.330396, -0.0748282, -0.111085, 0.305903, -0.0763004, -0.109744, 0.288527, -0.0748282, -0.107565, 0.261425, -0.0709417, -0.0652146, 0.191387, -0.119347, -0.0028069, -0.195748, -0.00419353, -0.00356115, -0.195748, -0.00357522, -0.00417574, -0.195748, -0.00280969, -0.0607449, 0.172351, -0.117403, -1.33514e-05, -0.195748, -0.0050474, -0.0206856, 0.216888, -0.140634, -0.0691814, 0.261425, -0.122085, -0.000991091, -0.195748, -0.00492962, -0.0638178, 0.302938, -0.118581, -0.0978152, 0.35044, -0.0748282, -0.0683154, 0.216888, -0.121408, -0.00194091, -0.195748, -0.00463519)
[node name="ItemCylinder" type="RigidBody3D"]
collision_layer = 5
mass = 5.0
physics_material_override = SubResource("PhysicsMaterial_8esj6")
max_contacts_reported = 2
contact_monitor = true
script = ExtResource("1_lj6js")
[node name="MeshInstance3D" type="MeshInstance3D" parent="."]
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 0, -0.100432, 0)
material_override = ExtResource("2_ous1g")
mesh = ExtResource("3_48kuq")
[node name="CollisionShape3D" type="CollisionShape3D" parent="."]
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 0, -0.100432, 0)
shape = SubResource("ConvexPolygonShape3D_lwlw1")
[node name="splat" type="AudioStreamPlayer3D" parent="."]
stream = ExtResource("4_vk5fn")
[connection signal="collide" from="." to="splat" method="play"]