Armazon/props/items/item_worm.tscn

56 lines
2.6 KiB
Plaintext
Raw Permalink Normal View History

2024-01-28 13:44:54 -05:00
[gd_scene load_steps=8 format=3 uid="uid://cugp3qcnsxajf"]
[ext_resource type="Script" path="res://scripts/packageitem.gd" id="1_l6krj"]
[ext_resource type="Material" uid="uid://1wix8dscq3ht" path="res://assets/props/blake1/mat_blake1.tres" id="2_cahoa"]
[ext_resource type="ArrayMesh" uid="uid://bsb6msyqqjyc" path="res://assets/props/blake1/worms.obj" id="2_xv35h"]
[ext_resource type="AudioStream" uid="uid://bmisffsu4isig" path="res://assets/audio/SPLAT_rand.tres" id="4_t1ktk"]
[sub_resource type="PhysicsMaterial" id="PhysicsMaterial_fdsyq"]
friction = 0.0
[sub_resource type="CapsuleShape3D" id="CapsuleShape3D_x04fm"]
radius = 0.05
height = 0.5
[sub_resource type="CapsuleShape3D" id="CapsuleShape3D_5no56"]
radius = 0.05
height = 0.3
[node name="ItemCylinder" type="RigidBody3D"]
collision_layer = 5
mass = 4.0
physics_material_override = SubResource("PhysicsMaterial_fdsyq")
max_contacts_reported = 2
contact_monitor = true
script = ExtResource("1_l6krj")
[node name="CollisionShape3D2" type="CollisionShape3D" parent="."]
transform = Transform3D(-3.94286e-08, 0.902021, -0.431692, -1, -4.37114e-08, 0, -1.88699e-08, 0.431692, 0.902021, -0.312174, -0.175834, -0.0229429)
shape = SubResource("CapsuleShape3D_x04fm")
[node name="CollisionShape3D3" type="CollisionShape3D" parent="."]
transform = Transform3D(0.449974, 0.790534, 0.415427, -0.893042, 0.398324, 0.20932, 2.03338e-08, -0.465182, 0.885215, -0.019008, -0.0798054, -0.0204325)
shape = SubResource("CapsuleShape3D_x04fm")
[node name="CollisionShape3D4" type="CollisionShape3D" parent="."]
transform = Transform3D(-0.479065, 0.698919, -0.531045, -0.772972, -0.622583, -0.122084, -0.415947, 0.351997, 0.838503, 0.236953, -0.0859478, -0.0344047)
shape = SubResource("CapsuleShape3D_5no56")
[node name="CollisionShape3D5" type="CollisionShape3D" parent="."]
transform = Transform3D(-0.811727, -0.454843, -0.366357, 0.331763, -0.875353, 0.351697, -0.480659, 0.163938, 0.861448, 0.38244, -0.0682897, -0.00321441)
shape = SubResource("CapsuleShape3D_5no56")
[node name="CollisionShape3D6" type="CollisionShape3D" parent="."]
transform = Transform3D(-0.837888, 0.203922, -0.50632, -0.258673, -0.965163, 0.0393445, -0.480659, 0.163938, 0.861448, 0.378956, 0.177411, -0.0387476)
shape = SubResource("CapsuleShape3D_5no56")
[node name="MeshInstance3D" type="MeshInstance3D" parent="."]
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 2.23675, -0.207705, 0)
material_override = ExtResource("2_cahoa")
mesh = ExtResource("2_xv35h")
[node name="slime" type="AudioStreamPlayer3D" parent="."]
stream = ExtResource("4_t1ktk")
[connection signal="collide" from="." to="slime" method="play"]