ygdra/entity/player.tscn

40 lines
1.2 KiB
Plaintext

[gd_scene load_steps=4 format=2]
[ext_resource path="res://entity/player.gd" type="Script" id=1]
[sub_resource type="ProceduralSky" id=2]
sky_top_color = Color( 0.878431, 0.92549, 0.972549, 1 )
sky_horizon_color = Color( 0.117647, 0.219608, 0.172549, 1 )
ground_bottom_color = Color( 0.133333, 0.270588, 0.0196078, 1 )
ground_horizon_color = Color( 0.133333, 0.270588, 0.0196078, 1 )
sun_color = Color( 0.811765, 0.686275, 0.109804, 1 )
sun_latitude = 20.0
sun_longitude = 180.0
sun_angle_min = 2.0
[sub_resource type="Environment" id=1]
background_mode = 2
background_sky = SubResource( 2 )
background_color = Color( 0.301961, 0.458824, 0.454902, 1 )
ambient_light_color = Color( 1, 1, 1, 1 )
[node name="Player" type="Spatial"]
transform = Transform( 1, 0, 0, 0, 1, 0, 0, 0, 1, 0, 0.5, 0 )
script = ExtResource( 1 )
[node name="Camera" type="Camera" parent="."]
environment = SubResource( 1 )
current = true
fov = 60.0
size = 2.0
far = 8192.0
[node name="RayCast_Center" type="RayCast" parent="."]
cast_to = Vector3( 0, 0, -8 )
[node name="RayCast_Left" type="RayCast" parent="."]
cast_to = Vector3( -4.25, 0, -6.75 )
[node name="RayCast_Right" type="RayCast" parent="."]
cast_to = Vector3( 4.25, 0, -6.75 )