Armazon/props/items/item_umbrella.tscn

40 lines
1.5 KiB
Plaintext
Raw Permalink Normal View History

2024-01-28 13:44:54 -05:00
[gd_scene load_steps=6 format=3 uid="uid://dpe7cw4bye1to"]
[ext_resource type="Script" path="res://scripts/packageitem.gd" id="1_7xjfk"]
[ext_resource type="ArrayMesh" uid="uid://bo0skqtvd28lp" path="res://assets/props/umbrella/umbrella.obj" id="2_4wo8n"]
[ext_resource type="Material" uid="uid://rdjg70p22dno" path="res://assets/props/umbrella/mat_umbrella.tres" id="3_5ie2h"]
2024-01-28 16:05:33 -05:00
[sub_resource type="CapsuleShape3D" id="CapsuleShape3D_iimwi"]
radius = 0.02
height = 0.73
2024-01-28 13:44:54 -05:00
[sub_resource type="CylinderShape3D" id="CylinderShape3D_u2gao"]
height = 0.0371674
radius = 0.217493
[node name="ItemCylinder" type="RigidBody3D"]
collision_layer = 5
mass = 2.0
gravity_scale = 0.05
can_sleep = false
max_contacts_reported = 2
contact_monitor = true
script = ExtResource("1_7xjfk")
[node name="CollisionShape3D" type="CollisionShape3D" parent="."]
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 0, 0.0788734, 0)
2024-01-28 16:05:33 -05:00
shape = SubResource("CapsuleShape3D_iimwi")
2024-01-28 13:44:54 -05:00
[node name="CollisionShape3D2" type="CollisionShape3D" parent="."]
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 0, 0.306674, 0)
shape = SubResource("CylinderShape3D_u2gao")
[node name="CollisionShape3D3" type="CollisionShape3D" parent="."]
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 0, 0.36707, 0)
shape = SubResource("CylinderShape3D_u2gao")
[node name="Umbrella" type="MeshInstance3D" parent="."]
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 0, -0.54225, 0)
mesh = ExtResource("2_4wo8n")
surface_material_override/0 = ExtResource("3_5ie2h")