-
Notifications
You must be signed in to change notification settings - Fork 2
/
FPS Pickup.tscn
53 lines (42 loc) · 1.42 KB
/
FPS Pickup.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
45
46
47
48
49
50
51
52
53
[gd_scene load_steps=5 format=2]
[ext_resource path="res://scripts/fps pickup.gd" type="Script" id=1]
[ext_resource path="res://import/crosshair.png" type="Texture" id=2]
[sub_resource type="CapsuleMesh" id=1]
radius = 0.75
mid_height = 2.5
[sub_resource type="CapsuleShape" id=2]
radius = 0.75
height = 2.5
[node name="FPS Pickup" type="KinematicBody" groups=[
"Player",
]]
collision_layer = 2
script = ExtResource( 1 )
[node name="MeshInstance" type="MeshInstance" parent="."]
transform = Transform( 1, 0, 0, 0, -4.37114e-08, -1, 0, 1, -4.37114e-08, 0, 0, 0 )
mesh = SubResource( 1 )
material/0 = null
[node name="CollisionShape" type="CollisionShape" parent="."]
transform = Transform( 1, 0, 0, 0, -4.37114e-08, -1, 0, 1, -4.37114e-08, 0, 0, 0 )
shape = SubResource( 2 )
[node name="Head" type="Spatial" parent="."]
transform = Transform( 1, 0, 0, 0, 1, 0, 0, 0, 1, 0, 1, 0 )
[node name="Camera" type="Camera" parent="Head"]
keep_aspect = 0
fov = 100.0
far = 1417.7
[node name="TextureRect" type="TextureRect" parent="Head/Camera"]
modulate = Color( 1, 1, 1, 0.345098 )
margin_left = 940.0
margin_top = 520.0
margin_right = 980.0
margin_bottom = 560.0
texture = ExtResource( 2 )
__meta__ = {
"_edit_use_anchors_": false
}
[node name="Reach" type="RayCast" parent="Head/Camera"]
enabled = true
cast_to = Vector3( 0, 0, -5 )
[node name="Hand" type="Spatial" parent="Head"]
transform = Transform( 1, 0, 0, 0, 1, 0, 0, 0, 1, 0.223, -0.18, -0.607 )