-
Notifications
You must be signed in to change notification settings - Fork 1
/
World.tscn
68 lines (51 loc) · 2.51 KB
/
World.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
[gd_scene load_steps=11 format=2]
[ext_resource path="res://Character.gd" type="Script" id=1]
[ext_resource path="res://Plot.gd" type="Script" id=2]
[ext_resource path="res://Barlow-Regular.otf" type="DynamicFontData" id=3]
[sub_resource type="ConvexPolygonShape" id=1]
points = PoolVector3Array( 25, 0, 25, 15, 0, 25, 5, 0, 25, -5, 0, 25, -15, 0, 25, -25, 0, 25, 25, 0, 15, 15, 0, 15, 5, 0, 15, -5, 0, 15, -15, 0, 15, -25, 0, 15, 25, 0, 5, 15, 0, 5, 5, 0, 5, -5, 0, 5, -15, 0, 5, -25, 0, 5, 25, 0, -5, 15, 0, -5, 5, 0, -5, -5, 0, -5, -15, 0, -5, -25, 0, -5, 25, 0, -15, 15, 0, -15, 5, 0, -15, -5, 0, -15, -15, 0, -15, -25, 0, -15, 25, 0, -25, 15, 0, -25, 5, 0, -25, -5, 0, -25, -15, 0, -25, -25, 0, -25 )
[sub_resource type="PlaneMesh" id=2]
size = Vector2( 50, 50 )
subdivide_width = 4
subdivide_depth = 4
[sub_resource type="SpatialMaterial" id=5]
albedo_color = Color( 1, 0.74902, 0.6, 1 )
[sub_resource type="ConvexPolygonShape" id=4]
points = PoolVector3Array( -1, 1, 1, 1, 1, -1, 1, 1, 1, -1, 1, -1, -1, -1, 1, 1, -1, -1, 1, -1, 1, -1, -1, -1, 1, 1, 1, -1, 1, -1, 1, 1, -1, -1, 1, 1, 1, -1, 1, -1, -1, -1, 1, -1, -1, -1, -1, 1, 1, 1, 1, -1, -1, 1, -1, 1, 1, 1, -1, 1, 1, 1, -1, -1, -1, -1, -1, 1, -1, 1, -1, -1 )
[sub_resource type="CubeMesh" id=3]
[sub_resource type="SpatialMaterial" id=6]
albedo_color = Color( 0.184314, 0.180392, 1, 1 )
[sub_resource type="DynamicFont" id=7]
size = 12
font_data = ExtResource( 3 )
[node name="World" type="Spatial"]
[node name="Floor" type="StaticBody" parent="."]
[node name="CollisionShape" type="CollisionShape" parent="Floor"]
shape = SubResource( 1 )
[node name="MeshInstance" type="MeshInstance" parent="Floor"]
mesh = SubResource( 2 )
material/0 = SubResource( 5 )
[node name="Character" type="RigidBody" parent="."]
linear_damp = 2.0
angular_damp = 2.0
script = ExtResource( 1 )
graph = NodePath("../Plot")
[node name="CollisionShape" type="CollisionShape" parent="Character"]
transform = Transform( 1, 0, 0, 0, 1, 0, 0, 0, 1, 0, 1, 0 )
shape = SubResource( 4 )
[node name="MeshInstance" type="MeshInstance" parent="Character"]
transform = Transform( 1, 0, 0, 0, 1, 0, 0, 0, 1, 0, 1, 0 )
mesh = SubResource( 3 )
material/0 = SubResource( 6 )
[node name="Camera" type="Camera" parent="."]
transform = Transform( 1, 0, 0, 0, 0.680734, 0.732531, 0, -0.732531, 0.680734, 0, 6.72085, 5.47631 )
[node name="Plot" type="Panel" parent="."]
anchor_left = 0.05
anchor_top = 0.05
anchor_right = 0.45
anchor_bottom = 0.25
script = ExtResource( 2 )
__meta__ = {
"_edit_use_anchors_": false
}
font = SubResource( 7 )