-
Notifications
You must be signed in to change notification settings - Fork 1
/
TEST_RAYCASTING.tscn
96 lines (63 loc) · 2.35 KB
/
TEST_RAYCASTING.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
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
[gd_scene load_steps=8 format=2]
[ext_resource path="res://Prefabs/TestObject/RayGenerator.gd" type="Script" id=1]
[sub_resource type="RectangleShape2D" id=1]
custom_solver_bias = 0.0
extents = Vector2( 132.684, 10 )
[sub_resource type="RectangleShape2D" id=2]
custom_solver_bias = 0.0
extents = Vector2( 131, 10 )
[sub_resource type="RectangleShape2D" id=3]
custom_solver_bias = 0.0
extents = Vector2( 90.5335, 10 )
[sub_resource type="RectangleShape2D" id=4]
custom_solver_bias = 0.0
extents = Vector2( 87.638, 10 )
[sub_resource type="RectangleShape2D" id=5]
custom_solver_bias = 0.0
extents = Vector2( 12.392, 10 )
[sub_resource type="RectangleShape2D" id=6]
custom_solver_bias = 0.0
extents = Vector2( 10, 10 )
[node name="TEST_RAYCASTING" type="Node2D" index="0"]
[node name="Collision zones" type="Area2D" parent="." index="0"]
input_pickable = true
gravity_vec = Vector2( 0, 1 )
gravity = 98.0
linear_damp = 0.1
angular_damp = 1.0
audio_bus_override = false
audio_bus_name = "Master"
[node name="CollisionShape2D" type="CollisionShape2D" parent="Collision zones" index="0"]
position = Vector2( 209.501, 44.1054 )
shape = SubResource( 1 )
[node name="CollisionShape2D2" type="CollisionShape2D" parent="Collision zones" index="1"]
position = Vector2( 208, 199 )
shape = SubResource( 2 )
[node name="CollisionShape2D3" type="CollisionShape2D" parent="Collision zones" index="2"]
position = Vector2( 112.28, 50.8157 )
rotation = 1.5708
shape = SubResource( 3 )
_sections_unfolded = [ "Transform" ]
[node name="CollisionShape2D4" type="CollisionShape2D" parent="Collision zones" index="3"]
position = Vector2( 327.036, 116.565 )
rotation = 1.5708
shape = SubResource( 4 )
_sections_unfolded = [ "Transform" ]
[node name="CollisionShape2D5" type="CollisionShape2D" parent="Collision zones" index="4"]
position = Vector2( 277.049, 87.8959 )
rotation = 1.5708
shape = SubResource( 5 )
_sections_unfolded = [ "Transform" ]
[node name="RayGenerator" type="KinematicBody2D" parent="." index="1"]
position = Vector2( 236, 80 )
input_pickable = false
collision_layer = 1
collision_mask = 1
collision/safe_margin = 0.08
script = ExtResource( 1 )
angle = 0
[node name="CollisionShape2D" type="CollisionShape2D" parent="RayGenerator" index="0"]
shape = SubResource( 6 )
disabled = true
_sections_unfolded = [ "Transform" ]
[node name="Container" type="Node2D" parent="." index="2"]