X-Git-Url: http://git.purplebirdman.com/star-foxy.git/blobdiff_plain/2e08d557a1d708ffd46274822eb003766317163e..aa5570c71a74c44b300ec57dab7d4a4c07b98f72:/player/player.tscn?ds=sidebyside diff --git a/player/player.tscn b/player/player.tscn index 60631c2..7ef0343 100644 --- a/player/player.tscn +++ b/player/player.tscn @@ -1,7 +1,8 @@ -[gd_scene load_steps=8 format=2] +[gd_scene load_steps=9 format=2] [ext_resource path="res://model/arwing_wings.material" type="Material" id=1] [ext_resource path="res://model/arwing_body.material" type="Material" id=2] +[ext_resource path="res://player/player.gd" type="Script" id=3] [sub_resource type="SpatialMaterial" id=1] vertex_color_use_as_albedo = true @@ -52,22 +53,29 @@ surfaces/0 = { } [sub_resource type="BoxShape" id=5] -extents = Vector3( 3.72203, 0.878147, 2.99408 ) +extents = Vector3( 3.72203, 0.878147, 3.13957 ) [node name="arwing" type="KinematicBody"] +script = ExtResource( 3 ) -[node name="body" type="MeshInstance" parent="."] +[node name="mesh" type="Spatial" parent="."] +transform = Transform( -1, 0, -8.74228e-08, 0, 1, 0, 8.74228e-08, 0, -1, 0, 0, 0 ) + +[node name="body" type="MeshInstance" parent="mesh"] mesh = SubResource( 2 ) material/0 = null -[node name="thrust" type="MeshInstance" parent="."] +[node name="thrust" type="MeshInstance" parent="mesh"] mesh = SubResource( 3 ) material/0 = null -[node name="wings" type="MeshInstance" parent="."] +[node name="wings" type="MeshInstance" parent="mesh"] mesh = SubResource( 4 ) material/0 = null [node name="CollisionShape" type="CollisionShape" parent="."] -transform = Transform( 1, 0, 0, 0, 1, 0, 0, 0, 1, 0, 0.371765, 0.63321 ) +transform = Transform( 1, 0, 0, 0, 1, 0, 0, 0, 1, 0, 0.371765, -0.470031 ) shape = SubResource( 5 ) + +[node name="Camera" type="Camera" parent="."] +transform = Transform( 1, 0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 13.3084 )