Armazon/props/items/item_pizzahut.tscn

33 lines
2.2 KiB
Plaintext
Raw Permalink Normal View History

2024-01-28 13:44:54 -05:00
[gd_scene load_steps=7 format=3 uid="uid://ds6wtux7vaaia"]
[ext_resource type="Script" path="res://scripts/packageitem.gd" id="1_g6joe"]
[ext_resource type="PackedScene" uid="uid://shfm0c37j4hq" path="res://props/explosion/explosion.tscn" id="2_52gpd"]
[ext_resource type="ArrayMesh" uid="uid://dg1wht7b8dbe5" path="res://assets/props/pizzahut/pizza.obj" id="2_q2nuj"]
[ext_resource type="Material" uid="uid://c0jqqedwrbi4t" path="res://assets/props/pizzahut/mat_pizzahut.tres" id="3_a1p7w"]
[ext_resource type="AudioStream" uid="uid://bifvr4b4x2asl" path="res://assets/audio/tacobell_rand.tres" id="3_ke04h"]
[sub_resource type="ConvexPolygonShape3D" id="ConvexPolygonShape3D_k3hgf"]
points = PackedVector3Array(0.312292, 0.0508321, 0.40802, 0.0408943, 0.289968, 0.199856, -0.312348, 0.0508321, 0.40802, 0.235583, -0.113836, 0.307772, 0.312292, 0.0508321, -0.40802, -0.0409499, 0.289968, 0.199856, 0.0408943, 0.289968, -0.199936, -0.235639, -0.113836, 0.307772, -0.335361, 0.0799633, -7.98702e-05, -0.335361, 0.0586189, 0.0338686, -0.335361, 0.0508321, 0.0407381, -0.335361, 0.0442312, 0.0461698, -0.335361, -0.113836, 0.0461698, 0.235583, -0.113836, -0.307932, -0.312348, 0.0508321, -0.40802, -0.0409499, 0.289968, -0.199936, -0.335361, 0.0586189, -0.0339484, -0.335361, -0.113836, -0.0462497, -0.235639, -0.113836, -0.307932, -0.335361, 0.0442312, -0.0462497, -0.335361, 0.0508321, -0.0408179)
[node name="ItemCylinder" type="RigidBody3D"]
collision_layer = 5
mass = 20.0
max_contacts_reported = 2
contact_monitor = true
script = ExtResource("1_g6joe")
explosion = ExtResource("2_52gpd")
[node name="MeshInstance3D" type="MeshInstance3D" parent="."]
2024-01-28 16:05:33 -05:00
transform = Transform3D(-3.7215e-08, 0, 0.851379, 0, 0.851379, 0, -0.851379, 0, -3.7215e-08, 0, 0, 0)
2024-01-28 13:44:54 -05:00
mesh = ExtResource("2_q2nuj")
surface_material_override/0 = ExtResource("3_a1p7w")
[node name="CollisionShape3D" type="CollisionShape3D" parent="."]
2024-01-28 16:05:33 -05:00
transform = Transform3D(-3.7215e-08, 0, 0.851379, 0, 0.851379, 0, -0.851379, 0, -3.7215e-08, 0, 0, 0)
2024-01-28 13:44:54 -05:00
shape = SubResource("ConvexPolygonShape3D_k3hgf")
[node name="tacobell" type="AudioStreamPlayer3D" parent="."]
stream = ExtResource("3_ke04h")
[connection signal="collide" from="." to="tacobell" method="play"]