Armazon/props/items/item_rock.tscn

27 lines
1.2 KiB
Plaintext
Raw Permalink 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="."]
2024-01-28 16:05:33 -05:00
transform = Transform3D(0.563933, 0.563933, 0, -0.563933, 0.563933, 0, 0, 0, 0.797522, 0.0750016, 0.0166628, -0.0180668)
2024-01-28 13:44:54 -05:00
shape = SubResource("BoxShape3D_38mc6")
[node name="MeshInstance3D" type="MeshInstance3D" parent="."]
2024-01-28 16:05:33 -05:00
transform = Transform3D(0.797522, 0, 0, 0, 0.797522, 0, 0, 0, 0.797522, 0.00844839, 0.00187695, -0.0020351)
2024-01-28 13:44:54 -05:00
mesh = ExtResource("2_3odon")
surface_material_override/0 = ExtResource("3_tgia3")