diff --git a/assets/models/bipedal_mech/textures/Material_emissive.png b/assets/models/bipedal_mech/textures/Material_emissive.png index 3d0fe47..2a6a9bd 100644 --- a/assets/models/bipedal_mech/textures/Material_emissive.png +++ b/assets/models/bipedal_mech/textures/Material_emissive.png @@ -1,3 +1,3 @@ version https://git-lfs.github.com/spec/v1 -oid sha256:4c994bc95b35a86899f5fb6608885c5d20c39dc4d6f5704cd7e45516a5001f50 -size 18724 +oid sha256:62436262f69255ccfe52267878dc5f196bc83c85537c051b5b83060943dafd08 +size 18853 diff --git a/assets/textures/metal_plate_1k/metal_plate.tres b/assets/textures/metal_plate_1k/metal_plate.tres index 89c2ae3..5aac882 100644 --- a/assets/textures/metal_plate_1k/metal_plate.tres +++ b/assets/textures/metal_plate_1k/metal_plate.tres @@ -13,7 +13,7 @@ render_priority = 0 shader = ExtResource("5_0bnei") shader_parameter/color_low = Color(0, 0, 0, 1) shader_parameter/color_hi = Color(1, 1, 1, 1) -shader_parameter/threshold = 0.345 +shader_parameter/threshold = 0.384 shader_parameter/contrast = 0.795 shader_parameter/offset = 0.297 diff --git a/project.godot b/project.godot index a652938..d1128cd 100644 --- a/project.godot +++ b/project.godot @@ -109,3 +109,8 @@ weapon_alt={ 3d_physics/layer_2="Shadow" 3d_physics/layer_3="Mechs" 3d_physics/layer_4="NPC Vision" + +[rendering] + +renderer/rendering_method="gl_compatibility" +renderer/rendering_method.mobile="gl_compatibility" diff --git a/src/main.tscn b/src/main.tscn index 229d645..0df18bb 100644 --- a/src/main.tscn +++ b/src/main.tscn @@ -151,22 +151,6 @@ tracks/0/keys = { "values": [0.0, 0.4, 0.0] } -[sub_resource type="Animation" id="Animation_hc6tj"] -resource_name = "destructure_alert" -length = 5.0 -tracks/0/type = "value" -tracks/0/imported = false -tracks/0/enabled = true -tracks/0/path = NodePath("UI/OverlayEffects/DestructureLabel:visible") -tracks/0/interp = 1 -tracks/0/loop_wrap = true -tracks/0/keys = { -"times": PackedFloat32Array(0, 0.5, 1, 1.5, 2, 2.5, 3, 5), -"transitions": PackedFloat32Array(1, 1, 1, 1, 1, 1, 1, 1), -"update": 1, -"values": [true, false, true, false, true, false, true, false] -} - [sub_resource type="Animation" id="Animation_gqvyn"] resource_name = "death_overlay" length = 2.0 @@ -207,6 +191,22 @@ tracks/2/keys = { "values": [true, false, true, false, true, false] } +[sub_resource type="Animation" id="Animation_hc6tj"] +resource_name = "destructure_alert" +length = 5.0 +tracks/0/type = "value" +tracks/0/imported = false +tracks/0/enabled = true +tracks/0/path = NodePath("UI/OverlayEffects/DestructureLabel:visible") +tracks/0/interp = 1 +tracks/0/loop_wrap = true +tracks/0/keys = { +"times": PackedFloat32Array(0, 0.5, 1, 1.5, 2, 2.5, 3, 5), +"transitions": PackedFloat32Array(1, 1, 1, 1, 1, 1, 1, 1), +"update": 1, +"values": [true, false, true, false, true, false, true, false] +} + [sub_resource type="AnimationLibrary" id="AnimationLibrary_qjn7a"] _data = { "RESET": SubResource("Animation_g25ja"), diff --git a/src/maps/arena_map/arena_map.gd b/src/maps/arena_map/arena_map.gd index 95d439b..9aba4f2 100644 --- a/src/maps/arena_map/arena_map.gd +++ b/src/maps/arena_map/arena_map.gd @@ -1,5 +1,25 @@ extends Node3D +@onready var world_environment: WorldEnvironment = $Environment/WorldEnvironment + func _ready() -> void: GameState.game_map = self + call_deferred("_init_noise") + + +func _init_noise() -> void: + var noise: FastNoiseLite = FastNoiseLite.new() + noise.noise_type = FastNoiseLite.TYPE_SIMPLEX_SMOOTH + noise.seed = 2 + noise.frequency = 0.1278 + noise.fractal_type = FastNoiseLite.FRACTAL_PING_PONG + var tex: NoiseTexture3D = NoiseTexture3D.new() + tex.width = 32 + tex.height = 32 + tex.depth = 128 + tex.noise = noise + await tex.changed + + var sky_shader: ShaderMaterial = world_environment.environment.sky.sky_material + sky_shader.set_shader_parameter("base_noise", tex) diff --git a/src/maps/arena_map/arena_map.tscn b/src/maps/arena_map/arena_map.tscn index 86178a2..b76ce76 100644 --- a/src/maps/arena_map/arena_map.tscn +++ b/src/maps/arena_map/arena_map.tscn @@ -1,39 +1,27 @@ -[gd_scene load_steps=29 format=3 uid="uid://drbiyuustse8b"] +[gd_scene load_steps=27 format=3 uid="uid://drbiyuustse8b"] [ext_resource type="Script" path="res://src/maps/arena_map/arena_map.gd" id="1_5ols7"] [ext_resource type="Material" uid="uid://7a1uvst7oef2" path="res://assets/textures/metal_plate_1k/metal_plate.tres" id="2_ewgwm"] [ext_resource type="PackedScene" uid="uid://c1tct5fwnv6x3" path="res://src/player/player_manager.tscn" id="2_n8j0g"] -[ext_resource type="Shader" path="res://src/shaders/sunny_sky.gdshader" id="2_x74tl"] +[ext_resource type="Shader" path="res://src/shaders/sunny_sky_compat.gdshader" id="3_4k84e"] [ext_resource type="Material" uid="uid://dsc0g1qafw80e" path="res://src/maps/arena_map/metal_09.tres" id="3_jqqt6"] -[sub_resource type="FastNoiseLite" id="FastNoiseLite_6sfce"] -seed = 2 -frequency = 0.1278 -fractal_type = 3 -domain_warp_type = 1 - -[sub_resource type="NoiseTexture3D" id="NoiseTexture3D_7f12p"] -width = 32 -height = 32 -depth = 128 -noise = SubResource("FastNoiseLite_6sfce") - -[sub_resource type="ShaderMaterial" id="ShaderMaterial_jkl68"] -shader = ExtResource("2_x74tl") +[sub_resource type="ShaderMaterial" id="ShaderMaterial_kaegs"] +shader = ExtResource("3_4k84e") shader_parameter/sun_color = Color(1, 1, 1, 1) shader_parameter/sky_color = Color(0, 0, 0, 1) -shader_parameter/threshold = 0.407 -shader_parameter/speed = 0.002 +shader_parameter/threshold = 0.322 +shader_parameter/speed = 0.02 shader_parameter/rotation = 4.0 -shader_parameter/base_noise = SubResource("NoiseTexture3D_7f12p") [sub_resource type="Sky" id="Sky_7lp20"] -sky_material = SubResource("ShaderMaterial_jkl68") +sky_material = SubResource("ShaderMaterial_kaegs") [sub_resource type="Environment" id="Environment_0cwcw"] background_mode = 2 +background_energy_multiplier = 0.0 sky = SubResource("Sky_7lp20") -glow_enabled = true +reflected_light_source = 2 [sub_resource type="NavigationMesh" id="NavigationMesh_ltpuv"] vertices = PackedVector3Array(10.75, -4.5, -68.5, 5, -4.5, -69.25, -5, -4.5, -69.25, -9.25, -4.5, -11.25, -8.75, -4.5, -10, 8.75, -4.5, -10, -9.25, -4.5, -11.25, 8.75, -4.5, -10, 9.25, -4.5, -11.25, 10.75, -4.5, -68.5, -5, -4.5, -69.25, -10.75, -4.5, -68.5, 9.25, -4.5, -11.25, 10.25, -4.5, -11.25, 10.75, -4.5, -68.5, -10.75, -4.5, -68.5, -10.25, -4.5, -11.25, -9.25, -4.5, -11.25, -15.25, -4.5, -15.25, -10.5, -4.5, -11.25, -10.25, -4.5, -11.25, -15.25, -4.5, -16.5, -15.25, -4.5, -16.5, -10.25, -4.5, -11.25, -10.75, -4.5, -68.5, -15.5, -4.5, -67.5, 10.25, -4.5, -11.25, 10.5, -4.5, -11.25, 15.25, -4.5, -15.25, 15.25, -4.5, -16.5, 15.25, -4.5, -16.5, 15.5, -4.5, -67.5, 10.75, -4.5, -68.5, 10.25, -4.5, -11.25, -15.5, -4.5, -67.5, -20.25, -4.5, -66.5, -26, -4.5, -64.25, -25.25, -4.5, -26.25, -24.5, -4.5, -24.75, -15.25, -4.5, -16.5, 26, -4.5, -64.25, 20.25, -4.5, -66.5, 15.5, -4.5, -67.5, 15.25, -4.5, -16.5, 24.5, -4.5, -24.75, 25.25, -4.5, -26.25, -31.75, -4.5, -61.5, -25.25, -4.5, -26.25, -26, -4.5, -64.25, 38.75, -4.5, -57.75, 33.75, -4.5, -60.75, 26, -4.5, -64.25, 61.5, -4.5, -31.75, 57.25, -4.5, -39.5, 53.5, -4.5, -44.5, 53.5, -4.5, -44.5, 47, -4.5, -51.25, 38.75, -4.5, -57.75, 26, -4.5, -64.25, 25.25, -4.5, -26.25, 61.5, -4.5, -31.75, -57.75, -4.5, -38.75, -60.75, -4.5, -33.75, -64.25, -4.5, -26, -31.75, -4.5, -61.5, -39.5, -4.5, -57.25, -44.5, -4.5, -53.5, -25.25, -4.5, -26.25, -44.5, -4.5, -53.5, -51.25, -4.5, -47, -57.75, -4.5, -38.75, -64.25, -4.5, -26, -24.5, -4.5, -24.75, -25.25, -4.5, -26.25, 10, 0.5, -48.25, 4.75, 0.5, -49.25, -4.75, 0.5, -49.25, -8.75, 0.5, -10, 8.75, 0.5, -10, 8.75, 0.5, -10.75, -9.25, 0.5, -11.25, -10, 0.5, -48.25, -10, 0.5, -11.25, -9.25, 0.5, -11.25, -9.25, 0.5, -11.25, 8.75, 0.5, -10.75, 10, 0.5, -11.25, 10, 0.5, -48.25, -4.75, 0.5, -49.25, -10, 0.5, -48.25, -11.75, 0.5, -11.75, -10.75, 0.5, -11.25, -10, 0.5, -11.25, -11.75, 0.5, -13, -11.75, 0.5, -13, -10, 0.5, -11.25, -10, 0.5, -48.25, -12, 0.5, -47.75, 10, 0.5, -11.25, 10.75, 0.5, -11.25, 11.75, 0.5, -11.75, 11.75, 0.5, -13, 11.75, 0.5, -13, 12, 0.5, -47.75, 10, 0.5, -48.25, 10, 0.5, -11.25, -12, 0.5, -47.75, -14.75, 0.5, -47.25, -19.25, 0.5, -45.5, -18.25, 0.5, -19.25, -17.75, 0.5, -18, -11.75, 0.5, -13, 19.25, 0.5, -45.5, 14.75, 0.5, -47.25, 12, 0.5, -47.75, 11.75, 0.5, -13, 17.75, 0.5, -18, 18.25, 0.5, -19.25, -24, 0.5, -43, -18.25, 0.5, -19.25, -19.25, 0.5, -45.5, 43, 0.5, -24, 41.5, 0.5, -27, 38.25, 0.5, -31.5, 38.25, 0.5, -31.5, 33.25, 0.5, -36.75, 27, 0.5, -41.5, 19.25, 0.5, -45.5, 18.25, 0.5, -19.25, 43, 0.5, -24, -24, 0.5, -43, -27, 0.5, -41.5, -31.5, 0.5, -38.25, -18.25, 0.5, -19.25, -31.5, 0.5, -38.25, -36.75, 0.5, -33.25, -41.5, 0.5, -27, -45.5, 0.5, -19.25, -17.75, 0.5, -18, -18.25, 0.5, -19.25, 24.5, -4.5, -24.75, 64.25, -4.5, -26, 61.5, -4.5, -31.75, 25.25, -4.5, -26.25, -64.25, -4.5, -26, -66.5, -4.5, -20.25, -67.5, -4.5, -15.5, -15.25, -4.5, -15.25, -15.25, -4.5, -16.5, -24.5, -4.5, -24.75, 67.5, -4.5, -15.5, 66.5, -4.5, -20.25, 64.25, -4.5, -26, 24.5, -4.5, -24.75, 15.25, -4.5, -16.5, 15.25, -4.5, -15.25, 17.75, 0.5, -18, 45.5, 0.5, -19.25, 43, 0.5, -24, 18.25, 0.5, -19.25, -45.5, 0.5, -19.25, -47.25, 0.5, -14.75, -47.75, 0.5, -12, -11.75, 0.5, -11.75, -11.75, 0.5, -13, -17.75, 0.5, -18, 47.75, 0.5, -12, 47.25, 0.5, -14.75, 45.5, 0.5, -19.25, 17.75, 0.5, -18, 11.75, 0.5, -13, 11.75, 0.5, -11.75, -11.25, -4.5, -10.25, -10.5, -4.5, -11.25, -15.25, -4.5, -15.25, -67.5, -4.5, -15.5, -68.5, -4.5, -10.75, 15.25, -4.5, -15.25, 10.5, -4.5, -11.25, 11.25, -4.5, -10.25, 68.5, -4.5, -10.75, 67.5, -4.5, -15.5, -11.25, 0.5, -10, -10.75, 0.5, -11.25, -11.75, 0.5, -11.75, -47.75, 0.5, -12, -48.25, 0.5, -10, 11.75, 0.5, -11.75, 10.75, 0.5, -11.25, 11.25, 0.5, -10, 48.25, 0.5, -10, 47.75, 0.5, -12, -68.5, -4.5, -10.75, -69.25, -4.5, -5, -69.25, -4.5, 5, -11.25, -4.5, 9.25, -10, -4.5, 8.75, -10, -4.5, -8.75, -11.25, -4.5, 9.25, -10, -4.5, -8.75, -11.25, -4.5, -9.25, -68.5, -4.5, -10.75, -69.25, -4.5, 5, -68.5, -4.5, 10.75, -11.25, -4.5, -9.25, -11.25, -4.5, -10.25, -68.5, -4.5, -10.75, -68.5, -4.5, 10.75, -11.25, -4.5, 10.25, -11.25, -4.5, 9.25, 68.5, -4.5, 10.75, 69.25, -4.5, 5, 69.25, -4.5, -5, 11.25, -4.5, -9.25, 10, -4.5, -8.75, 10, -4.5, 8.75, 11.25, -4.5, -9.25, 10, -4.5, 8.75, 11.25, -4.5, 9.25, 68.5, -4.5, 10.75, 69.25, -4.5, -5, 68.5, -4.5, -10.75, 68.5, -4.5, -10.75, 11.25, -4.5, -10.25, 11.25, -4.5, -9.25, 11.25, -4.5, 9.25, 11.25, -4.5, 10.25, 68.5, -4.5, 10.75, -48.25, 0.5, -10, -49.25, 0.5, -4.75, -49.25, 0.5, 4.75, -11.25, 0.5, 9.25, -10, 0.5, 8.75, -10, 0.5, -8.75, -11.25, 0.5, 9.25, -10, 0.5, -8.75, -11.25, 0.5, -9.25, -48.25, 0.5, -10, -49.25, 0.5, 4.75, -48.25, 0.5, 10, -11.25, 0.5, -9.25, -11.25, 0.5, -10, -48.25, 0.5, -10, -48.25, 0.5, 10, -11.25, 0.5, 10, -11.25, 0.5, 9.25, -10, -4.5, -8.75, -10, -4.5, 8.75, -9.25, -4.5, 8.75, -9.25, -4.5, -8.75, 8.75, -4.5, 9.25, 10, -4.5, 8.75, 10, -4.5, -8.75, 8.75, -4.5, -9.25, -9.25, -4.5, -8.75, -9.25, -4.5, 8.75, -8.75, -4.5, 10, 8.75, -4.5, 10, 8.75, -4.5, 9.25, -9.25, -4.5, 8.75, 8.75, -4.5, -9.25, 8.75, -4.5, -10, -8.75, -4.5, -10, -9.25, -4.5, -8.75, -10, 0.5, -8.75, -10, 0.5, 8.75, -9.25, 0.5, 8.75, -9.25, 0.5, -8.75, 8.75, 0.5, 9.25, 10, 0.5, 8.75, 10, 0.5, -8.75, 8.75, 0.5, -9.25, -9.25, 0.5, -8.75, -9.25, 0.5, 8.75, -8.75, 0.5, 10, 8.75, 0.5, 10, 8.75, 0.5, 9.25, -9.25, 0.5, 8.75, 8.75, 0.5, -9.25, 8.75, 0.5, -10, -8.75, 0.5, -10, -9.25, 0.5, -8.75, 48.25, 0.5, 10, 49.25, 0.5, 4.75, 49.25, 0.5, -4.75, 10, 0.5, -8.75, 10, 0.5, 8.75, 10.75, 0.5, 8.75, 10.75, 0.5, -8.75, 11.25, 0.5, 10, 48.25, 0.5, 10, 49.25, 0.5, -4.75, 48.25, 0.5, -10, 11.25, 0.5, -10, 10.75, 0.5, 8.75, 11.25, 0.5, -10, 10.75, 0.5, -8.75, 10.75, 0.5, 8.75, -11.75, 0.5, 11.75, -10.75, 0.5, 11.25, -11.25, 0.5, 10, -48.25, 0.5, 10, -47.75, 0.5, 12, -10.75, -4.5, 68.5, -5, -4.5, 69.25, 5, -4.5, 69.25, 9.25, -4.5, 11.25, 8.75, -4.5, 10, -8.75, -4.5, 10, 9.25, -4.5, 11.25, -8.75, -4.5, 10, -9.25, -4.5, 11.25, -10.75, -4.5, 68.5, 5, -4.5, 69.25, 10.75, -4.5, 68.5, -9.25, -4.5, 11.25, -10.25, -4.5, 11.25, -10.75, -4.5, 68.5, 10.75, -4.5, 68.5, 10.25, -4.5, 11.25, 9.25, -4.5, 11.25, -10, 0.5, 48.25, -4.75, 0.5, 49.25, 4.75, 0.5, 49.25, 8.75, 0.5, 10.75, 8.75, 0.5, 10, -8.75, 0.5, 10, -9.25, 0.5, 11.25, -9.25, 0.5, 11.25, -10, 0.5, 11.25, -10, 0.5, 48.25, 10, 0.5, 11.25, 8.75, 0.5, 10.75, -9.25, 0.5, 11.25, -10, 0.5, 48.25, 4.75, 0.5, 49.25, 10, 0.5, 48.25, 11.25, 0.5, 10, 11.25, 0.5, 10.75, 11.75, 0.5, 11.75, 13, 0.5, 11.75, 13, 0.5, 11.75, 47.75, 0.5, 12, 48.25, 0.5, 10, 11.25, 0.5, 10, -15.25, -4.5, 15.25, -10.5, -4.5, 11.25, -11.25, -4.5, 10.25, -68.5, -4.5, 10.75, -67.5, -4.5, 15.5, 11.25, -4.5, 10.25, 11.25, -4.5, 10.5, 15.25, -4.5, 15.25, 16.5, -4.5, 15.25, 16.5, -4.5, 15.25, 67.5, -4.5, 15.5, 68.5, -4.5, 10.75, 11.25, -4.5, 10.25, 15.25, -4.5, 15.25, 11.25, -4.5, 10.5, 10.25, -4.5, 11.25, 10.75, -4.5, 68.5, 15.5, -4.5, 67.5, 11.75, 0.5, 11.75, 11.25, 0.5, 10.75, 10, 0.5, 11.25, 10, 0.5, 48.25, 12, 0.5, 47.75, -10, 0.5, 11.25, -10.75, 0.5, 11.25, -11.75, 0.5, 11.75, -11.75, 0.5, 13, -11.75, 0.5, 13, -12, 0.5, 47.75, -10, 0.5, 48.25, -10, 0.5, 11.25, -10.25, -4.5, 11.25, -10.5, -4.5, 11.25, -15.25, -4.5, 15.25, -15.25, -4.5, 16.5, -15.25, -4.5, 16.5, -15.5, -4.5, 67.5, -10.75, -4.5, 68.5, -10.25, -4.5, 11.25, -47.75, 0.5, 12, -47.25, 0.5, 14.75, -45.5, 0.5, 19.25, -17.75, 0.5, 18, -11.75, 0.5, 13, -11.75, 0.5, 11.75, 12, 0.5, 47.75, 14.75, 0.5, 47.25, 19.25, 0.5, 45.5, 18, 0.5, 17.75, 13, 0.5, 11.75, 11.75, 0.5, 11.75, 45.5, 0.5, 19.25, 47.25, 0.5, 14.75, 47.75, 0.5, 12, 13, 0.5, 11.75, 18, 0.5, 17.75, 19.25, 0.5, 18.25, -19.25, 0.5, 45.5, -14.75, 0.5, 47.25, -12, 0.5, 47.75, -11.75, 0.5, 13, -17.75, 0.5, 18, -18.25, 0.5, 19.25, -67.5, -4.5, 15.5, -66.5, -4.5, 20.25, -64.25, -4.5, 26, -24.5, -4.5, 24.75, -15.25, -4.5, 16.5, -15.25, -4.5, 15.25, 15.5, -4.5, 67.5, 20.25, -4.5, 66.5, 26, -4.5, 64.25, 24.75, -4.5, 24.5, 16.5, -4.5, 15.25, 15.25, -4.5, 15.25, 64.25, -4.5, 26, 66.5, -4.5, 20.25, 67.5, -4.5, 15.5, 16.5, -4.5, 15.25, 24.75, -4.5, 24.5, 26.25, -4.5, 25.25, -26, -4.5, 64.25, -20.25, -4.5, 66.5, -15.5, -4.5, 67.5, -15.25, -4.5, 16.5, -24.5, -4.5, 24.75, -25.25, -4.5, 26.25, 38.25, 0.5, 31.5, 41.5, 0.5, 27, 43, 0.5, 24, 19.25, 0.5, 18.25, 27, 0.5, 41.5, 33.25, 0.5, 36.75, 38.25, 0.5, 31.5, 19.25, 0.5, 18.25, 18, 0.5, 17.75, 19.25, 0.5, 45.5, -43, 0.5, 24, -18.25, 0.5, 19.25, -17.75, 0.5, 18, -45.5, 0.5, 19.25, 43, 0.5, 24, 45.5, 0.5, 19.25, 19.25, 0.5, 18.25, -43, 0.5, 24, -41.5, 0.5, 27, -38.25, 0.5, 31.5, -38.25, 0.5, 31.5, -33.25, 0.5, 36.75, -27, 0.5, 41.5, -19.25, 0.5, 45.5, -18.25, 0.5, 19.25, -43, 0.5, 24, 26, -4.5, 64.25, 33.75, -4.5, 60.75, 38.75, -4.5, 57.75, 53.5, -4.5, 44.5, 57.25, -4.5, 39.5, 61.5, -4.5, 31.75, 26.25, -4.5, 25.25, 38.75, -4.5, 57.75, 47, -4.5, 51.25, 53.5, -4.5, 44.5, 26.25, -4.5, 25.25, 24.75, -4.5, 24.5, 26, -4.5, 64.25, -61.5, -4.5, 31.75, -25.25, -4.5, 26.25, -24.5, -4.5, 24.75, -64.25, -4.5, 26, 61.5, -4.5, 31.75, 64.25, -4.5, 26, 26.25, -4.5, 25.25, -38.75, -4.5, 57.75, -33.75, -4.5, 60.75, -26, -4.5, 64.25, -61.5, -4.5, 31.75, -57.25, -4.5, 39.5, -53.5, -4.5, 44.5, -53.5, -4.5, 44.5, -47, -4.5, 51.25, -38.75, -4.5, 57.75, -26, -4.5, 64.25, -25.25, -4.5, 26.25, -61.5, -4.5, 31.75) @@ -92,35 +80,11 @@ plane = Plane(0, -1, 0, 0) [sub_resource type="Animation" id="Animation_48do4"] length = 0.001 -tracks/0/type = "value" -tracks/0/imported = false -tracks/0/enabled = true -tracks/0/path = NodePath("Environment/LightAxis:rotation") -tracks/0/interp = 1 -tracks/0/loop_wrap = true -tracks/0/keys = { -"times": PackedFloat32Array(0), -"transitions": PackedFloat32Array(1), -"update": 0, -"values": [Vector3(0, 0, 0)] -} [sub_resource type="Animation" id="Animation_0hul6"] resource_name = "light_cycle" length = 4.0 loop_mode = 1 -tracks/0/type = "value" -tracks/0/imported = false -tracks/0/enabled = true -tracks/0/path = NodePath("Environment/LightAxis:rotation") -tracks/0/interp = 1 -tracks/0/loop_wrap = true -tracks/0/keys = { -"times": PackedFloat32Array(0, 4), -"transitions": PackedFloat32Array(1, 1), -"update": 0, -"values": [Vector3(0, 0, 0), Vector3(0, 6.28319, 0)] -} [sub_resource type="AnimationLibrary" id="AnimationLibrary_h554d"] _data = { @@ -138,19 +102,9 @@ script = ExtResource("1_5ols7") [node name="WorldEnvironment" type="WorldEnvironment" parent="Environment"] environment = SubResource("Environment_0cwcw") -[node name="LightAxis" type="Node3D" parent="Environment"] - -[node name="OmniLight3D" type="OmniLight3D" parent="Environment/LightAxis"] -transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 20, -4, 0) -light_energy = 16.0 -light_size = 1.0 -light_specular = 10.0 -shadow_enabled = true -omni_range = 15.0 - [node name="DirectionalLight3D" type="DirectionalLight3D" parent="Environment"] transform = Transform3D(1, 0, 0, 0, -4.37114e-08, 1, 0, -1, -4.37114e-08, 0, 10, 0) -light_energy = 10.006 +light_energy = 7.993 shadow_enabled = true [node name="WorldGeometry" type="NavigationRegion3D" parent="."] diff --git a/src/npc/mech_character/mech_character.tscn b/src/npc/mech_character/mech_character.tscn index 118f9d4..055349b 100644 --- a/src/npc/mech_character/mech_character.tscn +++ b/src/npc/mech_character/mech_character.tscn @@ -21,7 +21,6 @@ transform = Transform3D(0.15, 0, 0, 0, 0.15, 0, 0, 0, 0.15, 0, 0, -0.05) [node name="Skeleton3D" parent="Mesh/Mech/Sketchfab_model/bed584e06fe94e71a7ac484cee9f0a16_fbx/Object_2/RootNode/Armature/Object_5" index="0"] bones/1/position = Vector3(-1.16428e-18, -0.00652992, 6.46847) -bones/1/rotation = Quaternion(0.707107, 0, 0, 0.707107) bones/3/rotation = Quaternion(0.656238, 0.675607, 0.234226, 0.240924) bones/4/rotation = Quaternion(0.697261, 0.0564221, 0.0720531, 0.710951) bones/5/rotation = Quaternion(-0.619035, -0.0014507, -0.100998, 0.778841) @@ -35,11 +34,8 @@ bones/33/rotation = Quaternion(-0.541887, -0.00996412, -0.107438, 0.833496) bones/35/rotation = Quaternion(-0.629369, 0.00357528, -0.102356, 0.770328) bones/41/rotation = Quaternion(-0.0147555, 0.935574, 0.352617, 0.0120505) bones/49/rotation = Quaternion(-8.88618e-05, 6.57829e-24, -4.94964e-31, 1) -bones/50/rotation = Quaternion(0.80296, 2.84212e-07, 3.82883e-07, 0.596033) bones/51/rotation = Quaternion(0.595806, -0.000239682, 0.000322647, 0.803128) bones/55/rotation = Quaternion(0.595806, 0.000238917, -0.000322078, 0.803128) -bones/62/rotation = Quaternion(-0.000385918, 2.26111e-14, -0.000401128, 1) -bones/66/rotation = Quaternion(-0.000385918, -2.26111e-14, 0.000401128, 1) bones/74/rotation = Quaternion(-0.655396, 0.674731, 0.236597, -0.243341) bones/75/rotation = Quaternion(0.69744, -0.0564108, -0.072073, 0.710774) bones/76/rotation = Quaternion(-0.619187, 0.00144857, 0.101021, 0.778717) @@ -58,52 +54,52 @@ bones/126/position = Vector3(-3.16409, -0.228638, 0.391794) bones/126/rotation = Quaternion(0.993229, 0.00676917, -0.0811635, -0.0828376) [node name="Plane_009_Material_0" parent="Mesh/Mech/Sketchfab_model/bed584e06fe94e71a7ac484cee9f0a16_fbx/Object_2/RootNode/Armature/Object_5/Skeleton3D" index="0"] -transform = Transform3D(1, 1.92225e-05, -2.86549e-05, -1.94311e-05, 0.99999, -0.0046598, 2.84314e-05, 0.00465974, 0.999989, 0.000245333, 0.0184755, -0.0101423) +transform = Transform3D(1, 1.91331e-05, -2.89977e-05, -1.9297e-05, 0.99999, -0.00465935, 2.89455e-05, 0.00465932, 0.999989, 0.000243664, 0.0184716, -0.0101423) [node name="Plane_012_Material_0" parent="Mesh/Mech/Sketchfab_model/bed584e06fe94e71a7ac484cee9f0a16_fbx/Object_2/RootNode/Armature/Object_5/Skeleton3D" index="1"] -transform = Transform3D(1, 1.41114e-05, -6.70552e-07, -1.42306e-05, 0.999989, -0.00463444, 4.76837e-07, 0.00463444, 0.999989, 0.000227928, 0.0184641, -0.010047) +transform = Transform3D(1, 1.36495e-05, -5.88596e-07, -1.37389e-05, 0.999989, -0.00463316, 5.96046e-07, 0.00463316, 0.999989, 0.000226021, 0.0184583, -0.0100445) [node name="Cube_016_Material_0" parent="Mesh/Mech/Sketchfab_model/bed584e06fe94e71a7ac484cee9f0a16_fbx/Object_2/RootNode/Armature/Object_5/Skeleton3D" index="2"] -transform = Transform3D(1, 5.58905e-05, -4.14401e-05, -5.60097e-05, 0.999999, -0.00106518, 4.12315e-05, 0.00106521, 0.999999, 0.000219107, 0.0155748, -0.00660229) +transform = Transform3D(1, 5.50505e-05, -4.09931e-05, -5.51026e-05, 1, -0.00106469, 4.1008e-05, 0.0010647, 1, 0.000217199, 0.0155682, -0.00659958) [node name="Plane_004_Material_0" parent="Mesh/Mech/Sketchfab_model/bed584e06fe94e71a7ac484cee9f0a16_fbx/Object_2/RootNode/Armature/Object_5/Skeleton3D" index="3"] -transform = Transform3D(0.999998, -0.000478819, -0.00132427, 0.000472948, 0.99999, -0.00429207, 0.00132623, 0.00429149, 0.99999, 0.00208402, 0.015906, -0.0103583) +transform = Transform3D(0.999998, -0.000479236, -0.00132395, 0.000473365, 0.999991, -0.00429117, 0.00132614, 0.00429053, 0.99999, 0.00208211, 0.0159009, -0.0103563) [node name="Cube_013_Material_0" parent="Mesh/Mech/Sketchfab_model/bed584e06fe94e71a7ac484cee9f0a16_fbx/Object_2/RootNode/Armature/Object_5/Skeleton3D" index="4"] -transform = Transform3D(1, 2.93404e-05, -3.32743e-05, -2.95117e-05, 0.999994, -0.00349957, 3.30359e-05, 0.00349969, 0.999994, 0.000211239, 0.0164267, -0.00607586) +transform = Transform3D(1, 2.8573e-05, -3.27751e-05, -2.86922e-05, 0.999995, -0.00349867, 3.27304e-05, 0.00349873, 0.999994, 0.000209093, 0.0164203, -0.00607324) [node name="Plane_011_Material_0" parent="Mesh/Mech/Sketchfab_model/bed584e06fe94e71a7ac484cee9f0a16_fbx/Object_2/RootNode/Armature/Object_5/Skeleton3D" index="5"] -transform = Transform3D(1, 4.30644e-06, -7.02669e-05, -4.57466e-06, 0.999997, -0.0025157, 7.01007e-05, 0.00251578, 0.999997, 0.000424385, 0.0113978, -0.00584555) +transform = Transform3D(1, 4.27663e-06, -6.96201e-05, -4.44055e-06, 0.999997, -0.00251548, 6.96629e-05, 0.00251563, 0.999997, 0.000421286, 0.0113951, -0.00584364) [node name="Plane_002_Material_0" parent="Mesh/Mech/Sketchfab_model/bed584e06fe94e71a7ac484cee9f0a16_fbx/Object_2/RootNode/Armature/Object_5/Skeleton3D" index="6"] -transform = Transform3D(1, 6.16461e-05, 2.33985e-05, -6.16163e-05, 0.999991, -0.00416636, -2.37785e-05, 0.00416631, 0.999991, 3.50475e-05, 0.0180714, -0.00670433) +transform = Transform3D(1, 6.11544e-05, 2.28956e-05, -6.10799e-05, 0.999992, -0.00416651, -2.30558e-05, 0.00416645, 0.999991, 3.52859e-05, 0.0180683, -0.006706) [node name="Plane_013_Material_0" parent="Mesh/Mech/Sketchfab_model/bed584e06fe94e71a7ac484cee9f0a16_fbx/Object_2/RootNode/Armature/Object_5/Skeleton3D" index="7"] -transform = Transform3D(1, 6.16461e-05, 2.33985e-05, -6.16163e-05, 0.999991, -0.00416636, -2.37785e-05, 0.00416631, 0.999991, 3.50475e-05, 0.0180714, -0.00670433) +transform = Transform3D(1, 6.11544e-05, 2.28956e-05, -6.10799e-05, 0.999992, -0.00416651, -2.30558e-05, 0.00416645, 0.999991, 3.52859e-05, 0.0180683, -0.006706) [node name="Cube_007_Material_0" parent="Mesh/Mech/Sketchfab_model/bed584e06fe94e71a7ac484cee9f0a16_fbx/Object_2/RootNode/Armature/Object_5/Skeleton3D" index="8"] -transform = Transform3D(1, 6.09308e-05, -1.42306e-06, -6.09905e-05, 0.999994, -0.00337461, 1.10269e-06, 0.00337458, 0.999994, 0.000115633, 0.0163632, -0.00594687) +transform = Transform3D(1, 6.02901e-05, -1.68383e-06, -6.03124e-05, 0.999994, -0.00337404, 1.56462e-06, 0.0033741, 0.999994, 0.000115633, 0.0163581, -0.00594711) [node name="Plane_015_Material_0" parent="Mesh/Mech/Sketchfab_model/bed584e06fe94e71a7ac484cee9f0a16_fbx/Object_2/RootNode/Armature/Object_5/Skeleton3D" index="9"] -transform = Transform3D(1, 1.50651e-05, -1.86935e-05, -1.51992e-05, 0.999993, -0.00376809, 1.84849e-05, 0.00376797, 0.999993, 0.000186443, 0.0170807, -0.00628948) +transform = Transform3D(1, 1.43424e-05, -1.83433e-05, -1.44169e-05, 0.999993, -0.00376788, 1.83806e-05, 0.00376776, 0.999993, 0.000185251, 0.0170763, -0.00628805) [node name="Cube_010_Material_0" parent="Mesh/Mech/Sketchfab_model/bed584e06fe94e71a7ac484cee9f0a16_fbx/Object_2/RootNode/Armature/Object_5/Skeleton3D" index="10"] -transform = Transform3D(1, -2.54046e-05, -2.00341e-05, 2.5291e-05, 0.999995, -0.00315789, 2.00041e-05, 0.00315794, 0.999995, 0.000148296, 0.013998, -0.00649977) +transform = Transform3D(1, -2.61031e-05, -1.98691e-05, 2.60435e-05, 0.999995, -0.00315795, 2.00106e-05, 0.00315797, 0.999995, 0.00014782, 0.0139953, -0.00649929) [node name="Cube_012_Material_0" parent="Mesh/Mech/Sketchfab_model/bed584e06fe94e71a7ac484cee9f0a16_fbx/Object_2/RootNode/Armature/Object_5/Skeleton3D" index="11"] -transform = Transform3D(1, -3.21864e-05, -1.54484e-05, 3.20764e-05, 0.999994, -0.00343218, 1.54493e-05, 0.00343221, 0.999994, 0.000126839, 0.0154983, -0.00661087) +transform = Transform3D(1, -3.29428e-05, -1.52884e-05, 3.2894e-05, 0.999995, -0.00343165, 1.54603e-05, 0.00343162, 0.999994, 0.000126362, 0.0154919, -0.00660944) [node name="Cylinder_002_Material_0" parent="Mesh/Mech/Sketchfab_model/bed584e06fe94e71a7ac484cee9f0a16_fbx/Object_2/RootNode/Armature/Object_5/Skeleton3D" index="12"] -transform = Transform3D(1, -1.77636e-15, 0, -1.77636e-15, 1, -4.37113e-08, 0, 4.37113e-08, 1, 0, -0.00652993, -0.0037303) +transform = Transform3D(1, -1.77636e-15, 0, -1.77636e-15, 1, -4.37113e-08, 0, 4.37113e-08, 1, 0, -0.00652993, -0.00372887) [node name="Cube_006_Material_0" parent="Mesh/Mech/Sketchfab_model/bed584e06fe94e71a7ac484cee9f0a16_fbx/Object_2/RootNode/Armature/Object_5/Skeleton3D" index="13"] -transform = Transform3D(1, 8.43963e-08, 6.8279e-07, -8.43927e-08, 1, -3.01898e-05, -6.82823e-07, 3.02494e-05, 1, -7.86781e-06, -0.00536585, -0.00327206) +transform = Transform3D(1, 8.45999e-08, 6.81917e-07, -8.46266e-08, 1, -2.96832e-05, -6.82067e-07, 2.97129e-05, 1, -7.86781e-06, -0.00537133, -0.0032711) [node name="Cube_017_Material_0" parent="Mesh/Mech/Sketchfab_model/bed584e06fe94e71a7ac484cee9f0a16_fbx/Object_2/RootNode/Armature/Object_5/Skeleton3D" index="14"] -transform = Transform3D(1, -8.3334e-08, -6.81394e-07, 8.33211e-08, 1, -3.016e-05, 6.81368e-07, 3.02494e-05, 1, 7.86781e-06, -0.00536633, -0.00327206) +transform = Transform3D(1, -8.21697e-08, -6.8186e-07, 8.21673e-08, 1, -2.96832e-05, 6.81892e-07, 2.9713e-05, 1, 7.86781e-06, -0.00537157, -0.00327206) [node name="Cube_005_Material_0" parent="Mesh/Mech/Sketchfab_model/bed584e06fe94e71a7ac484cee9f0a16_fbx/Object_2/RootNode/Armature/Object_5/Skeleton3D" index="15"] -transform = Transform3D(1, -1.7053e-13, -3.41061e-13, 2.84217e-13, 1, 0.000176817, 3.41061e-13, -0.000176817, 1, -9.09154e-13, -0.00767553, -0.00373173) +transform = Transform3D(1, -1.42109e-13, -3.41061e-13, 2.27374e-13, 1, 0.000176817, 3.97904e-13, -0.000176817, 1, -9.09154e-13, -0.00767553, -0.00373077) [node name="WeaponSlot" type="Node3D" parent="Mesh/Mech/Sketchfab_model/bed584e06fe94e71a7ac484cee9f0a16_fbx/Object_2/RootNode/Armature/Object_5/Skeleton3D/Cube_005_Material_0" index="1"] unique_name_in_owner = true @@ -119,58 +115,58 @@ transform = Transform3D(1, 6.97955e-19, 1.77636e-13, 0, -4.37112e-08, -1, -1.355 visible = false [node name="Cube_005_Inside_0" parent="Mesh/Mech/Sketchfab_model/bed584e06fe94e71a7ac484cee9f0a16_fbx/Object_2/RootNode/Armature/Object_5/Skeleton3D" index="16"] -transform = Transform3D(1, -1.7053e-13, -3.41061e-13, 2.84217e-13, 1, 0.000176817, 3.41061e-13, -0.000176817, 1, -9.09154e-13, -0.00767553, -0.00373173) +transform = Transform3D(1, -1.42109e-13, -3.41061e-13, 2.27374e-13, 1, 0.000176817, 3.97904e-13, -0.000176817, 1, -9.09154e-13, -0.00767553, -0.00373077) [node name="Plane_003_Material_0" parent="Mesh/Mech/Sketchfab_model/bed584e06fe94e71a7ac484cee9f0a16_fbx/Object_2/RootNode/Armature/Object_5/Skeleton3D" index="17"] -transform = Transform3D(1, 1.08713e-10, -1.01801e-08, -1.08315e-10, 1, 0.000177441, 1.01894e-08, -0.000177441, 1, -2.38419e-07, -0.00767994, -0.00373077) +transform = Transform3D(1, 1.0877e-10, -1.02383e-08, -1.08258e-10, 1, 0.000177441, 1.02476e-08, -0.000177441, 1, -2.38419e-07, -0.00767994, -0.00372887) [node name="Plane_016_Material_0" parent="Mesh/Mech/Sketchfab_model/bed584e06fe94e71a7ac484cee9f0a16_fbx/Object_2/RootNode/Armature/Object_5/Skeleton3D" index="18"] -transform = Transform3D(1, -1.08713e-10, 1.01801e-08, 1.08315e-10, 1, 0.000177441, -1.01894e-08, -0.000177441, 1, 2.38419e-07, -0.00767994, -0.00373077) +transform = Transform3D(1, -1.0877e-10, 1.02383e-08, 1.08258e-10, 1, 0.000177441, -1.02476e-08, -0.000177441, 1, 2.38419e-07, -0.00767994, -0.00372887) [node name="Cube_008_Material_0" parent="Mesh/Mech/Sketchfab_model/bed584e06fe94e71a7ac484cee9f0a16_fbx/Object_2/RootNode/Armature/Object_5/Skeleton3D" index="19"] -transform = Transform3D(1, -2.63915e-23, -1.16813e-27, 2.63915e-23, 1, 0.000177724, -3.52226e-27, -0.000177724, 1, -1.16428e-18, -0.00768019, -0.0037303) +transform = Transform3D(1, -2.63915e-23, -1.16813e-27, 2.63915e-23, 1, 0.000177724, -3.52226e-27, -0.000177724, 1, -1.16428e-18, -0.00768018, -0.00372887) [node name="Cube_008_Inside_0" parent="Mesh/Mech/Sketchfab_model/bed584e06fe94e71a7ac484cee9f0a16_fbx/Object_2/RootNode/Armature/Object_5/Skeleton3D" index="20"] -transform = Transform3D(1, -2.63915e-23, -1.16813e-27, 2.63915e-23, 1, 0.000177724, -3.52226e-27, -0.000177724, 1, -1.16428e-18, -0.00768019, -0.0037303) +transform = Transform3D(1, -2.63915e-23, -1.16813e-27, 2.63915e-23, 1, 0.000177724, -3.52226e-27, -0.000177724, 1, -1.16428e-18, -0.00768018, -0.00372887) [node name="Plane_006_Material_0" parent="Mesh/Mech/Sketchfab_model/bed584e06fe94e71a7ac484cee9f0a16_fbx/Object_2/RootNode/Armature/Object_5/Skeleton3D" index="21"] -transform = Transform3D(1, -0.000135213, 5.16325e-05, 0.00013496, 0.99999, 0.00465542, -5.2318e-05, -0.00465524, 0.99999, -4.43459e-05, -0.0309224, 0.00594956) +transform = Transform3D(1, -0.000135005, 5.17294e-05, 0.000134751, 0.999991, 0.00465384, -5.25862e-05, -0.0046539, 0.99999, -4.45843e-05, -0.0309148, 0.00594783) [node name="Plane_008_Material_0" parent="Mesh/Mech/Sketchfab_model/bed584e06fe94e71a7ac484cee9f0a16_fbx/Object_2/RootNode/Armature/Object_5/Skeleton3D" index="22"] -transform = Transform3D(1, -0.000176728, 6.30692e-05, 0.000176355, 0.99999, 0.00466323, -6.39409e-05, -0.00466308, 0.999989, -1.33514e-05, -0.0308593, 0.0059402) +transform = Transform3D(1, -0.000176832, 6.33895e-05, 0.000176474, 0.999991, 0.00466231, -6.44475e-05, -0.00466242, 0.99999, -1.33514e-05, -0.0308514, 0.00593805) [node name="Cube_004_Material_0" parent="Mesh/Mech/Sketchfab_model/bed584e06fe94e71a7ac484cee9f0a16_fbx/Object_2/RootNode/Armature/Object_5/Skeleton3D" index="23"] -transform = Transform3D(1, -6.58818e-05, 2.95937e-05, 6.58445e-05, 1, 0.000158608, -2.96682e-05, -0.00015837, 1, -9.58443e-05, -0.0273978, 0.00152367) +transform = Transform3D(1, -6.62543e-05, 3.0145e-05, 6.61854e-05, 1, 0.000156701, -3.03835e-05, -0.000156716, 1, -9.56059e-05, -0.0273882, 0.00152013) [node name="Plane_005_Material_0" parent="Mesh/Mech/Sketchfab_model/bed584e06fe94e71a7ac484cee9f0a16_fbx/Object_2/RootNode/Armature/Object_5/Skeleton3D" index="24"] -transform = Transform3D(0.999999, 0.000438705, 0.00129071, -0.000440881, 0.999998, 0.00203297, -0.00129022, -0.00203363, 0.999997, -0.00193739, -0.0282348, -0.00356019) +transform = Transform3D(1, 0.000437662, 0.00129162, -0.000439659, 0.999999, 0.00203107, -0.00129138, -0.0020319, 0.999997, -0.00193715, -0.0282226, -0.00356543) [node name="Cube_003_Material_0" parent="Mesh/Mech/Sketchfab_model/bed584e06fe94e71a7ac484cee9f0a16_fbx/Object_2/RootNode/Armature/Object_5/Skeleton3D" index="25"] -transform = Transform3D(1, -6.61984e-05, 1.42008e-05, 6.61165e-05, 0.999994, 0.00358754, -1.45063e-05, -0.00358731, 0.999994, -9.05991e-05, -0.0287197, 0.000870943) +transform = Transform3D(1, -6.66231e-05, 1.4782e-05, 6.6489e-05, 0.999994, 0.00358561, -1.52439e-05, -0.00358558, 0.999994, -9.03606e-05, -0.0287099, 0.000867367) [node name="Plane_007_Material_0" parent="Mesh/Mech/Sketchfab_model/bed584e06fe94e71a7ac484cee9f0a16_fbx/Object_2/RootNode/Armature/Object_5/Skeleton3D" index="26"] -transform = Transform3D(1, -4.88907e-05, 5.27725e-05, 4.87268e-05, 0.999995, 0.00336507, -5.30286e-05, -0.00336497, 0.999995, -0.000314236, -0.0290433, 0.000320435) +transform = Transform3D(1, -4.90993e-05, 5.24404e-05, 4.88609e-05, 0.999995, 0.00336359, -5.28246e-05, -0.00336367, 0.999995, -0.000311136, -0.0290347, 0.000319958) [node name="Plane_014_Material_0" parent="Mesh/Mech/Sketchfab_model/bed584e06fe94e71a7ac484cee9f0a16_fbx/Object_2/RootNode/Armature/Object_5/Skeleton3D" index="27"] -transform = Transform3D(1, -0.000115186, 8.09841e-05, 0.000114605, 0.999975, 0.00708464, -8.18968e-05, -0.00708446, 0.999975, -0.000144005, -0.0354335, 0.00589895) +transform = Transform3D(1, -0.000115246, 8.00937e-05, 0.00011465, 0.999975, 0.00708443, -8.11666e-05, -0.00708449, 0.999975, -0.00014019, -0.0354292, 0.00590205) [node name="Plane_010_Material_0" parent="Mesh/Mech/Sketchfab_model/bed584e06fe94e71a7ac484cee9f0a16_fbx/Object_2/RootNode/Armature/Object_5/Skeleton3D" index="28"] -transform = Transform3D(1, -0.000134841, 0.000115264, 0.000134036, 0.999976, 0.00708985, -0.000116304, -0.00708964, 0.999975, -0.000189781, -0.0354502, 0.00577903) +transform = Transform3D(1, -0.000134856, 0.00011415, 0.000133991, 0.999976, 0.00708792, -0.000115346, -0.00708792, 0.999975, -0.000185728, -0.0354419, 0.00578022) [node name="Cube_014_Material_0" parent="Mesh/Mech/Sketchfab_model/bed584e06fe94e71a7ac484cee9f0a16_fbx/Object_2/RootNode/Armature/Object_5/Skeleton3D" index="29"] -transform = Transform3D(1, -6.72117e-05, 1.78218e-05, 6.71297e-05, 0.999993, 0.00391358, -1.81645e-05, -0.00391343, 0.999992, -9.34601e-05, -0.0291542, 0.000943661) +transform = Transform3D(1, -6.72936e-05, 1.65626e-05, 6.71521e-05, 0.999992, 0.00391343, -1.70842e-05, -0.00391352, 0.999992, -8.86917e-05, -0.0291497, 0.000947237) [node name="Plane_001_Material_0" parent="Mesh/Mech/Sketchfab_model/bed584e06fe94e71a7ac484cee9f0a16_fbx/Object_2/RootNode/Armature/Object_5/Skeleton3D" index="30"] -transform = Transform3D(1, -5.17443e-05, -4.61936e-06, 5.17517e-05, 0.999996, 0.00292224, 4.38839e-06, -0.00292212, 0.999996, -5.50747e-05, -0.0270368, 0.000273705) +transform = Transform3D(1, -5.19827e-05, -4.96209e-06, 5.19305e-05, 0.999996, 0.00292119, 4.56721e-06, -0.00292131, 0.999996, -5.19753e-05, -0.0270302, 0.000274181) [node name="Cube_015_Material_0" parent="Mesh/Mech/Sketchfab_model/bed584e06fe94e71a7ac484cee9f0a16_fbx/Object_2/RootNode/Armature/Object_5/Skeleton3D" index="31"] -transform = Transform3D(1, -4.41447e-06, 1.12738e-05, 4.36604e-06, 0.999992, 0.00412608, -1.13591e-05, -0.00412598, 0.999992, -7.10487e-05, -0.0327883, -0.000398636) +transform = Transform3D(1, -4.7069e-06, 1.09979e-05, 4.57093e-06, 0.999992, 0.00412579, -1.12697e-05, -0.00412583, 0.999992, -6.86646e-05, -0.0327854, -0.000397205) [node name="Cube_001_Material_0" parent="Mesh/Mech/Sketchfab_model/bed584e06fe94e71a7ac484cee9f0a16_fbx/Object_2/RootNode/Armature/Object_5/Skeleton3D" index="32"] -transform = Transform3D(1, -2.98872e-06, 1.38292e-05, 2.93019e-06, 0.999993, 0.00376365, -1.39074e-05, -0.00376353, 0.999993, -8.72612e-05, -0.0307828, -0.000585556) +transform = Transform3D(1, -3.25507e-06, 1.35051e-05, 3.12182e-06, 0.999993, 0.00376272, -1.37715e-05, -0.00376278, 0.999993, -8.46386e-05, -0.0307763, -0.000585079) [node name="Cylinder_001_Material_0" parent="Mesh/Mech/Sketchfab_model/bed584e06fe94e71a7ac484cee9f0a16_fbx/Object_2/RootNode/Armature/Object_5/Skeleton3D" index="33"] -transform = Transform3D(1, 1.77636e-15, 0, 1.77636e-15, 1, -4.37113e-08, 0, 4.37113e-08, 1, 0, -0.00652993, -0.0037303) +transform = Transform3D(1, 1.77636e-15, 0, 1.77636e-15, 1, -4.37113e-08, 0, 4.37113e-08, 1, 0, -0.00652993, -0.00372887) [node name="CollisionShape3D" type="CollisionShape3D" parent="."] transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 0, 1, 0) diff --git a/src/npc/mech_enemy/mech_enemy.tscn b/src/npc/mech_enemy/mech_enemy.tscn index 8538af9..0c524cf 100644 --- a/src/npc/mech_enemy/mech_enemy.tscn +++ b/src/npc/mech_enemy/mech_enemy.tscn @@ -58,52 +58,52 @@ bones/126/position = Vector3(-3.16409, -0.228447, 0.389736) bones/126/rotation = Quaternion(0.99323, 0.00676854, -0.0811635, -0.0828304) [node name="Plane_009_Material_0" parent="Mesh/Mech/Sketchfab_model/bed584e06fe94e71a7ac484cee9f0a16_fbx/Object_2/RootNode/Armature/Object_5/Skeleton3D" index="0"] -transform = Transform3D(0.999997, 0.000494346, 0.00237671, -0.000558197, 0.999637, 0.0269625, -0.00236244, -0.0269638, 0.999634, -0.00991702, -0.00330436, 0.0294954) +transform = Transform3D(0.999997, 0.000493586, 0.00237732, -0.000557542, 0.999637, 0.0269629, -0.0023632, -0.0269641, 0.999634, -0.00991583, -0.00331461, 0.0294973) [node name="Plane_012_Material_0" parent="Mesh/Mech/Sketchfab_model/bed584e06fe94e71a7ac484cee9f0a16_fbx/Object_2/RootNode/Armature/Object_5/Skeleton3D" index="1"] -transform = Transform3D(0.999996, 0.000778884, 0.00259201, -0.000849321, 0.999628, 0.0272536, -0.00256974, -0.0272557, 0.999625, -0.010381, -0.0032928, 0.02955) +transform = Transform3D(0.999996, 0.00077875, 0.00259168, -0.000849172, 0.999628, 0.0272541, -0.00256956, -0.027256, 0.999625, -0.0103793, -0.0033015, 0.0295489) [node name="Cube_016_Material_0" parent="Mesh/Mech/Sketchfab_model/bed584e06fe94e71a7ac484cee9f0a16_fbx/Object_2/RootNode/Armature/Object_5/Skeleton3D" index="2"] -transform = Transform3D(0.999999, -0.000282494, 0.0011463, 0.00028399, 0.999999, -0.00128751, -0.00114588, 0.00128789, 0.999999, -0.00811505, 0.0171099, -0.00332642) +transform = Transform3D(0.999999, -0.000282886, 0.00114633, 0.000284337, 0.999999, -0.00128633, -0.00114608, 0.00128683, 0.999999, -0.00811362, 0.0171, -0.00332582) [node name="Plane_004_Material_0" parent="Mesh/Mech/Sketchfab_model/bed584e06fe94e71a7ac484cee9f0a16_fbx/Object_2/RootNode/Armature/Object_5/Skeleton3D" index="3"] -transform = Transform3D(0.999998, -0.000418305, 0.00166806, 0.000360578, 0.999406, 0.0344502, -0.00168137, -0.0344496, 0.999405, -0.00786233, -0.0232381, 0.00464582) +transform = Transform3D(0.999998, -0.000418186, 0.00166774, 0.000360385, 0.999406, 0.0344525, -0.00168119, -0.0344519, 0.999405, -0.00786066, -0.0232467, 0.00464523) [node name="Cube_013_Material_0" parent="Mesh/Mech/Sketchfab_model/bed584e06fe94e71a7ac484cee9f0a16_fbx/Object_2/RootNode/Armature/Object_5/Skeleton3D" index="4"] -transform = Transform3D(0.999998, -0.000314511, 0.00211257, 0.000300191, 0.999978, 0.00679365, -0.00211457, -0.00679296, 0.999975, -0.00848794, 0.0139402, -0.00190806) +transform = Transform3D(0.999998, -0.000314824, 0.00211264, 0.00030046, 0.999977, 0.00679591, -0.0021148, -0.0067952, 0.999974, -0.00848651, 0.0139302, -0.00190759) [node name="Plane_011_Material_0" parent="Mesh/Mech/Sketchfab_model/bed584e06fe94e71a7ac484cee9f0a16_fbx/Object_2/RootNode/Armature/Object_5/Skeleton3D" index="5"] -transform = Transform3D(0.999999, -0.00133421, -0.00101003, 0.00138535, 0.998624, 0.0524207, 0.000938823, -0.0524219, 0.998625, 0.00739336, -0.319076, -0.0177884) +transform = Transform3D(0.999999, -0.00133447, -0.00101046, 0.00138558, 0.998624, 0.0524211, 0.000939032, -0.0524224, 0.998625, 0.00739646, -0.319079, -0.0177898) [node name="Plane_002_Material_0" parent="Mesh/Mech/Sketchfab_model/bed584e06fe94e71a7ac484cee9f0a16_fbx/Object_2/RootNode/Armature/Object_5/Skeleton3D" index="6"] -transform = Transform3D(0.999997, 0.00086081, 0.00237836, -0.00093092, 0.99956, 0.0296642, -0.00235163, -0.0296664, 0.999557, -0.0110216, 0.00506735, 0.0611384) +transform = Transform3D(0.999997, 0.000860497, 0.00237821, -0.000930697, 0.99956, 0.0296654, -0.0023517, -0.0296674, 0.999557, -0.0110192, 0.00506043, 0.061137) [node name="Plane_013_Material_0" parent="Mesh/Mech/Sketchfab_model/bed584e06fe94e71a7ac484cee9f0a16_fbx/Object_2/RootNode/Armature/Object_5/Skeleton3D" index="7"] -transform = Transform3D(0.999997, 0.00086081, 0.00237836, -0.00093092, 0.99956, 0.0296642, -0.00235163, -0.0296664, 0.999557, -0.0110216, 0.00506735, 0.0611384) +transform = Transform3D(0.999997, 0.000860497, 0.00237821, -0.000930697, 0.99956, 0.0296654, -0.0023517, -0.0296674, 0.999557, -0.0110192, 0.00506043, 0.061137) [node name="Cube_007_Material_0" parent="Mesh/Mech/Sketchfab_model/bed584e06fe94e71a7ac484cee9f0a16_fbx/Object_2/RootNode/Armature/Object_5/Skeleton3D" index="8"] -transform = Transform3D(0.999998, -0.000447936, 0.00180603, 0.000376947, 0.999234, 0.0391398, -0.00182206, -0.039139, 0.999232, -0.00804186, -0.0288733, 0.0076077) +transform = Transform3D(0.999998, -0.000447929, 0.00180467, 0.000376947, 0.999234, 0.0391413, -0.00182089, -0.0391404, 0.999232, -0.00803709, -0.0288801, 0.00760293) [node name="Plane_015_Material_0" parent="Mesh/Mech/Sketchfab_model/bed584e06fe94e71a7ac484cee9f0a16_fbx/Object_2/RootNode/Armature/Object_5/Skeleton3D" index="9"] -transform = Transform3D(0.999996, -0.000201903, 0.00282245, 0.000367977, 0.998261, -0.0589534, -0.00280551, 0.0589542, 0.998257, -0.0104408, 0.186429, -0.0598373) +transform = Transform3D(0.999996, -0.000202127, 0.00282205, 0.000368141, 0.998261, -0.0589521, -0.00280529, 0.0589529, 0.998257, -0.0104382, 0.186422, -0.0598392) [node name="Cube_010_Material_0" parent="Mesh/Mech/Sketchfab_model/bed584e06fe94e71a7ac484cee9f0a16_fbx/Object_2/RootNode/Armature/Object_5/Skeleton3D" index="10"] -transform = Transform3D(1, -8.53036e-05, -0.00069287, 0.000119807, 0.998754, 0.0499089, 0.000687853, -0.0499089, 0.998754, 0.00450158, -0.306204, -0.142104) +transform = Transform3D(1, -8.54582e-05, -0.000693315, 0.000119934, 0.998754, 0.0499096, 0.000688083, -0.0499094, 0.998753, 0.00450516, -0.306208, -0.142106) [node name="Cube_012_Material_0" parent="Mesh/Mech/Sketchfab_model/bed584e06fe94e71a7ac484cee9f0a16_fbx/Object_2/RootNode/Armature/Object_5/Skeleton3D" index="11"] -transform = Transform3D(1, -0.000301059, -0.000563472, 0.000315433, 0.999672, 0.0256395, 0.000555676, -0.0256396, 0.999671, 0.00388527, -0.172652, -0.158077) +transform = Transform3D(1, -0.0003013, -0.000563813, 0.000315631, 0.999671, 0.0256401, 0.000555804, -0.0256402, 0.999671, 0.00388741, -0.172657, -0.158079) [node name="Cylinder_002_Material_0" parent="Mesh/Mech/Sketchfab_model/bed584e06fe94e71a7ac484cee9f0a16_fbx/Object_2/RootNode/Armature/Object_5/Skeleton3D" index="12"] -transform = Transform3D(1, -1.77636e-15, 0, -1.77636e-15, 1, -4.37113e-08, 0, 4.37113e-08, 1, 0, -0.00663787, -0.179887) +transform = Transform3D(1, -1.77636e-15, 0, -1.77636e-15, 1, -4.37113e-08, 0, 4.37113e-08, 1, 0, -0.00663787, -0.179889) [node name="Cube_006_Material_0" parent="Mesh/Mech/Sketchfab_model/bed584e06fe94e71a7ac484cee9f0a16_fbx/Object_2/RootNode/Armature/Object_5/Skeleton3D" index="13"] -transform = Transform3D(1, 8.97502e-08, 7.72251e-07, -8.97088e-08, 1, -8.0675e-05, -7.72363e-07, 8.07047e-05, 1, -8.70228e-06, -0.00508523, -0.179399) +transform = Transform3D(1, 8.9982e-08, 7.71669e-07, -8.99428e-08, 1, -8.14201e-05, -7.71665e-07, 8.14498e-05, 1, -8.70228e-06, -0.00507689, -0.179399) [node name="Cube_017_Material_0" parent="Mesh/Mech/Sketchfab_model/bed584e06fe94e71a7ac484cee9f0a16_fbx/Object_2/RootNode/Armature/Object_5/Skeleton3D" index="14"] -transform = Transform3D(1, -8.87121e-08, -7.70855e-07, 8.86611e-08, 1, -8.0675e-05, 7.70792e-07, 8.07048e-05, 1, 8.70228e-06, -0.00508523, -0.179401) +transform = Transform3D(1, -8.9178e-08, -7.70389e-07, 8.91861e-08, 1, -8.14201e-05, 7.70268e-07, 8.14499e-05, 1, 8.70228e-06, -0.00507689, -0.1794) [node name="Cube_005_Material_0" parent="Mesh/Mech/Sketchfab_model/bed584e06fe94e71a7ac484cee9f0a16_fbx/Object_2/RootNode/Armature/Object_5/Skeleton3D" index="15"] -transform = Transform3D(1, -1.7053e-13, -3.41061e-13, 2.84217e-13, 1, 0.000139534, 3.41061e-13, -0.000139534, 1, -9.09154e-13, -0.00754225, -0.179889) +transform = Transform3D(1, -1.42109e-13, -3.41061e-13, 2.27374e-13, 1, 0.000139534, 3.97904e-13, -0.000139534, 1, -9.09154e-13, -0.00754225, -0.17989) [node name="VisionCone" parent="Mesh/Mech/Sketchfab_model/bed584e06fe94e71a7ac484cee9f0a16_fbx/Object_2/RootNode/Armature/Object_5/Skeleton3D/Cube_005_Material_0" index="2" instance=ExtResource("3_m0nb6")] unique_name_in_owner = true @@ -111,58 +111,58 @@ transform = Transform3D(2, 6.81965e-13, 6.82114e-13, -6.82121e-13, 2, 0.00045645 body_offset = Vector3(0, 1, 0) [node name="Cube_005_Inside_0" parent="Mesh/Mech/Sketchfab_model/bed584e06fe94e71a7ac484cee9f0a16_fbx/Object_2/RootNode/Armature/Object_5/Skeleton3D" index="16"] -transform = Transform3D(1, -1.7053e-13, -3.41061e-13, 2.84217e-13, 1, 0.000139534, 3.41061e-13, -0.000139534, 1, -9.09154e-13, -0.00754225, -0.179889) +transform = Transform3D(1, -1.42109e-13, -3.41061e-13, 2.27374e-13, 1, 0.000139534, 3.97904e-13, -0.000139534, 1, -9.09154e-13, -0.00754225, -0.17989) [node name="Plane_003_Material_0" parent="Mesh/Mech/Sketchfab_model/bed584e06fe94e71a7ac484cee9f0a16_fbx/Object_2/RootNode/Armature/Object_5/Skeleton3D" index="17"] -transform = Transform3D(1, 1.08713e-10, -1.01801e-08, -1.08713e-10, 1, 0.000140157, 1.01779e-08, -0.000140157, 1, -2.38419e-07, -0.00754666, -0.179887) +transform = Transform3D(1, 1.0877e-10, -1.02383e-08, -1.08656e-10, 1, 0.000140157, 1.02361e-08, -0.000140157, 1, -2.38419e-07, -0.00754666, -0.179889) [node name="Plane_016_Material_0" parent="Mesh/Mech/Sketchfab_model/bed584e06fe94e71a7ac484cee9f0a16_fbx/Object_2/RootNode/Armature/Object_5/Skeleton3D" index="18"] -transform = Transform3D(1, -1.08713e-10, 1.01801e-08, 1.08713e-10, 1, 0.000140157, -1.01779e-08, -0.000140157, 1, 2.38419e-07, -0.00754666, -0.179887) +transform = Transform3D(1, -1.0877e-10, 1.02383e-08, 1.08656e-10, 1, 0.000140157, -1.02361e-08, -0.000140157, 1, 2.38419e-07, -0.00754666, -0.179889) [node name="Cube_008_Material_0" parent="Mesh/Mech/Sketchfab_model/bed584e06fe94e71a7ac484cee9f0a16_fbx/Object_2/RootNode/Armature/Object_5/Skeleton3D" index="19"] -transform = Transform3D(1, -2.63915e-23, -9.22862e-28, 2.63915e-23, 1, 0.00014044, -2.78354e-27, -0.00014044, 1, -1.16428e-18, -0.00754682, -0.179887) +transform = Transform3D(1, -2.63915e-23, -9.22863e-28, 2.63915e-23, 1, 0.00014044, -2.78354e-27, -0.00014044, 1, -1.16428e-18, -0.00754682, -0.179889) [node name="Cube_008_Inside_0" parent="Mesh/Mech/Sketchfab_model/bed584e06fe94e71a7ac484cee9f0a16_fbx/Object_2/RootNode/Armature/Object_5/Skeleton3D" index="20"] -transform = Transform3D(1, -2.63915e-23, -9.22862e-28, 2.63915e-23, 1, 0.00014044, -2.78354e-27, -0.00014044, 1, -1.16428e-18, -0.00754682, -0.179887) +transform = Transform3D(1, -2.63915e-23, -9.22863e-28, 2.63915e-23, 1, 0.00014044, -2.78354e-27, -0.00014044, 1, -1.16428e-18, -0.00754682, -0.179889) [node name="Plane_006_Material_0" parent="Mesh/Mech/Sketchfab_model/bed584e06fe94e71a7ac484cee9f0a16_fbx/Object_2/RootNode/Armature/Object_5/Skeleton3D" index="21"] -transform = Transform3D(0.999997, -0.000593483, -0.00234708, 0.000677034, 0.999361, 0.0357647, 0.00232446, -0.0357663, 0.999358, 0.0100577, -0.050845, 0.0440022) +transform = Transform3D(0.999997, -0.000593811, -0.00234684, 0.000677377, 0.999361, 0.0357652, 0.00232412, -0.0357668, 0.999358, 0.010056, -0.0508438, 0.0440001) [node name="Plane_008_Material_0" parent="Mesh/Mech/Sketchfab_model/bed584e06fe94e71a7ac484cee9f0a16_fbx/Object_2/RootNode/Armature/Object_5/Skeleton3D" index="22"] -transform = Transform3D(0.999996, -0.000919476, -0.00252715, 0.00101, 0.999351, 0.0360343, 0.00249249, -0.0360368, 0.999348, 0.0105333, -0.0507617, 0.0439574) +transform = Transform3D(0.999996, -0.000920266, -0.00252651, 0.00101069, 0.999351, 0.036034, 0.00249176, -0.0360364, 0.999348, 0.0105317, -0.0507587, 0.043953) [node name="Cube_004_Material_0" parent="Mesh/Mech/Sketchfab_model/bed584e06fe94e71a7ac484cee9f0a16_fbx/Object_2/RootNode/Armature/Object_5/Skeleton3D" index="23"] -transform = Transform3D(0.999999, 0.00026127, -0.00115386, -0.00026129, 1, -2.49892e-05, 0.00115396, 2.52277e-05, 0.999999, 0.00820827, -0.0247123, 0.0035708) +transform = Transform3D(0.999999, 0.000260631, -0.00115325, -0.000260664, 1, -2.47508e-05, 0.00115328, 2.50638e-05, 1, 0.00820613, -0.0247099, 0.0035671) [node name="Plane_005_Material_0" parent="Mesh/Mech/Sketchfab_model/bed584e06fe94e71a7ac484cee9f0a16_fbx/Object_2/RootNode/Armature/Object_5/Skeleton3D" index="24"] -transform = Transform3D(0.999999, 0.000373438, -0.00169542, -0.000304148, 0.999187, 0.0403222, 0.00170882, -0.0403219, 0.999185, 0.00798345, -0.0656039, 0.0103545) +transform = Transform3D(0.999999, 0.000373006, -0.00169478, -0.00030385, 0.999187, 0.0403219, 0.00170811, -0.0403217, 0.999185, 0.00798154, -0.0656024, 0.0103509) [node name="Cube_003_Material_0" parent="Mesh/Mech/Sketchfab_model/bed584e06fe94e71a7ac484cee9f0a16_fbx/Object_2/RootNode/Armature/Object_5/Skeleton3D" index="25"] -transform = Transform3D(0.999998, 0.0002748, -0.00212132, -0.000245452, 0.999904, 0.013818, 0.00212501, -0.0138175, 0.999902, 0.00857782, -0.0300148, 0.0038445) +transform = Transform3D(0.999998, 0.00027433, -0.00212068, -0.000245012, 0.999905, 0.0138178, 0.00212428, -0.0138172, 0.999902, 0.00857544, -0.030013, 0.00384068) [node name="Plane_007_Material_0" parent="Mesh/Mech/Sketchfab_model/bed584e06fe94e71a7ac484cee9f0a16_fbx/Object_2/RootNode/Armature/Object_5/Skeleton3D" index="26"] -transform = Transform3D(0.999999, 0.00128171, 0.000983939, -0.00133653, 0.998318, 0.0579532, -0.000907915, -0.0579546, 0.998319, -0.00721049, -0.356336, -0.0107512) +transform = Transform3D(0.999999, 0.00128147, 0.000984342, -0.00133638, 0.998319, 0.0579528, -0.00090843, -0.0579542, 0.998319, -0.00721288, -0.356334, -0.0107541) [node name="Plane_014_Material_0" parent="Mesh/Mech/Sketchfab_model/bed584e06fe94e71a7ac484cee9f0a16_fbx/Object_2/RootNode/Armature/Object_5/Skeleton3D" index="27"] -transform = Transform3D(0.999997, -0.000921354, -0.00229078, 0.00101347, 0.999178, 0.0405373, 0.00225163, -0.0405396, 0.999175, 0.0109401, -0.0461743, 0.0723238) +transform = Transform3D(0.999997, -0.000921801, -0.00229023, 0.00101389, 0.999178, 0.0405371, 0.00225094, -0.0405394, 0.999175, 0.0109382, -0.0461727, 0.0723205) [node name="Plane_010_Material_0" parent="Mesh/Mech/Sketchfab_model/bed584e06fe94e71a7ac484cee9f0a16_fbx/Object_2/RootNode/Armature/Object_5/Skeleton3D" index="28"] -transform = Transform3D(0.999996, -0.00164142, -0.00234594, 0.00173579, 0.999166, 0.0407985, 0.00227712, -0.0408026, 0.999165, 0.0120275, -0.0459636, 0.0711436) +transform = Transform3D(0.999996, -0.00164211, -0.00234484, 0.00173639, 0.999166, 0.0407986, 0.00227588, -0.0408025, 0.999165, 0.0120246, -0.0459616, 0.0711391) [node name="Cube_014_Material_0" parent="Mesh/Mech/Sketchfab_model/bed584e06fe94e71a7ac484cee9f0a16_fbx/Object_2/RootNode/Armature/Object_5/Skeleton3D" index="29"] -transform = Transform3D(0.999998, 0.000408098, -0.00181661, -0.000323825, 0.998935, 0.0461282, 0.00183357, -0.0461276, 0.998934, 0.00813437, -0.0727203, 0.0136507) +transform = Transform3D(0.999998, 0.000407889, -0.00181714, -0.000323623, 0.998935, 0.0461285, 0.00183402, -0.0461279, 0.998934, 0.0081346, -0.0727206, 0.0136511) [node name="Plane_001_Material_0" parent="Mesh/Mech/Sketchfab_model/bed584e06fe94e71a7ac484cee9f0a16_fbx/Object_2/RootNode/Armature/Object_5/Skeleton3D" index="30"] -transform = Transform3D(0.999996, 0.000161879, -0.00282765, -0.000308327, 0.998654, -0.0518783, 0.00281555, 0.051879, 0.998649, 0.0105219, 0.141901, -0.0552454) +transform = Transform3D(0.999996, 0.000161514, -0.0028273, -0.000307962, 0.998654, -0.0518785, 0.00281513, 0.051879, 0.998649, 0.0105205, 0.141902, -0.0552483) [node name="Cube_015_Material_0" parent="Mesh/Mech/Sketchfab_model/bed584e06fe94e71a7ac484cee9f0a16_fbx/Object_2/RootNode/Armature/Object_5/Skeleton3D" index="31"] -transform = Transform3D(1, 5.27725e-05, 0.000672734, -9.09343e-05, 0.99838, 0.0568952, -0.000668541, -0.0568949, 0.99838, -0.00435019, -0.350923, -0.133942) +transform = Transform3D(1, 5.24819e-05, 0.000672923, -9.06978e-05, 0.99838, 0.0568945, -0.00066886, -0.0568945, 0.99838, -0.00434971, -0.350918, -0.133945) [node name="Cube_001_Material_0" parent="Mesh/Mech/Sketchfab_model/bed584e06fe94e71a7ac484cee9f0a16_fbx/Object_2/RootNode/Armature/Object_5/Skeleton3D" index="32"] -transform = Transform3D(1, 0.000261664, 0.000551427, -0.00027949, 0.999467, 0.0326454, -0.000542501, -0.0326454, 0.999467, -0.00377512, -0.217536, -0.150864) +transform = Transform3D(1, 0.000261278, 0.000551664, -0.000279163, 0.999467, 0.0326453, -0.000542855, -0.0326454, 0.999467, -0.00377631, -0.217535, -0.150867) [node name="Cylinder_001_Material_0" parent="Mesh/Mech/Sketchfab_model/bed584e06fe94e71a7ac484cee9f0a16_fbx/Object_2/RootNode/Armature/Object_5/Skeleton3D" index="33"] -transform = Transform3D(1, 1.77636e-15, 0, 1.77636e-15, 1, -4.37113e-08, 0, 4.37113e-08, 1, 0, -0.00663787, -0.179887) +transform = Transform3D(1, 1.77636e-15, 0, 1.77636e-15, 1, -4.37113e-08, 0, 4.37113e-08, 1, 0, -0.00663787, -0.179889) [node name="NavigationAgent3D" type="NavigationAgent3D" parent="." index="5"] path_desired_distance = 2.5 diff --git a/src/player/player.tscn b/src/player/player.tscn index 4039863..4eae154 100644 --- a/src/player/player.tscn +++ b/src/player/player.tscn @@ -97,106 +97,106 @@ bones/126/position = Vector3(-3.16409, -0.228764, 0.397146) bones/126/rotation = Quaternion(0.993227, 0.00677182, -0.0811633, -0.08287) [node name="Plane_009_Material_0" parent="Mesh/Mech/Sketchfab_model/bed584e06fe94e71a7ac484cee9f0a16_fbx/Object_2/RootNode/Armature/Object_5/Skeleton3D" index="0"] -transform = Transform3D(0.999991, 0.00014928, 0.0041392, -0.000315055, 0.999198, 0.0400592, -0.00412999, -0.0400601, 0.999189, -0.014317, -0.00171781, 0.0483873) +transform = Transform3D(0.999992, 0.000149131, 0.00413907, -0.000314847, 0.999198, 0.0400581, -0.00412982, -0.0400591, 0.999189, -0.0143139, -0.00171494, 0.0483842) [node name="Plane_012_Material_0" parent="Mesh/Mech/Sketchfab_model/bed584e06fe94e71a7ac484cee9f0a16_fbx/Object_2/RootNode/Armature/Object_5/Skeleton3D" index="1"] -transform = Transform3D(0.999989, 0.000920057, 0.00458401, -0.00110473, 0.999181, 0.0404314, -0.00454316, -0.0404359, 0.999172, -0.0154581, -0.000423789, 0.048458) +transform = Transform3D(0.999989, 0.0009211, 0.00458287, -0.00110571, 0.999182, 0.0404292, -0.00454191, -0.0404337, 0.999172, -0.015455, -0.00041616, 0.0484503) [node name="Cube_016_Material_0" parent="Mesh/Mech/Sketchfab_model/bed584e06fe94e71a7ac484cee9f0a16_fbx/Object_2/RootNode/Armature/Object_5/Skeleton3D" index="2"] -transform = Transform3D(0.999998, -0.000620715, 0.00195181, 0.000623459, 0.999999, -0.00144222, -0.00195101, 0.00144354, 0.999997, -0.0117331, 0.0290513, -0.00143296) +transform = Transform3D(0.999998, -0.000620119, 0.00195104, 0.000622921, 0.999999, -0.00144377, -0.00195017, 0.00144503, 0.999997, -0.01173, 0.0290573, -0.0014388) [node name="Plane_004_Material_0" parent="Mesh/Mech/Sketchfab_model/bed584e06fe94e71a7ac484cee9f0a16_fbx/Object_2/RootNode/Armature/Object_5/Skeleton3D" index="3"] -transform = Transform3D(0.999992, -0.00183566, 0.00313922, 0.0016674, 0.998606, 0.0527516, -0.00323178, -0.0527459, 0.998603, -0.0118542, -0.0373563, 0.0139714) +transform = Transform3D(0.999993, -0.00183529, 0.00313874, 0.00166701, 0.998606, 0.0527506, -0.00323114, -0.052745, 0.998603, -0.0118513, -0.0373511, 0.0139661) [node name="Cube_013_Material_0" parent="Mesh/Mech/Sketchfab_model/bed584e06fe94e71a7ac484cee9f0a16_fbx/Object_2/RootNode/Armature/Object_5/Skeleton3D" index="4"] -transform = Transform3D(0.999995, -0.000608854, 0.00313539, 0.000582814, 0.999966, 0.00827965, -0.00314041, -0.00827768, 0.999961, -0.0121765, 0.0254272, 0.000352383) +transform = Transform3D(0.999995, -0.000608318, 0.00313471, 0.000582345, 0.999966, 0.00827864, -0.00313966, -0.0082767, 0.999961, -0.0121732, 0.0254328, 0.000346661) [node name="Plane_011_Material_0" parent="Mesh/Mech/Sketchfab_model/bed584e06fe94e71a7ac484cee9f0a16_fbx/Object_2/RootNode/Armature/Object_5/Skeleton3D" index="5"] -transform = Transform3D(0.999998, -0.0018937, -0.000796277, 0.00194602, 0.997405, 0.0719653, 0.000657845, -0.0719667, 0.997407, 0.00762916, -0.434556, -0.0181503) +transform = Transform3D(0.999998, -0.00189282, -0.000796504, 0.00194527, 0.997405, 0.0719642, 0.000658177, -0.0719656, 0.997407, 0.00763035, -0.434548, -0.0181565) [node name="Plane_002_Material_0" parent="Mesh/Mech/Sketchfab_model/bed584e06fe94e71a7ac484cee9f0a16_fbx/Object_2/RootNode/Armature/Object_5/Skeleton3D" index="6"] -transform = Transform3D(0.999994, 0.00106914, 0.00340183, -0.00120121, 0.999237, 0.0390334, -0.00335757, -0.0390372, 0.999232, -0.0153778, 0.0144829, 0.0863199) +transform = Transform3D(0.999994, 0.00106987, 0.00340071, -0.00120181, 0.999237, 0.0390334, -0.00335636, -0.0390373, 0.999232, -0.0153739, 0.0144867, 0.0863142) [node name="Plane_013_Material_0" parent="Mesh/Mech/Sketchfab_model/bed584e06fe94e71a7ac484cee9f0a16_fbx/Object_2/RootNode/Armature/Object_5/Skeleton3D" index="7"] -transform = Transform3D(0.999994, 0.00106914, 0.00340183, -0.00120121, 0.999237, 0.0390334, -0.00335757, -0.0390372, 0.999232, -0.0153778, 0.0144829, 0.0863199) +transform = Transform3D(0.999994, 0.00106987, 0.00340071, -0.00120181, 0.999237, 0.0390334, -0.00335636, -0.0390373, 0.999232, -0.0153739, 0.0144867, 0.0863142) [node name="Cube_007_Material_0" parent="Mesh/Mech/Sketchfab_model/bed584e06fe94e71a7ac484cee9f0a16_fbx/Object_2/RootNode/Armature/Object_5/Skeleton3D" index="8"] -transform = Transform3D(0.999996, -0.000997476, 0.00280916, 0.000848778, 0.998625, 0.0524211, -0.00285763, -0.0524184, 0.998621, -0.0116279, -0.0329653, 0.014776) +transform = Transform3D(0.999996, -0.000996836, 0.00280821, 0.000848271, 0.998625, 0.0524202, -0.00285663, -0.0524175, 0.998621, -0.0116246, -0.0329599, 0.0147698) [node name="Plane_015_Material_0" parent="Mesh/Mech/Sketchfab_model/bed584e06fe94e71a7ac484cee9f0a16_fbx/Object_2/RootNode/Armature/Object_5/Skeleton3D" index="9"] -transform = Transform3D(0.999992, -0.00021378, 0.00399574, 0.000539087, 0.996664, -0.0816091, -0.00396505, 0.0816106, 0.996656, -0.0147936, 0.26262, -0.0767398) +transform = Transform3D(0.999992, -0.000213325, 0.00399523, 0.000538677, 0.996664, -0.08161, -0.00396454, 0.0816114, 0.996656, -0.0147908, 0.262625, -0.0767446) [node name="Cube_010_Material_0" parent="Mesh/Mech/Sketchfab_model/bed584e06fe94e71a7ac484cee9f0a16_fbx/Object_2/RootNode/Armature/Object_5/Skeleton3D" index="10"] -transform = Transform3D(1, -0.000213258, -0.00104333, 0.000288401, 0.997361, 0.0726059, 0.00102499, -0.0726059, 0.99736, 0.00671315, -0.439387, -0.187011) +transform = Transform3D(1, -0.000212753, -0.0010438, 0.000287985, 0.997361, 0.0726049, 0.00102556, -0.072605, 0.99736, 0.00671554, -0.439381, -0.187017) [node name="Cube_012_Material_0" parent="Mesh/Mech/Sketchfab_model/bed584e06fe94e71a7ac484cee9f0a16_fbx/Object_2/RootNode/Armature/Object_5/Skeleton3D" index="11"] -transform = Transform3D(1, -0.00046258, -0.000726788, 0.000487272, 0.999408, 0.0344182, 0.000710333, -0.0344184, 0.999408, 0.00507379, -0.229181, -0.215151) +transform = Transform3D(1, -0.000462148, -0.000727294, 0.000486914, 0.999408, 0.0344181, 0.000710927, -0.0344183, 0.999408, 0.00507665, -0.229179, -0.215157) [node name="Cylinder_002_Material_0" parent="Mesh/Mech/Sketchfab_model/bed584e06fe94e71a7ac484cee9f0a16_fbx/Object_2/RootNode/Armature/Object_5/Skeleton3D" index="12"] -transform = Transform3D(1, -1.77636e-15, 0, -1.77636e-15, 1, -4.37113e-08, 0, 4.37113e-08, 1, 0, -0.0062533, -0.245515) +transform = Transform3D(1, -1.77636e-15, 0, -1.77636e-15, 1, -4.37113e-08, 0, 4.37113e-08, 1, 0, -0.0062533, -0.245519) [node name="Cube_006_Material_0" parent="Mesh/Mech/Sketchfab_model/bed584e06fe94e71a7ac484cee9f0a16_fbx/Object_2/RootNode/Armature/Object_5/Skeleton3D" index="13"] -transform = Transform3D(1, 6.9661e-08, 3.26919e-07, -6.96939e-08, 1, 9.79604e-05, -3.27074e-07, -9.79305e-05, 1, -3.93391e-06, -0.00608826, -0.245136) +transform = Transform3D(1, 6.998e-08, 3.2558e-07, -6.99538e-08, 1, 9.77815e-05, -3.25736e-07, -9.77517e-05, 1, -3.8147e-06, -0.00608635, -0.24514) [node name="Cube_017_Material_0" parent="Mesh/Mech/Sketchfab_model/bed584e06fe94e71a7ac484cee9f0a16_fbx/Object_2/RootNode/Armature/Object_5/Skeleton3D" index="14"] -transform = Transform3D(1, -6.86197e-08, -3.25523e-07, 6.86223e-08, 1, 9.79902e-05, 3.25503e-07, -9.79305e-05, 1, 3.8147e-06, -0.00608897, -0.245137) +transform = Transform3D(1, -6.91137e-08, -3.24242e-07, 6.90953e-08, 1, 9.77815e-05, 3.24281e-07, -9.77517e-05, 1, 3.8147e-06, -0.00608659, -0.245141) [node name="Cube_005_Material_0" parent="Mesh/Mech/Sketchfab_model/bed584e06fe94e71a7ac484cee9f0a16_fbx/Object_2/RootNode/Armature/Object_5/Skeleton3D" index="15"] -transform = Transform3D(1, -1.7053e-13, -3.41061e-13, 2.84217e-13, 1, 0.000268638, 3.41061e-13, -0.000268638, 1, -9.09154e-13, -0.00799316, -0.245517) +transform = Transform3D(1, -1.42109e-13, -3.41061e-13, 2.27374e-13, 1, 0.000268638, 3.97904e-13, -0.000268638, 1, -9.09154e-13, -0.00799316, -0.245521) [node name="Cube_005_Inside_0" parent="Mesh/Mech/Sketchfab_model/bed584e06fe94e71a7ac484cee9f0a16_fbx/Object_2/RootNode/Armature/Object_5/Skeleton3D" index="16"] -transform = Transform3D(1, -1.7053e-13, -3.41061e-13, 2.84217e-13, 1, 0.000268638, 3.41061e-13, -0.000268638, 1, -9.09154e-13, -0.00799316, -0.245517) +transform = Transform3D(1, -1.42109e-13, -3.41061e-13, 2.27374e-13, 1, 0.000268638, 3.97904e-13, -0.000268638, 1, -9.09154e-13, -0.00799316, -0.245521) [node name="Plane_003_Material_0" parent="Mesh/Mech/Sketchfab_model/bed584e06fe94e71a7ac484cee9f0a16_fbx/Object_2/RootNode/Armature/Object_5/Skeleton3D" index="17"] -transform = Transform3D(1, 1.08713e-10, -1.01801e-08, -1.07377e-10, 1, 0.000269271, 1.01596e-08, -0.000269271, 1, -2.38419e-07, -0.00799751, -0.245515) +transform = Transform3D(1, 1.0877e-10, -1.02383e-08, -1.0732e-10, 1, 0.000269271, 1.02178e-08, -0.000269271, 1, -2.38419e-07, -0.00799751, -0.245519) [node name="Plane_016_Material_0" parent="Mesh/Mech/Sketchfab_model/bed584e06fe94e71a7ac484cee9f0a16_fbx/Object_2/RootNode/Armature/Object_5/Skeleton3D" index="18"] -transform = Transform3D(1, -1.08713e-10, 1.01801e-08, 1.07377e-10, 1, 0.000269271, -1.01596e-08, -0.000269271, 1, 2.38419e-07, -0.00799751, -0.245515) +transform = Transform3D(1, -1.0877e-10, 1.02383e-08, 1.0732e-10, 1, 0.000269271, -1.02178e-08, -0.000269271, 1, 2.38419e-07, -0.00799751, -0.245519) [node name="Cube_008_Material_0" parent="Mesh/Mech/Sketchfab_model/bed584e06fe94e71a7ac484cee9f0a16_fbx/Object_2/RootNode/Armature/Object_5/Skeleton3D" index="19"] -transform = Transform3D(1, -2.63915e-23, -1.77222e-27, 2.63915e-23, 1, 0.000269554, -5.34171e-27, -0.000269554, 1, -1.16428e-18, -0.00799793, -0.245515) +transform = Transform3D(1, -2.63915e-23, -1.77221e-27, 2.63915e-23, 1, 0.000269554, -5.34171e-27, -0.000269554, 1, -1.16428e-18, -0.00799793, -0.245519) [node name="Cube_008_Inside_0" parent="Mesh/Mech/Sketchfab_model/bed584e06fe94e71a7ac484cee9f0a16_fbx/Object_2/RootNode/Armature/Object_5/Skeleton3D" index="20"] -transform = Transform3D(1, -2.63915e-23, -1.77222e-27, 2.63915e-23, 1, 0.000269554, -5.34171e-27, -0.000269554, 1, -1.16428e-18, -0.00799793, -0.245515) +transform = Transform3D(1, -2.63915e-23, -1.77221e-27, 2.63915e-23, 1, 0.000269554, -5.34171e-27, -0.000269554, 1, -1.16428e-18, -0.00799793, -0.245519) [node name="Plane_006_Material_0" parent="Mesh/Mech/Sketchfab_model/bed584e06fe94e71a7ac484cee9f0a16_fbx/Object_2/RootNode/Armature/Object_5/Skeleton3D" index="21"] -transform = Transform3D(0.999992, -0.00027217, -0.00405152, 0.000478804, 0.998694, 0.0511049, 0.00403222, -0.0511064, 0.998686, 0.014437, -0.0498974, 0.0695601) +transform = Transform3D(0.999992, -0.000273302, -0.00405153, 0.000479981, 0.998694, 0.0511027, 0.00403227, -0.0511041, 0.998685, 0.014441, -0.0498836, 0.069557) [node name="Plane_008_Material_0" parent="Mesh/Mech/Sketchfab_model/bed584e06fe94e71a7ac484cee9f0a16_fbx/Object_2/RootNode/Armature/Object_5/Skeleton3D" index="22"] -transform = Transform3D(0.999989, -0.00108321, -0.00453538, 0.00131534, 0.998673, 0.0514989, 0.00447351, -0.0515043, 0.998663, 0.0156498, -0.0485841, 0.0698172) +transform = Transform3D(0.999989, -0.00108357, -0.00453627, 0.00131577, 0.998673, 0.051497, 0.00447445, -0.0515022, 0.998663, 0.0156541, -0.0485729, 0.0698174) [node name="Cube_004_Material_0" parent="Mesh/Mech/Sketchfab_model/bed584e06fe94e71a7ac484cee9f0a16_fbx/Object_2/RootNode/Armature/Object_5/Skeleton3D" index="23"] -transform = Transform3D(0.999998, 0.000604123, -0.00197114, -0.000604903, 1, -0.000349, 0.00197086, 0.000350282, 0.999998, 0.0118337, -0.0117831, 0.0097774) +transform = Transform3D(0.999998, 0.000603536, -0.00197171, -0.00060422, 1, -0.00035131, 0.0019715, 0.000352666, 0.999998, 0.0118382, -0.0117709, 0.00977635) [node name="Plane_005_Material_0" parent="Mesh/Mech/Sketchfab_model/bed584e06fe94e71a7ac484cee9f0a16_fbx/Object_2/RootNode/Armature/Object_5/Skeleton3D" index="24"] -transform = Transform3D(0.999994, 0.00179173, -0.00317816, -0.00159477, 0.998153, 0.0607463, 0.00328055, -0.060741, 0.998148, 0.0119696, -0.0813721, 0.0247641) +transform = Transform3D(0.999994, 0.00179106, -0.00317859, -0.00159411, 0.998152, 0.0607441, 0.0032811, -0.0607389, 0.998148, 0.0119734, -0.0813601, 0.0247627) [node name="Cube_003_Material_0" parent="Mesh/Mech/Sketchfab_model/bed584e06fe94e71a7ac484cee9f0a16_fbx/Object_2/RootNode/Armature/Object_5/Skeleton3D" index="25"] -transform = Transform3D(0.999995, 0.000570633, -0.00316951, -0.000521623, 0.99988, 0.0154697, 0.00317786, -0.0154679, 0.999875, 0.0122778, -0.0176382, 0.0104029) +transform = Transform3D(0.999995, 0.000570126, -0.00317011, -0.000521034, 0.99988, 0.0154676, 0.00317855, -0.0154657, 0.999875, 0.0122821, -0.0176265, 0.0104017) [node name="Plane_007_Material_0" parent="Mesh/Mech/Sketchfab_model/bed584e06fe94e71a7ac484cee9f0a16_fbx/Object_2/RootNode/Armature/Object_5/Skeleton3D" index="26"] -transform = Transform3D(0.999998, 0.00187047, 0.000814401, -0.00192931, 0.99684, 0.0794136, -0.0006634, -0.0794149, 0.996841, -0.00778913, -0.481897, -0.00567913) +transform = Transform3D(0.999998, 0.00187063, 0.000813936, -0.00192934, 0.99684, 0.0794113, -0.000662819, -0.0794127, 0.996842, -0.0077858, -0.481886, -0.00568295) [node name="Plane_014_Material_0" parent="Mesh/Mech/Sketchfab_model/bed584e06fe94e71a7ac484cee9f0a16_fbx/Object_2/RootNode/Armature/Object_5/Skeleton3D" index="27"] -transform = Transform3D(0.999994, -0.00116175, -0.00336951, 0.00133206, 0.998698, 0.0509981, 0.00330577, -0.0510023, 0.998693, 0.0154228, -0.0365751, 0.104136) +transform = Transform3D(0.999994, -0.0011625, -0.00336945, 0.00133286, 0.998698, 0.0509962, 0.00330578, -0.0510004, 0.998693, 0.0154266, -0.0365633, 0.104132) [node name="Plane_010_Material_0" parent="Mesh/Mech/Sketchfab_model/bed584e06fe94e71a7ac484cee9f0a16_fbx/Object_2/RootNode/Armature/Object_5/Skeleton3D" index="28"] -transform = Transform3D(0.999992, -0.00200807, -0.00356642, 0.00218861, 0.998678, 0.0513718, 0.00345845, -0.0513791, 0.998674, 0.0169716, -0.0366606, 0.102826) +transform = Transform3D(0.999992, -0.00200857, -0.0035671, 0.0021892, 0.998678, 0.05137, 0.00345919, -0.0513774, 0.998674, 0.0169764, -0.0366492, 0.102825) [node name="Cube_014_Material_0" parent="Mesh/Mech/Sketchfab_model/bed584e06fe94e71a7ac484cee9f0a16_fbx/Object_2/RootNode/Armature/Object_5/Skeleton3D" index="29"] -transform = Transform3D(0.999996, 0.000964411, -0.00283737, -0.000791483, 0.998177, 0.0603464, 0.0028903, -0.0603439, 0.998173, 0.0117209, -0.0768697, 0.0255554) +transform = Transform3D(0.999995, 0.000963926, -0.00283785, -0.000790909, 0.998177, 0.0603449, 0.00289084, -0.0603424, 0.998173, 0.0117249, -0.0768592, 0.0255539) [node name="Plane_001_Material_0" parent="Mesh/Mech/Sketchfab_model/bed584e06fe94e71a7ac484cee9f0a16_fbx/Object_2/RootNode/Armature/Object_5/Skeleton3D" index="30"] -transform = Transform3D(0.999992, 0.000167646, -0.00404255, -0.000474326, 0.997111, -0.0759681, 0.00401805, 0.0759694, 0.997102, 0.0149364, 0.223073, -0.0695429) +transform = Transform3D(0.999992, 0.000167109, -0.00404328, -0.000473782, 0.99711, -0.0759701, 0.0040189, 0.0759714, 0.997102, 0.0149415, 0.223085, -0.0695434) [node name="Cube_015_Material_0" parent="Mesh/Mech/Sketchfab_model/bed584e06fe94e71a7ac484cee9f0a16_fbx/Object_2/RootNode/Armature/Object_5/Skeleton3D" index="31"] -transform = Transform3D(1, 0.00018042, 0.00107741, -0.000267006, 0.996724, 0.0808734, -0.00105935, -0.0808736, 0.996724, -0.00690508, -0.491641, -0.176653) +transform = Transform3D(1, 0.000180077, 0.00107653, -0.000266541, 0.996724, 0.0808727, -0.00105843, -0.0808728, 0.996724, -0.00689936, -0.491635, -0.176655) [node name="Cube_001_Material_0" parent="Mesh/Mech/Sketchfab_model/bed584e06fe94e71a7ac484cee9f0a16_fbx/Object_2/RootNode/Armature/Object_5/Skeleton3D" index="32"] -transform = Transform3D(1, 0.000426796, 0.000761892, -0.000458497, 0.999116, 0.0420454, -0.000743346, -0.0420458, 0.999116, -0.00527024, -0.278019, -0.206999) +transform = Transform3D(1, 0.000426453, 0.0007611, -0.000458066, 0.999116, 0.0420446, -0.000742497, -0.042045, 0.999116, -0.00526524, -0.278013, -0.207001) [node name="Cylinder_001_Material_0" parent="Mesh/Mech/Sketchfab_model/bed584e06fe94e71a7ac484cee9f0a16_fbx/Object_2/RootNode/Armature/Object_5/Skeleton3D" index="33"] -transform = Transform3D(1, 1.77636e-15, 0, 1.77636e-15, 1, -4.37113e-08, 0, 4.37113e-08, 1, 0, -0.0062533, -0.245515) +transform = Transform3D(1, 1.77636e-15, 0, 1.77636e-15, 1, -4.37113e-08, 0, 4.37113e-08, 1, 0, -0.0062533, -0.245519) [node name="CameraRoot" type="Node3D" parent="." index="6"] transform = Transform3D(1, 0, 0, 0, 0.965926, -0.258819, 0, 0.258819, 0.965926, 0, 2, 0) diff --git a/src/shaders/sunny_sky_compat.gdshader b/src/shaders/sunny_sky_compat.gdshader new file mode 100644 index 0000000..03482e7 --- /dev/null +++ b/src/shaders/sunny_sky_compat.gdshader @@ -0,0 +1,180 @@ +/* "Sunny Sky" + * adapted from https://www.shadertoy.com/view/wt2Gzc + */ + +shader_type sky; + +uniform vec3 sun_color : source_color = vec3(1.0, 1.0, 1.0); +uniform vec3 sky_color : source_color = vec3(0.0, 0.0, 0.0); + +uniform float threshold: hint_range(0.0, 1.0) = 0.3; +uniform float speed = 0.02; +uniform float rotation = 4.0; + + +// Noise implementation shamelessly ripped from https://godotshaders.com/shader/corner-void/ + +vec3 mod289(vec3 x) { + return x - floor(x * (1.0 / 289.0)) * 289.0; +} + +vec4 mod2891(vec4 x) { + return x - floor(x * (1.0 / 289.0)) * 289.0; +} + +vec4 permute(vec4 x) { + return mod2891(((x*34.0)+1.0)*x); +} + +vec4 taylorInvSqrt(vec4 r) +{ + return 1.79284291400159 - 0.85373472095314 * r; +} + +float snoise(vec3 v) { + const vec2 C = vec2(1.0/6.0, 1.0/3.0) ; + const vec4 D = vec4(0.0, 0.5, 1.0, 2.0); + + // First corner + vec3 i = floor(v + dot(v, C.yyy) ); + vec3 x0 = v - i + dot(i, C.xxx) ; + + // Other corners + vec3 g = step(x0.yzx, x0.xyz); + vec3 l = 1.0 - g; + vec3 i1 = min( g.xyz, l.zxy ); + vec3 i2 = max( g.xyz, l.zxy ); + + // x0 = x0 - 0.0 + 0.0 * C.xxx; + // x1 = x0 - i1 + 1.0 * C.xxx; + // x2 = x0 - i2 + 2.0 * C.xxx; + // x3 = x0 - 1.0 + 3.0 * C.xxx; + vec3 x1 = x0 - i1 + C.xxx; + vec3 x2 = x0 - i2 + C.yyy; // 2.0*C.x = 1/3 = C.y + vec3 x3 = x0 - D.yyy; // -1.0+3.0*C.x = -0.5 = -D.y + + // Permutations + i = mod289(i); + vec4 p = permute( permute( permute( + i.z + vec4(0.0, i1.z, i2.z, 1.0 )) + + i.y + vec4(0.0, i1.y, i2.y, 1.0 )) + + i.x + vec4(0.0, i1.x, i2.x, 1.0 )); + + // Gradients: 7x7 points over a square, mapped onto an octahedron. + // The ring size 17*17 = 289 is close to a multiple of 49 (49*6 = 294) + float n_ = 0.142857142857; // 1.0/7.0 + vec3 ns = n_ * D.wyz - D.xzx; + + vec4 j = p - 49.0 * floor(p * ns.z * ns.z); // mod(p,7*7) + + vec4 x_ = floor(j * ns.z); + vec4 y_ = floor(j - 7.0 * x_ ); // mod(j,N) + + vec4 x = x_ *ns.x + ns.yyyy; + vec4 y = y_ *ns.x + ns.yyyy; + vec4 h = 1.0 - abs(x) - abs(y); + + vec4 b0 = vec4( x.xy, y.xy ); + vec4 b1 = vec4( x.zw, y.zw ); + + //vec4 s0 = vec4(lessThan(b0,0.0))*2.0 - 1.0; + //vec4 s1 = vec4(lessThan(b1,0.0))*2.0 - 1.0; + vec4 s0 = floor(b0)*2.0 + 1.0; + vec4 s1 = floor(b1)*2.0 + 1.0; + vec4 sh = -step(h, vec4(0.0)); + + vec4 a0 = b0.xzyw + s0.xzyw*sh.xxyy ; + vec4 a1 = b1.xzyw + s1.xzyw*sh.zzww ; + + vec3 p0 = vec3(a0.xy,h.x); + vec3 p1 = vec3(a0.zw,h.y); + vec3 p2 = vec3(a1.xy,h.z); + vec3 p3 = vec3(a1.zw,h.w); + + //Normalise gradients + vec4 norm = taylorInvSqrt(vec4(dot(p0,p0), dot(p1,p1), dot(p2, p2), dot(p3,p3))); + p0 *= norm.x; + p1 *= norm.y; + p2 *= norm.z; + p3 *= norm.w; + + // Mix final noise value + vec4 m = max(0.5 - vec4(dot(x0,x0), dot(x1,x1), dot(x2,x2), dot(x3,x3)), 0.0); + m = m * m; + return 42.0 * dot( m*m, vec4( dot(p0,x0), dot(p1,x1), + dot(p2,x2), dot(p3,x3) ) ); +} + +// Fractal Brownian Noise +// see https://github.com/MaxBittker/glsl-fractal-brownian-noise/blob/master/3d.glsl +float fbm3d(vec3 x, const in int it) { + float v = 0.0; + float a = 0.5; + vec3 shift = vec3(100.0); + + for (int i = 0; i < 32; i++) { + if (i < it) { + v += a * snoise(10.0*x); + x = x * 2.0 + shift; + a *= 0.5; + } + } + + return v; +} + +float luminance(vec3 color) { + return 0.2126 * color.r + 0.7152 * color.g + 0.0722 * color.b; +} + +void sky() { + if (EYEDIR.y > 0.0) { + float t = TIME * -speed; + + vec2 uv = (EYEDIR.xz * 0.3); + vec2 st = vec2( + length(uv) * 1.5, + atan(uv.y, uv.x) + ); + + st.y += st.x * rotation; + + float x = fbm3d( + vec3( + sin(st.y), + cos(st.y), + pow(st.x, 0.3) + t * 0.1 + ), + 3 + ); + float y = fbm3d( + vec3( + sin(1.0 - st.y), + cos(1.0 - st.y), + pow(st.x, 0.5) + t * 0.1 + ), + 4 + ); + + float r = fbm3d( + vec3( + x, + y, + st.x + t * 0.3 + ), + 5 + ); + + r = fbm3d( + vec3( + r - x, + r - y, + r + t * 0.3 + ), + 6 + ); + + float c = (r + st.x * 5.0) / 6.0; + COLOR.rgb = c < threshold ? sun_color : sky_color; + } +} diff --git a/src/ui/blinker.tscn b/src/ui/blinker.tscn index e2144e1..3eb0a1c 100644 --- a/src/ui/blinker.tscn +++ b/src/ui/blinker.tscn @@ -2,6 +2,21 @@ [ext_resource type="Script" path="res://src/ui/blinker.gd" id="1_o3xfe"] +[sub_resource type="Animation" id="Animation_mo2jf"] +length = 0.001 +tracks/0/type = "value" +tracks/0/imported = false +tracks/0/enabled = true +tracks/0/path = NodePath(".:visible") +tracks/0/interp = 1 +tracks/0/loop_wrap = true +tracks/0/keys = { +"times": PackedFloat32Array(0), +"transitions": PackedFloat32Array(1), +"update": 1, +"values": [true] +} + [sub_resource type="Animation" id="Animation_36pgo"] resource_name = "blink" loop_mode = 1 @@ -19,21 +34,6 @@ tracks/0/keys = { "values": [true, false, true] } -[sub_resource type="Animation" id="Animation_mo2jf"] -length = 0.001 -tracks/0/type = "value" -tracks/0/imported = false -tracks/0/enabled = true -tracks/0/path = NodePath(".:visible") -tracks/0/interp = 1 -tracks/0/loop_wrap = true -tracks/0/keys = { -"times": PackedFloat32Array(0), -"transitions": PackedFloat32Array(1), -"update": 1, -"values": [true] -} - [sub_resource type="AnimationLibrary" id="AnimationLibrary_r8r3g"] _data = { "RESET": SubResource("Animation_mo2jf"),