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

27 lines
5.1 KiB
Plaintext

[gd_scene load_steps=6 format=3 uid="uid://c11xj7mywm8rf"]
[ext_resource type="Script" path="res://scripts/packageitem.gd" id="1_iyoch"]
[ext_resource type="ArrayMesh" uid="uid://dxyaem7v3f7kd" path="res://assets/props/blake2/Bean.obj" id="2_h0gr7"]
[ext_resource type="Material" uid="uid://m4joetibiogy" path="res://assets/props/blake2/mat_blake2.tres" id="2_meoac"]
[sub_resource type="PhysicsMaterial" id="PhysicsMaterial_uspx2"]
bounce = 1.5
[sub_resource type="ConvexPolygonShape3D" id="ConvexPolygonShape3D_slx5f"]
points = PackedVector3Array(0.000176802, -0.0203944, 0.163045, -0.039484, -0.038804, 0.158938, 0, -0.0827514, 0.151417, 0.0398081, -0.0388602, 0.159304, 0.132566, 0.302616, 0.0697364, 0.112205, 0.308677, 0.0707528, 0.0763455, 0.310754, 0.0718505, 0.0409278, 0.309688, 0.072745, -0.0409573, 0.309688, 0.072745, -0.076375, 0.310754, 0.0718505, -0.112264, 0.308677, 0.0707528, -0.132625, 0.302616, 0.0697364, -0.0880729, -0.0508152, 0.125721, -0.0506515, -0.108794, 0.117183, -0.140846, 0.291503, 0.0690452, -0.143704, 0.274889, 0.0689639, -0.145826, 0.275114, 0.0675409, 0.050681, -0.108907, 0.117265, 0.0880729, -0.0508152, 0.125721, 0.145796, 0.275114, 0.0675409, 0.143675, 0.274889, 0.0689639, 0.140816, 0.291503, 0.0690452, 0.134128, 0.304075, 0.0683947, 0.113796, 0.310698, 0.0694111, -0.000265196, 0.392082, 0.0356656, -0.113826, 0.310698, 0.0694111, -0.134187, 0.304075, 0.0683947, -0.123756, -0.0523868, 0.0726637, -0.0949384, -0.10857, 0.0623774, -0.144382, 0.254964, 0.0680694, -2.94596e-05, -0.139383, 0.075347, -0.142732, 0.292344, 0.0676628, -0.146592, 0.27517, 0.0644103, -0.138548, -0.0453709, 0.0228992, -0.143085, 0.294141, 0.06563, 0.0948794, -0.10857, 0.0623774, 0.123726, -0.0523868, 0.0726637, 0.144352, 0.254964, 0.0680694, 0.138489, -0.0453709, 0.0228992, 0.146533, 0.27517, 0.0644103, 0.143026, 0.294141, 0.06563, 0.142702, 0.292344, 0.0676628, 0.142378, 0.295712, 0.0655893, 0.135513, 0.304748, 0.065264, 0.0670933, 0.418405, -0.0167009, 0.0593733, 0.384112, 0.0309087, -2.94596e-05, 0.433953, -0.0148713, -0.0591965, 0.383775, 0.0303802, -0.135542, 0.304748, 0.065264, -0.142437, 0.295712, 0.0655893, -0.0670049, 0.418237, -0.0167822, -0.0507104, -0.13596, 0.0197686, -0.123962, -0.0757916, -0.00202364, -2.94596e-05, -0.134556, -0.0284508, 0.050681, -0.13596, 0.0197686, -0.143409, 0.292625, 0.0645322, -0.143085, 0.293018, -0.0442258, -0.143085, 0.291671, -0.134729, -0.143881, 0.28617, -0.165954, -0.144676, 0.273149, -0.19234, -0.146268, 0.240427, -0.236616, -0.150511, 0.118969, -0.0682542, -0.147829, 0.0168738, -0.0199128, -0.136249, -0.00220934, -0.0684169, -0.12461, 0.350099, -0.0802075, -0.143085, 0.293748, 0.0213136, 0.123933, -0.0757916, -0.00202364, 0.13622, -0.00220934, -0.0684169, 0.1478, 0.0168738, -0.0199128, 0.143822, 0.28617, -0.165954, 0.143026, 0.291671, -0.134729, 0.143026, 0.293018, -0.0442258, 0.14338, 0.292625, 0.0645322, 0.150481, 0.118969, -0.0682542, 0.146238, 0.240427, -0.236616, 0.145443, 0.256536, -0.215393, 0.144617, 0.273149, -0.19234, 0.143026, 0.293748, 0.0213136, 0.124581, 0.350099, -0.0802075, 0.115623, 0.358069, -0.0231247, 0.0716605, 0.41442, -0.0832161, -2.94596e-05, 0.43356, -0.0864687, -0.115653, 0.358069, -0.0231247, -0.07169, 0.41442, -0.0832161, -0.0881907, -0.0951554, -0.0449577, -0.0399554, -0.0988598, -0.0824029, -0.103631, -0.0165778, -0.113912, -2.94596e-05, -0.0848842, -0.108383, 0.039926, -0.0988598, -0.0824029, 0.0881613, -0.0951554, -0.0449577, -0.142997, 0.288191, -0.166604, -0.144117, 0.259173, -0.217304, -0.145472, 0.256536, -0.215393, -0.143557, 0.27545, -0.193722, -0.144676, 0.243514, -0.238893, -0.145619, 0.235993, -0.242877, -0.144942, 0.233299, -0.246536, -0.144293, 0.231615, -0.248813, -0.143645, 0.230268, -0.250886, 0.103601, -0.0165778, -0.113912, 0.143616, 0.230268, -0.250886, 0.144264, 0.231615, -0.248813, 0.144912, 0.233299, -0.246536, 0.14556, 0.235993, -0.242877, 0.143527, 0.27545, -0.193722, 0.142938, 0.288191, -0.166604, 0.144175, 0.238743, -0.244869, 0.144647, 0.243514, -0.238893, 0.144087, 0.259173, -0.217304, 0.0671228, 0.38153, -0.145381, -2.94596e-05, 0.395281, -0.152008, -0.0671522, 0.38153, -0.145381, -0.0552187, -0.0244917, -0.145747, -2.94596e-05, -0.0256142, -0.158229, 0.0551892, -0.0244917, -0.145747, -0.144205, 0.238743, -0.244869, -0.143763, 0.235656, -0.248244, -0.143292, 0.233636, -0.250195, -0.14282, 0.231952, -0.251903, 0.142791, 0.231952, -0.251903, 0.143262, 0.233636, -0.250195, 0.143704, 0.235656, -0.248244, 0.140816, 0.23661, -0.248976, 0.140816, 0.234478, -0.250764, 0.140816, 0.232625, -0.252309, -2.94596e-05, 0.318331, -0.199577, -0.140846, 0.232625, -0.252309, -0.140846, 0.234478, -0.250764, -0.140846, 0.23661, -0.248976, -2.94596e-05, 0.0799604, -0.207343)
[node name="ItemCylinder" type="RigidBody3D"]
collision_layer = 5
mass = 5.0
physics_material_override = SubResource("PhysicsMaterial_uspx2")
max_contacts_reported = 2
contact_monitor = true
script = ExtResource("1_iyoch")
[node name="MeshInstance3D" type="MeshInstance3D" parent="."]
material_override = ExtResource("2_meoac")
mesh = ExtResource("2_h0gr7")
[node name="CollisionShape3D" type="CollisionShape3D" parent="."]
shape = SubResource("ConvexPolygonShape3D_slx5f")