-
Notifications
You must be signed in to change notification settings - Fork 2
/
Copy pathPaintball.tscn
30 lines (22 loc) · 930 Bytes
/
Paintball.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
[gd_scene load_steps=5 format=2]
[ext_resource path="res://shaders/paintball.tres" type="Material" id=1]
[ext_resource path="res://scripts/Paintball.gd" type="Script" id=2]
[sub_resource type="QuadMesh" id=1]
[sub_resource type="SphereShape" id=2]
resource_local_to_scene = true
margin = 0.001
radius = 0.02
[node name="Paintball" type="Spatial"]
transform = Transform( 0.25, 0, 0, 0, 0.25, 0, 0, 0, 0.25, 0, 0, 0 )
script = ExtResource( 2 )
[node name="MeshInstance" type="MeshInstance" parent="."]
material_override = ExtResource( 1 )
mesh = SubResource( 1 )
material/0 = null
[node name="Area" type="Area" parent="."]
monitoring = false
monitorable = false
[node name="CollisionShape" type="CollisionShape" parent="Area"]
shape = SubResource( 2 )
[connection signal="mouse_entered" from="Area" to="." method="_on_Area_mouse_entered"]
[connection signal="mouse_exited" from="Area" to="." method="_on_Area_mouse_exited"]