Armazon/props/items/item_five.tscn

30 lines
5.2 KiB
Plaintext
Raw Normal View History

2024-01-28 13:44:54 -05:00
[gd_scene load_steps=6 format=3 uid="uid://x3v5bs08trt0"]
[ext_resource type="Script" path="res://scripts/packageitem.gd" id="1_3dhe0"]
[ext_resource type="ArrayMesh" uid="uid://cdgvxwpqks5ad" path="res://assets/props/five/five.obj" id="2_e3hqk"]
[ext_resource type="Material" uid="uid://c2blaccl48fqs" path="res://assets/props/five/mat_five.tres" id="3_e3e1n"]
[ext_resource type="AudioStream" uid="uid://u3t53unylnm8" path="res://assets/audio/five.wav" id="4_i7dkc"]
[sub_resource type="ConvexPolygonShape3D" id="ConvexPolygonShape3D_6u85u"]
points = PackedVector3Array(-0.143645, -0.246403, -0.0399276, -0.136671, -0.240626, -0.0464272, -0.108493, -0.24615, -0.0464272, -0.109674, -0.253042, -0.0399276, -0.143645, -0.246403, 0.0399178, -0.143645, -0.158221, -0.0399276, -0.132003, -0.236774, -0.0499804, -0.107706, -0.241538, -0.0499804, -0.136671, -0.168154, -0.0464272, -0.0863613, -0.244731, -0.0499804, -0.0869237, -0.249342, -0.0464272, -0.0877393, -0.256285, -0.0399276, -0.109674, -0.253042, 0.0399178, -0.108493, -0.24615, 0.0464174, -0.136671, -0.240626, 0.0464174, -0.143645, -0.158221, 0.0399178, -0.135602, 0.25887, -0.0399276, -0.1286, 0.251826, -0.0464272, -0.129669, -0.234899, -0.05, -0.132003, -0.174742, -0.0499804, -0.107312, -0.239257, -0.05, -0.123932, 0.247163, -0.0499804, -0.0860801, -0.242399, -0.05, -0.0659732, -0.244274, -0.05, -0.0661419, -0.246606, -0.0499804, -0.0664231, -0.251268, -0.0464272, -0.0668731, -0.258262, -0.0399276, -0.0877393, -0.256285, 0.0399178, -0.0869237, -0.249342, 0.0464174, -0.0863613, -0.244731, 0.0499706, -0.107706, -0.241538, 0.0499706, -0.132003, -0.236774, 0.0499706, -0.136671, -0.168154, 0.0464174, -0.1286, 0.251826, 0.0464174, -0.135602, 0.25887, 0.0399178, 0.134224, 0.25887, -0.0399276, 0.127222, 0.251826, -0.0464272, -0.129669, -0.178087, -0.05, -0.121598, 0.244832, -0.05, 0.122554, 0.247163, -0.0499804, -0.0470192, -0.244883, -0.05, -0.0469911, -0.247214, -0.0499804, -0.0469068, -0.251876, -0.0464272, -0.0467943, -0.25887, -0.0399276, -0.0668731, -0.258262, 0.0399178, -0.0664231, -0.251268, 0.0464174, -0.0659732, -0.244274, 0.0499902, -0.0860801, -0.242399, 0.0499902, -0.107312, -0.239257, 0.0499902, -0.0661419, -0.246606, 0.0499706, -0.129669, -0.234899, 0.0499902, -0.132003, -0.174742, 0.0499706, -0.123932, 0.247163, 0.0499706, 0.127222, 0.251826, 0.0464174, 0.134224, 0.25887, 0.0399178, 0.143617, -0.0960373, -0.0399276, 0.136586, -0.0960373, -0.0464272, 0.131918, -0.096088, -0.0499804, 0.12022, 0.244832, -0.05, 0.129584, -0.096088, -0.05, -0.00793028, -0.242399, -0.05, -0.00762093, -0.244731, -0.0499804, -0.00697415, -0.249393, -0.0464272, -0.00601801, -0.256336, -0.0399276, -0.0467943, -0.25887, 0.0399178, -0.0469068, -0.251876, 0.0464174, -0.0469911, -0.247214, 0.0499706, -0.0470192, -0.244883, 0.0499902, -0.129669, -0.178087, 0.0499902, -0.121598, 0.244832, 0.0499902, 0.122554, 0.247163, 0.0499706, 0.131918, -0.096088, 0.0499706, 0.136586, -0.0960373, 0.0464174, 0.143617, -0.0960373, 0.0399178, 0.140439, -0.131716, -0.0399276, 0.133549, -0.130398, -0.0464272, 0.128937, -0.129486, -0.0499804, 0.126631, -0.12903, -0.05, 0.0267155, -0.235, -0.05, 0.0273904, -0.23723, -0.0499804, 0.0287965, -0.24169, -0.0464272, 0.0308494, -0.24843, -0.0399276, -0.00601801, -0.256336, 0.0399178, -0.00697415, -0.249393, 0.0464174, -0.00762093, -0.244731, 0.0499706, -0.00793028, -0.242399, 0.0499902, 0.12022, 0.244832, 0.0499902, 0.129584, -0.096088, 0.0499902, 0.128937, -0.129486, 0.0499706, 0.133549, -0.130398, 0.0464174, 0.140439, -0.131716, 0.0399178, 0.130765, -0.163846, -0.0399276, 0.124297, -0.161059, -0.0464272, 0.119995, -0.159184, -0.0499804, 0.117829, -0.158272, -0.05, 0.0568899, -0.222634, -0.05, 0.0579867, -0.224712, -0.0499804, 0.0602083, -0.228868, -0.0464272, 0.0308494, -0.24843, 0.0399178, 0.0635266, -0.235051, -0.0399276, 0.0287965, -0.24169, 0.0464174, 0.0273904, -0.23723, 0.0499706, 0.0267155, -0.235, 0.0499902, 0.126631, -0.12903, 0.0499902, 0.117829, -0.158272, 0.0499902, 0.119995, -0.159184, 0.0499706, 0.124297, -0.161059, 0.0464174, 0.130765, -0.163846, 0.0399178, 0.114455, -0.192125, -0.0399276, 0.108802, -0.187919, -0.0464272, 0.105034, -0.185081, -0.0499804, 0.10315, -0.183662, -0.05, 0.082593, -0.205353, -0.05, 0.0841116, -0.207126, -0.0499804, 0.0871487, -0.210725, -0.0464272, 0.0917044, -0.216097, -0.0399276, 0.0635266, -0.235051, 0.0399178, 0.0602083, -0.228868, 0.0464174, 0.0579867, -0.224712, 0.0499706, 0.0568899, -0.222634, 0.0499902, 0.10315, -0.183662, 0.0499902, 0.105034, -0.185081, 0.0499706, 0.108802, -0.187919, 0.0464174, 0.114455, -0.192125, 0.0399178, 0.0917044, -0.216097, 0.0399178, 0
[node name="ItemCylinder" type="RigidBody3D"]
collision_layer = 5
mass = 5.0
gravity_scale = 0.5
max_contacts_reported = 2
contact_monitor = true
script = ExtResource("1_3dhe0")
[node name="MeshInstance3D" type="MeshInstance3D" parent="."]
mesh = ExtResource("2_e3hqk")
surface_material_override/0 = ExtResource("3_e3e1n")
[node name="CollisionShape3D" type="CollisionShape3D" parent="."]
shape = SubResource("ConvexPolygonShape3D_6u85u")
[node name="five" type="AudioStreamPlayer" parent="."]
stream = ExtResource("4_i7dkc")
[connection signal="collide" from="." to="five" method="play"]