-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathorb_green.tscn
44 lines (33 loc) · 1.52 KB
/
orb_green.tscn
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
[gd_scene load_steps=8 format=3 uid="uid://cdc1e8q51namt"]
[ext_resource type="Script" path="res://scripts/item_scene.gd" id="1_lkmie"]
[ext_resource type="Resource" uid="uid://budalf3utr53k" path="res://resources/inventory/items/orb_green.tres" id="2_uem1q"]
[sub_resource type="StandardMaterial3D" id="StandardMaterial3D_cimcc"]
albedo_color = Color(0, 1, 0, 1)
emission_enabled = true
emission = Color(0, 1, 0, 1)
[sub_resource type="SphereMesh" id="SphereMesh_kocwr"]
material = SubResource("StandardMaterial3D_cimcc")
radius = 0.05
height = 0.1
[sub_resource type="StandardMaterial3D" id="StandardMaterial3D_5l2f7"]
shading_mode = 0
[sub_resource type="SphereMesh" id="SphereMesh_kojlq"]
material = SubResource("StandardMaterial3D_5l2f7")
flip_faces = true
radius = 0.05
height = 0.1
[sub_resource type="SphereShape3D" id="SphereShape3D_dc0vj"]
radius = 0.1
[node name="OrbGreen" type="Area3D"]
transform = Transform3D(2, 0, 0, 0, 2, 0, 0, 0, 2, 0, 0.1, 0)
script = ExtResource("1_lkmie")
item = ExtResource("2_uem1q")
[node name="Mesh" type="MeshInstance3D" parent="."]
mesh = SubResource("SphereMesh_kocwr")
[node name="MeshOutline" type="MeshInstance3D" parent="."]
transform = Transform3D(1.04, 0, 0, 0, 1.04, 0, 0, 0, 1.04, 0, 0, 0)
mesh = SubResource("SphereMesh_kojlq")
[node name="CollisionShape3D" type="CollisionShape3D" parent="."]
shape = SubResource("SphereShape3D_dc0vj")
[connection signal="area_entered" from="." to="." method="_area_entered_area"]
[connection signal="area_exited" from="." to="." method="_area_exited_area"]