Add hamburger and refactor CookableItem and CombinableItem into scenes
This commit is contained in:
@@ -6,17 +6,12 @@
|
||||
[ext_resource type="Script" uid="uid://dvobm6vcfnqe8" path="res://addons/godot-xr-tools/hands/poses/hand_pose_settings.gd" id="4_mgacb"]
|
||||
[ext_resource type="PackedScene" uid="uid://ctw7nbntd5pcj" path="res://addons/godot-xr-tools/objects/grab_points/grab_point_hand_right.tscn" id="5_vw7i6"]
|
||||
[ext_resource type="Animation" uid="uid://d1xnpyc08njjx" path="res://addons/godot-xr-tools/hands/animations/right/Grip 4.res" id="6_cp3eg"]
|
||||
[ext_resource type="Script" path="res://combinable_item.gd" id="7_comb"]
|
||||
[ext_resource type="Script" path="res://combine_zone.gd" id="8_zone"]
|
||||
|
||||
[sub_resource type="CylinderShape3D" id="CylinderShape3D_gkni8"]
|
||||
custom_solver_bias = 0.1
|
||||
height = 0.1
|
||||
radius = 0.1
|
||||
|
||||
[sub_resource type="BoxShape3D" id="BoxShape3D_combine"]
|
||||
size = Vector3(0.16, 0.16, 0.16)
|
||||
|
||||
[sub_resource type="StandardMaterial3D" id="StandardMaterial3D_e28iu"]
|
||||
albedo_color = Color(0.06879827, 0.06879828, 0.06879828, 1)
|
||||
|
||||
@@ -51,13 +46,3 @@ hand_pose = SubResource("Resource_lc22d")
|
||||
[node name="GrabPointHandRight" parent="." index="3" unique_id=514404634 instance=ExtResource("5_vw7i6")]
|
||||
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 0.06531982, 0.042291984, -0.08604182)
|
||||
hand_pose = SubResource("Resource_qyiot")
|
||||
|
||||
[node name="CombinableItem" type="Node" parent="." index="4"]
|
||||
script = ExtResource("7_comb")
|
||||
id = &"charcoal"
|
||||
|
||||
[node name="CombineZone" type="Area3D" parent="." index="5"]
|
||||
script = ExtResource("8_zone")
|
||||
|
||||
[node name="CollisionShape3D" type="CollisionShape3D" parent="CombineZone"]
|
||||
shape = SubResource("BoxShape3D_combine")
|
||||
|
||||
Reference in New Issue
Block a user