113 lines
3.3 KiB
Text
113 lines
3.3 KiB
Text
[gd_scene load_steps=6 format=2]
|
|
|
|
[ext_resource path="res://game_scene/Game/Character/Character.gd" type="Script" id=1]
|
|
[ext_resource path="res://game_scene/Game/Character/infos_spatial.gd" type="Script" id=2]
|
|
[ext_resource path="res://game_scene/character_infos_billboard.tscn" type="PackedScene" id=3]
|
|
[ext_resource path="res://game_scene/suzanne/suzanne.tscn" type="PackedScene" id=4]
|
|
|
|
[sub_resource type="CapsuleShape" id=1]
|
|
|
|
radius = 1.0
|
|
height = 1.0
|
|
|
|
[node name="character" type="KinematicBody" index="0"]
|
|
|
|
transform = Transform( 0.1, 0, 0, 0, 0.1, 0, 0, 0, 0.1, 0, 0, 0 )
|
|
input_ray_pickable = false
|
|
input_capture_on_drag = false
|
|
collision_layer = 1
|
|
collision_mask = 1
|
|
axis_lock_linear_x = false
|
|
axis_lock_linear_y = false
|
|
axis_lock_linear_z = false
|
|
axis_lock_angular_x = false
|
|
axis_lock_angular_y = false
|
|
axis_lock_angular_z = false
|
|
collision/safe_margin = 0.001
|
|
script = ExtResource( 1 )
|
|
_sections_unfolded = [ "Axis Lock", "Transform", "collision" ]
|
|
|
|
[node name="infos_spatial" type="Spatial" parent="." index="0"]
|
|
|
|
transform = Transform( 1, 0, 0, 0, 1, 0, -9.56715e-015, 0, 1, -4.65661e-010, 2.47932, -0.0688725 )
|
|
script = ExtResource( 2 )
|
|
|
|
[node name="character_infos_billboard" parent="infos_spatial" index="0" instance=ExtResource( 3 )]
|
|
|
|
visible = false
|
|
mouse_filter = 2
|
|
mouse_default_cursor_shape = 2
|
|
_sections_unfolded = [ "Mouse", "Rect", "Size Flags", "Visibility" ]
|
|
|
|
[node name="camera_rotation_helper" type="Spatial" parent="." index="1"]
|
|
|
|
transform = Transform( 1, 0, 0, 0, 1, 0, 0, 0, 1, 0, -0.0730682, 0 )
|
|
|
|
[node name="camera" type="Camera" parent="camera_rotation_helper" index="0"]
|
|
|
|
transform = Transform( 1, 0, 0, 0, 0.981951, 0, 0, 0, 1.05023, 0, 2.5, 3 )
|
|
keep_aspect = 1
|
|
cull_mask = 1048575
|
|
environment = null
|
|
h_offset = 0.0
|
|
v_offset = 0.0
|
|
doppler_tracking = 0
|
|
projection = 0
|
|
current = false
|
|
fov = 75.0
|
|
size = 1.0
|
|
near = 0.05
|
|
far = 10000.0
|
|
_sections_unfolded = [ "Transform" ]
|
|
|
|
[node name="face_camera" type="Camera" parent="camera_rotation_helper" index="1"]
|
|
|
|
transform = Transform( -1, 0, -8.74228e-008, 0, 1, 0, 8.74228e-008, 0, -1, 0, 1.91278, -2.96733 )
|
|
keep_aspect = 1
|
|
cull_mask = 1048575
|
|
environment = null
|
|
h_offset = 0.0
|
|
v_offset = 0.0
|
|
doppler_tracking = 0
|
|
projection = 0
|
|
current = false
|
|
fov = 70.0
|
|
size = 2.0
|
|
near = 0.05
|
|
far = 10000.0
|
|
_sections_unfolded = [ "Transform" ]
|
|
|
|
[node name="suzanne" parent="." index="2" instance=ExtResource( 4 )]
|
|
|
|
transform = Transform( -1, 0, -8.74228e-008, 0, 1, 0, 8.74228e-008, 0, -1, 0, 1.2572, -0.180126 )
|
|
|
|
[node name="flashlight" type="SpotLight" parent="suzanne" index="1"]
|
|
|
|
transform = Transform( -0.718303, -4.51344e-010, 1.04295e-007, 0, 1.19299, 0.0148616, -6.27955e-008, 0.00516275, -1.19299, -0.020946, 0.599374, 0.0648584 )
|
|
layers = 1
|
|
light_color = Color( 1, 1, 1, 1 )
|
|
light_energy = 2.0
|
|
light_indirect_energy = 2.0
|
|
light_negative = false
|
|
light_specular = 0.5
|
|
light_bake_mode = 1
|
|
light_cull_mask = -1
|
|
shadow_enabled = true
|
|
shadow_color = Color( 0, 0, 0, 1 )
|
|
shadow_bias = 0.15
|
|
shadow_contact = 0.0
|
|
shadow_reverse_cull_face = true
|
|
editor_only = false
|
|
spot_range = 9.90764
|
|
spot_attenuation = 1.0
|
|
spot_angle = 22.2473
|
|
spot_angle_attenuation = 1.0
|
|
_sections_unfolded = [ "Light", "Shadow" ]
|
|
|
|
[node name="collision_shape" type="CollisionShape" parent="." index="3"]
|
|
|
|
transform = Transform( 0.430205, 0, 0, 0, 0.906621, 0, 0, 0, 0.294585, 0.00823072, 0.942657, -0.356263 )
|
|
shape = SubResource( 1 )
|
|
disabled = false
|
|
|
|
|