Armazon/props/items/item_rock.tscn

26 lines
1.1 KiB
Plaintext
Raw Normal View History

2024-01-28 13:44:54 -05:00
[gd_scene load_steps=6 format=3 uid="uid://bx8ujp23n33t8"]
[ext_resource type="Script" path="res://scripts/packageitem.gd" id="1_0qvuu"]
[ext_resource type="PackedScene" uid="uid://shfm0c37j4hq" path="res://props/explosion/explosion.tscn" id="2_3hltn"]
[ext_resource type="ArrayMesh" uid="uid://srjr8iuq5p84" path="res://assets/props/rock/rock_low_final.obj" id="2_3odon"]
[ext_resource type="Material" uid="uid://uoclyvnxnbur" path="res://assets/props/rock/mat_rock.tres" id="3_tgia3"]
[sub_resource type="BoxShape3D" id="BoxShape3D_38mc6"]
size = Vector3(0.460156, 0.352231, 0.485651)
[node name="ItemCylinder" type="RigidBody3D"]
collision_layer = 5
mass = 20.0
max_contacts_reported = 2
contact_monitor = true
script = ExtResource("1_0qvuu")
explosion = ExtResource("2_3hltn")
[node name="CollisionShape3D" type="CollisionShape3D" parent="."]
transform = Transform3D(0.707107, 0.707107, 0, -0.707107, 0.707107, 0, 0, 0, 1, 0.08345, 0.0185398, -0.0201019)
shape = SubResource("BoxShape3D_38mc6")
[node name="MeshInstance3D" type="MeshInstance3D" parent="."]
mesh = ExtResource("2_3odon")
surface_material_override/0 = ExtResource("3_tgia3")