diff --git a/Scenes/Earth.tscn b/Scenes/Earth.tscn index c4441f4..8aa04fb 100644 --- a/Scenes/Earth.tscn +++ b/Scenes/Earth.tscn @@ -1,6 +1,39 @@ -[gd_scene load_steps=2 format=2] +[gd_scene load_steps=7 format=2] [ext_resource path="res://Scripts/Earth.cs" type="Script" id=1] +[ext_resource path="res://Scenes/Player.tscn" type="PackedScene" id=2] + +[sub_resource type="CapsuleShape" id=2] + +[sub_resource type="CapsuleMesh" id=3] + +[sub_resource type="BoxShape" id=4] +extents = Vector3( 10, 1, 10 ) + +[sub_resource type="PlaneMesh" id=1] [node name="Earth" type="Node2D"] script = ExtResource( 1 ) + +[node name="RigidBody" type="RigidBody" parent="."] +transform = Transform( 1, 0, 0, 0, 1, 0, 0, 0, 1, 0, 2.95542, -5.70007 ) + +[node name="CollisionShape" type="CollisionShape" parent="RigidBody"] +shape = SubResource( 2 ) + +[node name="MeshInstance" type="MeshInstance" parent="RigidBody/CollisionShape"] +mesh = SubResource( 3 ) +material/0 = null + +[node name="StaticBody" type="StaticBody" parent="."] +transform = Transform( 1, 0, 0, 0, 1, 0, 0, 0, 1, 0, -1.15694, 0 ) + +[node name="CollisionShape" type="CollisionShape" parent="StaticBody"] +shape = SubResource( 4 ) + +[node name="MeshInstance" type="MeshInstance" parent="StaticBody/CollisionShape"] +transform = Transform( 100, 0, 0, 0, 1, 0, 0, 0, 100, 0, 0, 0 ) +mesh = SubResource( 1 ) +material/0 = null + +[node name="Player" parent="." instance=ExtResource( 2 )] diff --git a/Scenes/Player.tscn b/Scenes/Player.tscn new file mode 100644 index 0000000..eda0694 --- /dev/null +++ b/Scenes/Player.tscn @@ -0,0 +1,6 @@ +[gd_scene format=2] + +[node name="Player" type="Spatial"] + +[node name="Camera" type="Camera" parent="."] +transform = Transform( 1, 0, 0, 0, 0.923579, 0.383409, 0, -0.383409, 0.923579, 0, 1.97079, 1.12824 )