grunk/src/props/med_cart/phys_med_cart.tscn

61 lines
24 KiB
Plaintext
Raw Normal View History

[gd_scene load_steps=13 format=3 uid="uid://cv6sxj04rrkt2"]
2025-04-15 19:34:21 -06:00
[ext_resource type="Script" uid="uid://sksndhqyo2bn" path="res://src/props/physics/persistent_prop.gd" id="1_3jm8i"]
[ext_resource type="PackedScene" uid="uid://cdi5sl60mw1po" path="res://src/world/gunkable/gunkable.tscn" id="1_fu1y0"]
[ext_resource type="Material" uid="uid://c1vy4bkwb1g5m" path="res://assets/materials/gunk_lowrez.material" id="2_8v7ae"]
[ext_resource type="ArrayMesh" uid="uid://b3p2eh3b8jg4r" path="res://assets/props/med_cart/med_cart.obj" id="3_3jm8i"]
[ext_resource type="Texture2D" uid="uid://biqh5uq67dl55" path="res://assets/props/med_cart/med_cart_C.png" id="4_r1b3g"]
[ext_resource type="Texture2D" uid="uid://bds4qx6kqhplb" path="res://assets/props/med_cart/med_cart_M.png" id="5_u14ky"]
[ext_resource type="Texture2D" uid="uid://v4j34fh4vm06" path="res://assets/props/med_cart/med_cart_N.png" id="6_251s5"]
[ext_resource type="Texture2D" uid="uid://bcnsofhrfxyjk" path="res://assets/props/med_cart/med_cart_R.png" id="7_2wjh0"]
[ext_resource type="Script" uid="uid://040xta01xqxd" path="res://src/props/physics/holdable.gd" id="8_8v7ae"]
2025-04-15 19:34:21 -06:00
[sub_resource type="BoxShape3D" id="BoxShape3D_fu1y0"]
size = Vector3(0.7, 1, 1.2)
[sub_resource type="StandardMaterial3D" id="StandardMaterial3D_xx4to"]
2025-04-15 19:34:21 -06:00
transparency = 2
alpha_scissor_threshold = 0.5
alpha_antialiasing_mode = 0
albedo_texture = ExtResource("4_r1b3g")
2025-04-15 19:34:21 -06:00
metallic = 1.0
metallic_texture = ExtResource("5_u14ky")
roughness_texture = ExtResource("7_2wjh0")
2025-04-15 19:34:21 -06:00
normal_enabled = true
normal_texture = ExtResource("6_251s5")
2025-04-15 19:34:21 -06:00
texture_filter = 2
[sub_resource type="ConcavePolygonShape3D" id="ConcavePolygonShape3D_rhern"]
2025-04-15 19:34:21 -06:00
data = PackedVector3Array(-0.3, -0.46, 0.52, -0.34, -0.46, 0.52, -0.3, -0.4883, 0.5317, -0.3, -0.4883, 0.5317, -0.34, -0.46, 0.52, -0.34, -0.4883, 0.5317, -0.3, -0.4883, 0.5317, -0.34, -0.4883, 0.5317, -0.3, -0.5, 0.56, -0.3, -0.5, 0.56, -0.34, -0.4883, 0.5317, -0.34, -0.5, 0.56, -0.3, -0.5, 0.56, -0.34, -0.5, 0.56, -0.3, -0.4883, 0.5883, -0.3, -0.4883, 0.5883, -0.34, -0.5, 0.56, -0.34, -0.4883, 0.5883, -0.3, -0.4883, 0.5883, -0.34, -0.4883, 0.5883, -0.3, -0.46, 0.6, -0.3, -0.46, 0.6, -0.34, -0.4883, 0.5883, -0.34, -0.46, 0.6, -0.3, -0.46, 0.6, -0.34, -0.46, 0.6, -0.3, -0.4317, 0.5883, -0.3, -0.4317, 0.5883, -0.34, -0.46, 0.6, -0.34, -0.4317, 0.5883, -0.3, -0.4317, 0.5883, -0.34, -0.4317, 0.5883, -0.3, -0.42, 0.56, -0.3, -0.42, 0.56, -0.34, -0.4317, 0.5883, -0.34, -0.42, 0.56, -0.3, -0.46, 0.52, -0.3, -0.4883, 0.5317, -0.3, -0.4317, 0.5317, -0.3, -0.4317, 0.5317, -0.3, -0.4883, 0.5317, -0.3, -0.42, 0.56, -0.3, -0.42, 0.56, -0.3, -0.4883, 0.5317, -0.3, -0.4317, 0.5883, -0.3, -0.4317, 0.5883, -0.3, -0.4883, 0.5317, -0.3, -0.46, 0.6, -0.3, -0.46, 0.6, -0.3, -0.4883, 0.5317, -0.3, -0.4883, 0.5883, -0.3, -0.4883, 0.5883, -0.3, -0.4883, 0.5317, -0.3, -0.5, 0.56, -0.3, -0.42, 0.56, -0.34, -0.42, 0.56, -0.3, -0.4317, 0.5317, -0.3, -0.4317, 0.5317, -0.34, -0.42, 0.56, -0.34, -0.4317, 0.5317, -0.3, -0.4317, 0.5317, -0.34, -0.4317, 0.5317, -0.3, -0.46, 0.52, -0.3, -0.46, 0.52, -0.34, -0.4317, 0.5317, -0.34, -0.46, 0.52, -0.34, -0.4883, 0.5317, -0.34, -0.46, 0.52, -0.34, -0.5, 0.56, -0.34, -0.5, 0.56, -0.34, -0.46, 0.52, -0.34, -0.4883, 0.5883, -0.34, -0.4883, 0.5883, -0.34, -0.46, 0.52, -0.34, -0.46, 0.6, -0.34, -0.46, 0.6, -0.34, -0.46, 0.52, -0.34, -0.4317, 0.5883, -0.34, -0.4317, 0.5883, -0.34, -0.46, 0.52, -0.34, -0.42, 0.56, -0.34, -0.42, 0.56, -0.34, -0.46, 0.52, -0.34, -0.4317, 0.5317, -0.3, -0.46, -0.6, -0.34, -0.46, -0.6, -0.3, -0.4883, -0.5883, -0.3, -0.4883, -0.5883, -0.34, -0.46, -0.6, -0.34, -0.4883, -0.5883, -0.3, -0.4883, -0.5883, -0.34, -0.4883, -0.5883, -0.3, -0.5, -0.56, -0.3, -0.5, -0.56, -0.34, -0.4883, -0.5883, -0.34, -0.5, -0.56, -0.3, -0.5, -0.56, -0.34, -0.5, -0.56, -0.3, -0.4883, -0.5317, -0.3, -0.4883, -0.5317, -0.34, -0.5, -0.56, -0.34, -0.4883, -0.5317, -0.3, -0.4883, -0.5317, -0.34, -0.4883, -0.5317, -0.3, -0.46, -0.52, -0.3, -0.46, -0.52, -0.34, -0.4883, -0.5317, -0.34, -0.46, -0.52, -0.3, -0.46, -0.52, -0.34, -0.46, -0.52, -0.3, -0.4317, -0.5317, -0.3, -0.4317, -0.5317, -0.34, -0.46, -0.52, -0.34, -0.4317, -0.5317, -0.3, -0.4317, -0.5317, -0.34, -0.4317, -0.5317, -0.3, -0.42, -0.56, -0.3, -0.42, -0.56, -0.34, -0.4317, -0.5317, -0.34, -0.42, -0.56, -0.3, -0.46, -0.6, -0.3, -0.4883, -0.5883, -0.3, -0.4317, -0.5883, -0.3, -0.4317, -0.5883, -0.3, -0.4883, -0.5883, -0.3, -0.42, -0.56, -0.3, -0.42, -0.56, -0.3, -0.4883, -0.5883, -0.3, -0.4317, -0.5317, -0.3, -0.4317, -0.5317, -0.3, -0.4883, -0.5883, -0.3, -0.46, -0.52, -0.3, -0.46, -0.52, -0.3, -0.4883, -0.5883, -0.3, -0.4883, -0.5317, -0.3, -0.4883, -0.5317, -0.3, -0.4883, -0.5883, -0.3, -0.5, -0.56, -0.3, -0.42, -0.56, -0.34, -0.42, -0.56, -0.3, -0.4317, -0.5883, -0.3, -0.4317, -0.5883, -0.34, -0.42, -0.56, -0.34, -0.4317, -0.5883, -0.3, -0.4317, -0.5883, -0.34, -0.4317, -0.5883, -0.3, -0.46, -0.6, -0.3, -0.46, -0.6, -0.34, -0.4317, -0.5883, -0.34, -0.46, -0.6, -0.34, -0.4883, -0.5883, -0.34, -0.46, -0.6, -0.34, -0.5, -0.56, -0.34, -0.5, -0.56, -0.34, -0.46, -0.6, -0.34, -0.4883, -0.5317, -0.34, -0.4883, -0.5317, -0.34, -0.46, -0.6, -0.34, -0.46, -0.52, -0.34, -0.46, -0.52, -0.34, -0.46, -0.6, -0.34, -0.4317, -0.5317, -0.34, -0.4317, -0.5317, -0.34, -0.46, -0.6, -0.34, -0.42, -0.56, -0.34, -0.42, -0.56, -0.34, -0.46, -0.6, -0.34, -0.4317, -0.5883, 0.34, -0.46, 0.52, 0.3, -0.46, 0.52, 0.34, -0.4883, 0.5317, 0.34, -0.4883, 0.5317, 0.3, -0.46, 0.52, 0.3, -0.4883, 0.5317, 0.34, -0.4883, 0.5317, 0.3, -0.4883, 0.5317, 0.34, -0.5, 0.56, 0.34, -0.5, 0.56, 0.3, -0.4883, 0.5317, 0.3, -0.5, 0.56, 0.34, -0.5, 0.56, 0.3, -0.5, 0.56, 0.34, -0.4883, 0.5883, 0.34, -0.4883, 0.5883, 0.3, -0.5, 0.56, 0.3, -0.4883, 0.5883, 0.34, -0.4883, 0.5883, 0.3, -0.4883, 0.5883, 0.34,
[node name="PhysMedCart" type="RigidBody3D" groups=["Persistent", "PlasticMaterial"]]
collision_layer = 67
collision_mask = 73
mass = 40.0
script = ExtResource("1_3jm8i")
[node name="CollisionShape3D" type="CollisionShape3D" parent="."]
shape = SubResource("BoxShape3D_fu1y0")
[node name="MeshInstance3D" type="MeshInstance3D" parent="."]
mesh = ExtResource("3_3jm8i")
surface_material_override/0 = SubResource("StandardMaterial3D_xx4to")
[node name="StaticBody3D" type="StaticBody3D" parent="MeshInstance3D"]
collision_layer = 4
collision_mask = 0
[node name="CollisionShape3D" type="CollisionShape3D" parent="MeshInstance3D/StaticBody3D"]
shape = SubResource("ConcavePolygonShape3D_rhern")
2025-04-15 19:34:21 -06:00
[node name="Gunkable" parent="MeshInstance3D/StaticBody3D" node_paths=PackedStringArray("body", "mesh_instance") instance=ExtResource("1_fu1y0")]
2025-05-02 20:08:28 -06:00
mask_dim = 96
body = NodePath("..")
mesh_instance = NodePath("../..")
source_gunk_material = ExtResource("2_8v7ae")
2025-04-15 19:34:21 -06:00
[node name="Holdable" type="Node" parent="."]
script = ExtResource("8_8v7ae")
hold_distance = 2.0
metadata/_custom_type_script = "uid://040xta01xqxd"