-
Notifications
You must be signed in to change notification settings - Fork 0
/
main.tscn
74 lines (54 loc) · 2.67 KB
/
main.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
[gd_scene load_steps=11 format=3 uid="uid://be18r7jsab2rt"]
[ext_resource type="Material" uid="uid://d0gmvf62uyhd0" path="res://addons/kenney_prototype_tools/materials/red/material_01.tres" id="1_r0t8i"]
[ext_resource type="PackedScene" uid="uid://b4qvt86p6nbss" path="res://objects/robot/robot.tscn" id="2_tay0j"]
[sub_resource type="ProceduralSkyMaterial" id="ProceduralSkyMaterial_qtibc"]
sky_horizon_color = Color(0.64625, 0.65575, 0.67075, 1)
ground_horizon_color = Color(0.64625, 0.65575, 0.67075, 1)
[sub_resource type="Sky" id="Sky_d7psf"]
sky_material = SubResource("ProceduralSkyMaterial_qtibc")
[sub_resource type="Environment" id="Environment_k7rn6"]
background_mode = 2
sky = SubResource("Sky_d7psf")
tonemap_mode = 2
ssr_enabled = true
ssao_enabled = true
ssil_enabled = true
glow_enabled = true
[sub_resource type="PlaneMesh" id="PlaneMesh_ii2is"]
size = Vector2(10, 10)
[sub_resource type="ConcavePolygonShape3D" id="ConcavePolygonShape3D_vk4kc"]
data = PackedVector3Array(5, 0, 5, -5, 0, 5, 5, 0, -5, -5, 0, 5, -5, 0, -5, 5, 0, -5)
[sub_resource type="PhysicsMaterial" id="PhysicsMaterial_4bgqd"]
friction = 0.74
bounce = 0.46
[sub_resource type="SphereMesh" id="SphereMesh_ks3eb"]
radius = 0.05
height = 0.1
[sub_resource type="SphereShape3D" id="SphereShape3D_c2taj"]
radius = 0.05
[node name="Root" type="Node"]
[node name="Camera3D" type="Camera3D" parent="."]
transform = Transform3D(0.79069, -0.246569, 0.560369, 0, 0.915311, 0.402747, -0.612217, -0.318448, 0.723727, 0.138731, 0.186848, 0.160412)
metadata/_edit_lock_ = true
[node name="WorldEnvironment" type="WorldEnvironment" parent="."]
environment = SubResource("Environment_k7rn6")
[node name="DirectionalLight3D" type="DirectionalLight3D" parent="."]
transform = Transform3D(-0.866025, -0.433013, 0.25, 0, 0.5, 0.866025, -0.5, 0.75, -0.433013, 0, 0, 0)
shadow_enabled = true
metadata/_edit_lock_ = true
[node name="Floor" type="StaticBody3D" parent="."]
metadata/_edit_lock_ = true
[node name="MeshInstance3D" type="MeshInstance3D" parent="Floor"]
material_override = ExtResource("1_r0t8i")
mesh = SubResource("PlaneMesh_ii2is")
[node name="CollisionShape3D" type="CollisionShape3D" parent="Floor"]
shape = SubResource("ConcavePolygonShape3D_vk4kc")
[node name="Robot" parent="." instance=ExtResource("2_tay0j")]
[node name="Ball" type="RigidBody3D" parent="."]
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 0.173842, 0.05, -0.178886)
mass = 0.2
physics_material_override = SubResource("PhysicsMaterial_4bgqd")
[node name="MeshInstance3D" type="MeshInstance3D" parent="Ball"]
mesh = SubResource("SphereMesh_ks3eb")
[node name="CollisionShape3D" type="CollisionShape3D" parent="Ball"]
shape = SubResource("SphereShape3D_c2taj")