Update flag in Godot

Some tweaks are necessary, don’t know why yet.
This commit is contained in:
Fabien Freling 2018-08-07 14:02:52 +02:00
parent 1ce9621ec6
commit 4cd1b0cab6
8 changed files with 17 additions and 11 deletions

View file

@ -5,21 +5,27 @@
[sub_resource type="BoxShape" id=1]
extents = Vector3( 1, 1, 1 )
extents = Vector3( 0.584547, 2.22627, 0.659734 )
[node name="Scene Root" instance=ExtResource( 1 )]
[node name="Scene Root" index="0" instance=ExtResource( 1 )]
script = ExtResource( 2 )
[node name="Lamp" parent="." index="2"]
[node name="Flag" parent="Pole" index="0"]
transform = Transform( 5, 0, 0, 0, -4.37114e-08, -0.5, 0, 1, -2.18557e-08, 4.02201, 0.453122, 0 )
_sections_unfolded = [ "Transform" ]
[node name="Lamp" parent="." index="1"]
visible = false
[node name="Camera" parent="." index="3"]
[node name="Camera" parent="." index="2"]
editor/display_folded = true
visible = false
[node name="Area" type="Area" parent="." index="4"]
[node name="Area" type="Area" parent="." index="3"]
input_ray_pickable = false
input_capture_on_drag = false
@ -44,6 +50,7 @@ reverb_bus_uniformity = 0.0
[node name="CollisionShape" type="CollisionShape" parent="Area" index="0"]
transform = Transform( 1, 0, 0, 0, 1, 0, 0, 0, 1, 0, 2.2251, 0 )
shape = SubResource( 1 )
disabled = false

View file

@ -47,10 +47,12 @@ _sections_unfolded = [ "Transform" ]
[node name="Player" parent="." index="2" instance=ExtResource( 2 )]
transform = Transform( 0.5, 0, 0, 0, 0.5, 0, 0, 0, 0.5, -2.88637, 2.79728, -2.72332 )
_sections_unfolded = [ "Transform" ]
[node name="Goal" parent="." index="3" instance=ExtResource( 3 )]
transform = Transform( 1, 0, 0, 0, 1, 0, 0, 0, 1, 1, 3, 1 )
transform = Transform( 0.5, 0, 0, 0, 0.5, 0, 0, 0, 0.5, 0.993621, 1.99794, 1.00068 )
_sections_unfolded = [ "Transform" ]
[node name="WorldEnvironment" type="WorldEnvironment" parent="." index="4"]

View file

@ -1,6 +1,6 @@
[gd_resource type="Environment" load_steps=2 format=2]
[sub_resource type="ProceduralSky" id=3]
[sub_resource type="ProceduralSky" id=1]
radiance_size = 4
sky_top_color = Color( 0.0470588, 0.454902, 0.976471, 1 )
@ -23,7 +23,7 @@ texture_size = 2
[resource]
background_mode = 2
background_sky = SubResource( 3 )
background_sky = SubResource( 1 )
background_sky_custom_fov = 0.0
background_color = Color( 0.661575, 0.876165, 0.886719, 1 )
background_energy = 1.0

BIN
models/Flag.material Normal file

Binary file not shown.

BIN
models/Metal.material Normal file

Binary file not shown.

BIN
models/Wood.material Normal file

Binary file not shown.

Binary file not shown.

View file

@ -7,10 +7,7 @@ path="res://.import/flag.glb-0b6fa3c4b5180c1221a26057702dcf53.scn"
[deps]
source_file="res://models/flag.glb"
source_md5="3cc6438fe568d6084cb35c897c4c5d24"
dest_files=[ "res://.import/flag.glb-0b6fa3c4b5180c1221a26057702dcf53.scn" ]
dest_md5="09e413268b71d1c33428af912e6577d4"
[params]