Armazon/props/items/item_bananana.tscn
2024-01-28 13:44:54 -05:00

43 lines
1.8 KiB
Plaintext

[gd_scene load_steps=7 format=3 uid="uid://dkrnww4871lqb"]
[ext_resource type="Script" path="res://scripts/packageitem.gd" id="1_bn2i2"]
[ext_resource type="ArrayMesh" uid="uid://cxxbmrtkj187k" path="res://assets/props/blake3/Bananana.obj" id="2_mfgsp"]
[ext_resource type="Material" uid="uid://dlcqn8a0dycmj" path="res://assets/props/blake3/mat_blake3.tres" id="3_wjk23"]
[sub_resource type="PhysicsMaterial" id="PhysicsMaterial_axjma"]
bounce = 0.3
absorbent = true
[sub_resource type="CapsuleShape3D" id="CapsuleShape3D_7guxg"]
radius = 0.1
height = 0.965227
[sub_resource type="CapsuleShape3D" id="CapsuleShape3D_lypkv"]
radius = 0.071128
height = 0.513955
[node name="ItemCylinder" type="RigidBody3D"]
collision_layer = 5
mass = 4.0
physics_material_override = SubResource("PhysicsMaterial_axjma")
max_contacts_reported = 2
contact_monitor = true
script = ExtResource("1_bn2i2")
[node name="MeshInstance3D" type="MeshInstance3D" parent="."]
transform = Transform3D(-2.5461e-08, 0.58248, 0, -0.58248, -2.5461e-08, 0, 0, 0, 0.58248, 0.00399624, 0.0203257, 0.0938623)
mesh = ExtResource("2_mfgsp")
surface_material_override/0 = ExtResource("3_wjk23")
[node name="CollisionShape3D" type="CollisionShape3D" parent="."]
transform = Transform3D(0.58248, 0, 0, 0, 0.58248, 0, 0, 0, 0.58248, 0.000624244, 0.0500732, 0.0252463)
shape = SubResource("CapsuleShape3D_7guxg")
[node name="CollisionShape3D2" type="CollisionShape3D" parent="."]
transform = Transform3D(0.58248, 0, 0, 0, 0.498501, -0.301296, 0, 0.301296, 0.498501, 0.000609489, 0.320548, 0.0537572)
shape = SubResource("CapsuleShape3D_lypkv")
[node name="CollisionShape3D3" type="CollisionShape3D" parent="."]
transform = Transform3D(0.58248, 0, 0, 0, 0.529455, 0.242817, 0, -0.242817, 0.529455, 0.000609489, -0.19622, 0.0689965)
shape = SubResource("CapsuleShape3D_lypkv")