Debuggage pawn

pull/19/head
Valentin Stark 3 years ago
parent 1581052ef2
commit 296474e274
  1. 18
      .godot/editor/camera.tscn-editstate-171b6540a4c3cdae5b0905e52ed5116f.cfg
  2. 2
      .godot/editor/editor_layout.cfg
  3. 24
      .godot/editor/filesystem_cache8
  4. 5
      .godot/editor/filesystem_update4
  5. 2
      .godot/editor/project_metadata.cfg
  6. 52
      .godot/editor/script_editor_cache.cfg
  7. BIN
      .godot/uid_cache.bin
  8. 44
      scenes/Pawn.tscn
  9. 2
      scripts/Pawn.gd

@ -8,7 +8,7 @@ Anim={
"grid_snap_active": false, "grid_snap_active": false,
"grid_step": Vector2(8, 8), "grid_step": Vector2(8, 8),
"grid_visibility": 1, "grid_visibility": 1,
"ofs": Vector2(-847.508, -325.329), "ofs": Vector2(-114.654, -46.1878),
"primary_grid_steps": 8, "primary_grid_steps": 8,
"show_edit_locks": true, "show_edit_locks": true,
"show_guides": true, "show_guides": true,
@ -32,7 +32,7 @@ Anim={
"snap_rotation_step": 0.261799, "snap_rotation_step": 0.261799,
"snap_scale": false, "snap_scale": false,
"snap_scale_step": 0.1, "snap_scale_step": 0.1,
"zoom": 0.561231 "zoom": 5.65685
} }
3D={ 3D={
"fov": 70.01, "fov": 70.01,
@ -85,31 +85,31 @@ Anim={
"sun_max_distance": 100.0, "sun_max_distance": 100.0,
"sun_rotation": Vector2(-1.0472, 2.61799) "sun_rotation": Vector2(-1.0472, 2.61799)
}, },
"rotate_snap": 5.0, "rotate_snap": 0.555556,
"scale_snap": 5.0, "scale_snap": 1.25,
"show_grid": true, "show_grid": true,
"show_origin": true, "show_origin": true,
"snap_enabled": false, "snap_enabled": false,
"translate_snap": 0.1, "translate_snap": 0.001,
"viewport_mode": 1, "viewport_mode": 1,
"viewports": [{ "viewports": [{
"auto_orthogonal": false, "auto_orthogonal": false,
"auto_orthogonal_enabled": true, "auto_orthogonal_enabled": true,
"cinematic_preview": false, "cinematic_preview": false,
"display_mode": 20, "display_mode": 20,
"distance": 8.63572, "distance": 6.89487,
"doppler": false, "doppler": false,
"frame_time": false, "frame_time": false,
"gizmos": true, "gizmos": true,
"half_res": false, "half_res": false,
"information": false, "information": false,
"listener": true, "listener": true,
"position": Vector3(0, 0, 0), "position": Vector3(0, 0.0473186, 0),
"use_environment": false, "use_environment": false,
"use_orthogonal": false, "use_orthogonal": false,
"view_type": 0, "view_type": 0,
"x_rotation": 0.0418504, "x_rotation": 0.661445,
"y_rotation": -8.20563 "y_rotation": -8.48052
}, { }, {
"auto_orthogonal": false, "auto_orthogonal": false,
"auto_orthogonal_enabled": true, "auto_orthogonal_enabled": true,

@ -20,7 +20,7 @@ open_scenes=["res://scenes/WorldGeneration.tscn", "res://scenes/camera.tscn", "r
[ScriptEditor] [ScriptEditor]
open_scripts=["res://scripts/Board.gd", "res://scripts/Camera3D.gd", "res://scripts/Chunk.gd", "res://scripts/Entity.gd", "res://scripts/Ground.gd", "res://scripts/Pawn.gd", "res://scripts/Map.gd", "res://scripts/Map_Cursor.gd", "res://scripts/World.gd", "res://scripts/WorldGeneration.gd"] open_scripts=["res://scripts/Board.gd", "res://scripts/Camera3D.gd", "res://scripts/Chunk.gd", "res://scripts/Entity.gd", "res://scripts/Ground.gd", "res://scripts/Map.gd", "res://scripts/Map_Cursor.gd", "res://scripts/Pawn.gd", "res://scripts/World.gd", "res://scripts/WorldGeneration.gd"]
open_help=["Vector2i"] open_help=["Vector2i"]
script_split_offset=70 script_split_offset=70
list_split_offset=0 list_split_offset=0

@ -1,5 +1,5 @@
2a60927148abd1d33b818b535e306557 2a60927148abd1d33b818b535e306557
::res://::1680636497 ::res://::1680729873
export_presets.cfg::TextFile::-1::1680357289::0::1::::<><>:: export_presets.cfg::TextFile::-1::1680357289::0::1::::<><>::
icon.png::CompressedTexture2D::4672001524465425285::1676578483::1676582905::1::::<><>:: icon.png::CompressedTexture2D::4672001524465425285::1676578483::1676582905::1::::<><>::
README.md::TextFile::-1::1676578483::0::1::::<><>:: README.md::TextFile::-1::1676578483::0::1::::<><>::
@ -43,29 +43,29 @@ untitled_sword_metal.png::CompressedTexture2D::4375004727585147220::1679673440::
::res://assets/ui/::1680363317 ::res://assets/ui/::1680363317
bloc_select.png::CompressedTexture2D::1141775147858261351::1677618805::1677619095::1::::<><>:: bloc_select.png::CompressedTexture2D::1141775147858261351::1677618805::1677619095::1::::<><>::
cursor.png::CompressedTexture2D::1407698875963358091::1664126270::1680363317::1::::<><>:: cursor.png::CompressedTexture2D::1407698875963358091::1664126270::1680363317::1::::<><>::
::res://scenes/::1680636497 ::res://scenes/::1680645800
3DWorld.gdshader::Shader::-1::1680357289::0::1::::<><>:: 3DWorld.gdshader::Shader::-1::1680357289::0::1::::<><>::
3DWorld.tscn::PackedScene::3599411568061770725::1680365982::0::1::::<><>::res://scripts/Ground.gd<>res://scripts/Board.gd<>uid://dur874iy77jjr<>uid://qjc4ttmkxbch<>uid://dd7byfyvsblbw 3DWorld.tscn::PackedScene::3599411568061770725::1680365982::0::1::::<><>::res://scripts/Ground.gd<>res://scripts/Board.gd<>uid://dur874iy77jjr<>uid://qjc4ttmkxbch<>uid://dd7byfyvsblbw
3DWorld.VoxelGI_data.res::VoxelGIData::7277764935364316181::1680357289::0::1::::<><>:: 3DWorld.VoxelGI_data.res::VoxelGIData::7277764935364316181::1680357289::0::1::::<><>::
camera.tscn::PackedScene::7435992546840103852::1680636506::0::1::::<><>::res://scripts/Camera3D.gd camera.tscn::PackedScene::7435992546840103852::1680645800::0::1::::<><>::res://scripts/Camera3D.gd
fog.gdshader::Shader::-1::1680357289::0::1::::<><>:: fog.gdshader::Shader::-1::1680357289::0::1::::<><>::
Game.tscn::PackedScene::9075056520838281688::1680365982::0::1::::<><>::uid://brjt1u0dgbmi4<>uid://d1sd7pxywgunu Game.tscn::PackedScene::9075056520838281688::1680365982::0::1::::<><>::uid://brjt1u0dgbmi4<>uid://d1sd7pxywgunu
HUD.tscn::PackedScene::9021570906125339886::1680365982::0::1::::<><>::uid://dla77ra2m245t HUD.tscn::PackedScene::9021570906125339886::1680365982::0::1::::<><>::uid://dla77ra2m245t
Instance.tscn::PackedScene::-1::1680636497::0::1::::<><>::res://scripts/Pawn.gd<>uid://dw2latnr2vbxc<>uid://cfd2s833ldeuy<>uid://bavhx67iarml6<>uid://b3ljxodmxmuhg<>uid://c831hydrcv4i6
Map.tscn::PackedScene::7933340314411983611::1680365982::0::1::::<><>::res://scripts/Map.gd<>uid://ub5uhu2a7etv<>res://scripts/Map_Cursor.gd Map.tscn::PackedScene::7933340314411983611::1680365982::0::1::::<><>::res://scripts/Map.gd<>uid://ub5uhu2a7etv<>res://scripts/Map_Cursor.gd
WorldGeneration.tscn::PackedScene::1108513713840477990::1680636283::0::1::::<><>::res://scripts/WorldGeneration.gd Pawn.tscn::PackedScene::255140051271089418::1680645800::0::1::::<><>::res://scripts/Pawn.gd<>uid://dw2latnr2vbxc<>uid://cfd2s833ldeuy<>uid://bavhx67iarml6<>uid://b3ljxodmxmuhg<>uid://c831hydrcv4i6
WorldGeneration.tscn::PackedScene::1108513713840477990::1680645800::0::1::::<><>::res://scripts/WorldGeneration.gd
::res://scenes/MultiColorFog/::1680357289 ::res://scenes/MultiColorFog/::1680357289
MultiColorFogMaterial.tres::ShaderMaterial::-1::1680357289::0::1::::<><>::res://MultiColorFog/MultiColorFog.shader MultiColorFogMaterial.tres::ShaderMaterial::-1::1680357289::0::1::::<><>::res://MultiColorFog/MultiColorFog.shader
MultiColorFogOverlay.tscn::PackedScene::-1::1680357289::0::1::::<><>::res://MultiColorFog/MultiColorFogMaterial.tres MultiColorFogOverlay.tscn::PackedScene::-1::1680357289::0::1::::<><>::res://MultiColorFog/MultiColorFogMaterial.tres
::res://scripts/::1680636497 ::res://scripts/::1680645798
Board.gd::GDScript::-1::1680373251::0::1::::<>Node3D<>:: Board.gd::GDScript::-1::1680636926::0::1::::<>Node3D<>::
Camera3D.gd::GDScript::-1::1680363887::0::1::::<>Camera3D<>:: Camera3D.gd::GDScript::-1::1680363887::0::1::::<>Camera3D<>::
Chunk.gd::GDScript::-1::1680636506::0::1::::Chunk<>GridMap<>:: Chunk.gd::GDScript::-1::1680636506::0::1::::Chunk<>GridMap<>::
Entity.gd::GDScript::-1::1680460427::0::1::::Entity<>Node<>:: Entity.gd::GDScript::-1::1680460427::0::1::::Entity<>Node<>::
Global.gd::GDScript::-1::1677174532::0::1::::<>Node<>:: Global.gd::GDScript::-1::1677174532::0::1::::<>Node<>::
Ground.gd::GDScript::-1::1680634654::0::1::::<>Node3D<>:: Ground.gd::GDScript::-1::1680636926::0::1::::<>Node3D<>::
Map.gd::GDScript::-1::1678219623::0::1::::<>TextureRect<>:: Map.gd::GDScript::-1::1678219623::0::1::::<>TextureRect<>::
Map_Cursor.gd::GDScript::-1::1680365687::0::1::::<>TextureRect<>:: Map_Cursor.gd::GDScript::-1::1680636926::0::1::::<>TextureRect<>::
Pawn.gd::GDScript::-1::1680636330::0::1::::<>CharacterBody3D<>:: Pawn.gd::GDScript::-1::1680636872::0::1::::<>CharacterBody3D<>::
World.gd::GDScript::-1::1680636085::0::1::::World<>Node<>:: World.gd::GDScript::-1::1680636896::0::1::::World<>Node<>::
WorldGeneration.gd::GDScript::-1::1680357289::0::1::::<>Control<>:: WorldGeneration.gd::GDScript::-1::1680645798::0::1::::<>Control<>::

@ -1,10 +1,5 @@
res://scenes/WorldGeneration.tscn res://scenes/WorldGeneration.tscn
res://assets/water.material res://assets/water.material
res://scenes/camera.tscn res://scenes/camera.tscn
res://scripts/Instance3D.gd
res://scripts/Chunk.gd
res://scripts/Ground.gd
res://scripts/World.gd
res://scenes/Pawn.tscn res://scenes/Pawn.tscn
res://scripts/Board.gd
res://scripts/Pawn.gd res://scripts/Pawn.gd

@ -11,7 +11,7 @@ run_reload_scripts=true
[recent_files] [recent_files]
scenes=["res://scenes/Instance.tscn", "res://scenes/camera.tscn", "res://scenes/WorldGeneration.tscn", "res://scenes/Game.tscn", "res://scenes/Map.tscn", "res://scenes/HUD.tscn", "res://assets/blocs/blocs.tscn", "res://scenes/3DWorld.tscn", "res://test.tscn", "res://assets/entities/fox.tscn"] scenes=["res://scenes/Pawn.tscn", "res://scenes/camera.tscn", "res://scenes/WorldGeneration.tscn", "res://scenes/Instance.tscn", "res://scenes/Game.tscn", "res://scenes/Map.tscn", "res://scenes/HUD.tscn", "res://assets/blocs/blocs.tscn", "res://scenes/3DWorld.tscn", "res://test.tscn"]
scripts=["Vector2i", "res://scripts/Map_Cursor.gd", "res://scripts/Map.gd", "res://scripts/Camera3D.gd", "res://scripts/Entity.gd", "res://scripts/Chunk.gd", "res://scripts/Instance3D.gd", "res://scripts/WorldGeneration.gd", "res://scripts/World.gd", "res://scripts/Board.gd"] scripts=["Vector2i", "res://scripts/Map_Cursor.gd", "res://scripts/Map.gd", "res://scripts/Camera3D.gd", "res://scripts/Entity.gd", "res://scripts/Chunk.gd", "res://scripts/Instance3D.gd", "res://scripts/WorldGeneration.gd", "res://scripts/World.gd", "res://scripts/Board.gd"]
[color_picker] [color_picker]

@ -3,11 +3,11 @@
state={ state={
"bookmarks": PackedInt32Array(), "bookmarks": PackedInt32Array(),
"breakpoints": PackedInt32Array(), "breakpoints": PackedInt32Array(),
"column": 0, "column": 29,
"folded_lines": Array[int]([]), "folded_lines": Array[int]([]),
"h_scroll_position": 0, "h_scroll_position": 0,
"row": 51, "row": 49,
"scroll_position": 33.0, "scroll_position": 44.0,
"selection": false, "selection": false,
"syntax_highlighter": "GDScript" "syntax_highlighter": "GDScript"
} }
@ -17,12 +17,16 @@ state={
state={ state={
"bookmarks": PackedInt32Array(), "bookmarks": PackedInt32Array(),
"breakpoints": PackedInt32Array(), "breakpoints": PackedInt32Array(),
"column": 19, "column": 0,
"folded_lines": Array[int]([]), "folded_lines": Array[int]([]),
"h_scroll_position": 0, "h_scroll_position": 0,
"row": 14, "row": 59,
"scroll_position": 12.0, "scroll_position": 38.0,
"selection": false, "selection": true,
"selection_from_column": 0,
"selection_from_line": 58,
"selection_to_column": 20,
"selection_to_line": 58,
"syntax_highlighter": "GDScript" "syntax_highlighter": "GDScript"
} }
@ -35,7 +39,7 @@ state={
"folded_lines": Array[int]([]), "folded_lines": Array[int]([]),
"h_scroll_position": 0, "h_scroll_position": 0,
"row": 25, "row": 25,
"scroll_position": 16.0, "scroll_position": 14.0,
"selection": false, "selection": false,
"syntax_highlighter": "GDScript" "syntax_highlighter": "GDScript"
} }
@ -59,11 +63,11 @@ state={
state={ state={
"bookmarks": PackedInt32Array(), "bookmarks": PackedInt32Array(),
"breakpoints": PackedInt32Array(), "breakpoints": PackedInt32Array(),
"column": 59, "column": 53,
"folded_lines": Array[int]([]), "folded_lines": Array[int]([]),
"h_scroll_position": 0, "h_scroll_position": 0,
"row": 24, "row": 24,
"scroll_position": 0.0, "scroll_position": 13.0,
"selection": false, "selection": false,
"syntax_highlighter": "GDScript" "syntax_highlighter": "GDScript"
} }
@ -87,11 +91,11 @@ state={
state={ state={
"bookmarks": PackedInt32Array(), "bookmarks": PackedInt32Array(),
"breakpoints": PackedInt32Array(), "breakpoints": PackedInt32Array(),
"column": 39, "column": 24,
"folded_lines": Array[int]([]), "folded_lines": Array[int]([]),
"h_scroll_position": 0, "h_scroll_position": 0,
"row": 4, "row": 23,
"scroll_position": 0.0, "scroll_position": 11.0,
"selection": false, "selection": false,
"syntax_highlighter": "GDScript" "syntax_highlighter": "GDScript"
} }
@ -101,11 +105,11 @@ state={
state={ state={
"bookmarks": PackedInt32Array(), "bookmarks": PackedInt32Array(),
"breakpoints": PackedInt32Array(), "breakpoints": PackedInt32Array(),
"column": 46, "column": 43,
"folded_lines": Array[int]([]), "folded_lines": Array[int]([]),
"h_scroll_position": 0, "h_scroll_position": 0,
"row": 3, "row": 112,
"scroll_position": 0.0, "scroll_position": 113.0,
"selection": false, "selection": false,
"syntax_highlighter": "GDScript" "syntax_highlighter": "GDScript"
} }
@ -115,11 +119,11 @@ state={
state={ state={
"bookmarks": PackedInt32Array(), "bookmarks": PackedInt32Array(),
"breakpoints": PackedInt32Array(), "breakpoints": PackedInt32Array(),
"column": 25, "column": 0,
"folded_lines": Array[int]([]), "folded_lines": Array[int]([]),
"h_scroll_position": 0, "h_scroll_position": 0,
"row": 41, "row": 16,
"scroll_position": 0.0, "scroll_position": 2.0,
"selection": false, "selection": false,
"syntax_highlighter": "GDScript" "syntax_highlighter": "GDScript"
} }
@ -129,10 +133,10 @@ state={
state={ state={
"bookmarks": PackedInt32Array(), "bookmarks": PackedInt32Array(),
"breakpoints": PackedInt32Array(), "breakpoints": PackedInt32Array(),
"column": 87, "column": 15,
"folded_lines": Array[int]([]), "folded_lines": Array[int]([]),
"h_scroll_position": 0, "h_scroll_position": 0,
"row": 6, "row": 4,
"scroll_position": 0.0, "scroll_position": 0.0,
"selection": false, "selection": false,
"syntax_highlighter": "GDScript" "syntax_highlighter": "GDScript"
@ -143,11 +147,11 @@ state={
state={ state={
"bookmarks": PackedInt32Array(), "bookmarks": PackedInt32Array(),
"breakpoints": PackedInt32Array(), "breakpoints": PackedInt32Array(),
"column": 29, "column": 80,
"folded_lines": Array[int]([]), "folded_lines": Array[int]([]),
"h_scroll_position": 0, "h_scroll_position": 0,
"row": 6, "row": 48,
"scroll_position": 0.0, "scroll_position": 30.0,
"selection": false, "selection": false,
"syntax_highlighter": "GDScript" "syntax_highlighter": "GDScript"
} }

Binary file not shown.

@ -2092,15 +2092,15 @@ bones/4/name = "Bone"
bones/4/parent = -1 bones/4/parent = -1
bones/4/rest = Transform3D(1, -2.5291e-08, -6.43127e-08, 6.49611e-08, 0.0265338, 0.999648, -2.35757e-08, -0.999648, 0.0265338, 1.86265e-09, 0.417916, -2.98023e-08) bones/4/rest = Transform3D(1, -2.5291e-08, -6.43127e-08, 6.49611e-08, 0.0265338, 0.999648, -2.35757e-08, -0.999648, 0.0265338, 1.86265e-09, 0.417916, -2.98023e-08)
bones/4/enabled = true bones/4/enabled = true
bones/4/position = Vector3(3.91239e-09, 0.386056, -0.000845708) bones/4/position = Vector3(3.34977e-09, 0.394801, -0.000613583)
bones/4/rotation = Quaternion(-0.607638, 0.193784, 0.160594, 0.753282) bones/4/rotation = Quaternion(-0.623288, 0.0976344, 0.0784515, 0.771897)
bones/4/scale = Vector3(1, 1, 1) bones/4/scale = Vector3(1, 1, 1)
bones/5/name = "Bone.001" bones/5/name = "Bone.001"
bones/5/parent = 4 bones/5/parent = 4
bones/5/rest = Transform3D(1, 6.49611e-08, 3.22196e-08, 3.04846e-08, 0.0265337, -0.999648, -6.57931e-08, 0.999648, 0.0265337, 5.25223e-09, 1.53668e-08, 0.132351) bones/5/rest = Transform3D(1, 6.49611e-08, 3.22196e-08, 3.04846e-08, 0.0265337, -0.999648, -6.57931e-08, 0.999648, 0.0265337, 5.25223e-09, 1.53668e-08, 0.132351)
bones/5/enabled = true bones/5/enabled = true
bones/5/position = Vector3(5.25223e-09, 1.53668e-08, 0.132351) bones/5/position = Vector3(5.25223e-09, 1.53668e-08, 0.132351)
bones/5/rotation = Quaternion(0.634022, 2.33342e-08, -2.31092e-08, 0.773315) bones/5/rotation = Quaternion(0.643078, 3.46822e-08, -9.39092e-09, 0.7658)
bones/5/scale = Vector3(1, 1, 1) bones/5/scale = Vector3(1, 1, 1)
bones/6/name = "Hood" bones/6/name = "Hood"
bones/6/parent = 5 bones/6/parent = 5
@ -2121,14 +2121,14 @@ bones/8/parent = 7
bones/8/rest = Transform3D(0.432955, 0.625736, -0.648848, 0.0448991, 0.703947, 0.708832, 0.900297, -0.336025, 0.276682, 5.82709e-08, 0.177444, -2.03371e-08) bones/8/rest = Transform3D(0.432955, 0.625736, -0.648848, 0.0448991, 0.703947, 0.708832, 0.900297, -0.336025, 0.276682, 5.82709e-08, 0.177444, -2.03371e-08)
bones/8/enabled = true bones/8/enabled = true
bones/8/position = Vector3(5.82709e-08, 0.177444, -2.03371e-08) bones/8/position = Vector3(5.82709e-08, 0.177444, -2.03371e-08)
bones/8/rotation = Quaternion(-0.63615, -0.134884, -0.266328, 0.71147) bones/8/rotation = Quaternion(-0.638756, -0.13135, -0.249482, 0.715888)
bones/8/scale = Vector3(1, 1, 1) bones/8/scale = Vector3(1, 1, 1)
bones/9/name = "Bone.007" bones/9/name = "Bone.007"
bones/9/parent = 8 bones/9/parent = 8
bones/9/rest = Transform3D(0.993116, 0.117134, -5.41402e-07, -0.117134, 0.993116, 5.5995e-07, 6.03264e-07, -4.92679e-07, 1, -7.73984e-09, 0.162903, -8.55013e-08) bones/9/rest = Transform3D(0.993116, 0.117134, -5.41402e-07, -0.117134, 0.993116, 5.5995e-07, 6.03264e-07, -4.92679e-07, 1, -7.73984e-09, 0.162903, -8.55013e-08)
bones/9/enabled = true bones/9/enabled = true
bones/9/position = Vector3(-7.73984e-09, 0.162903, -8.55013e-08) bones/9/position = Vector3(-7.73984e-09, 0.162903, -8.55013e-08)
bones/9/rotation = Quaternion(-1.49501e-06, -2.65761e-07, -0.500688, 0.865628) bones/9/rotation = Quaternion(-1.51334e-06, -2.72949e-07, -0.522722, 0.852503)
bones/9/scale = Vector3(1, 1, 1) bones/9/scale = Vector3(1, 1, 1)
bones/10/name = "Sword" bones/10/name = "Sword"
bones/10/parent = 9 bones/10/parent = 9
@ -2141,15 +2141,15 @@ bones/11/name = "Bone.008"
bones/11/parent = 4 bones/11/parent = 4
bones/11/rest = Transform3D(1, 3.55271e-15, -3.8117e-08, 3.81036e-08, -0.0265341, 0.999648, -1.0114e-09, -0.999648, -0.0265341, 0.480619, 0.00333734, 0.125734) bones/11/rest = Transform3D(1, 3.55271e-15, -3.8117e-08, 3.81036e-08, -0.0265341, 0.999648, -1.0114e-09, -0.999648, -0.0265341, 0.480619, 0.00333734, 0.125734)
bones/11/enabled = true bones/11/enabled = true
bones/11/position = Vector3(0.327701, 0.0041771, -0.106871) bones/11/position = Vector3(0.327701, 0.00433575, -0.100894)
bones/11/rotation = Quaternion(-0.753282, 0.160594, -0.193783, 0.607638) bones/11/rotation = Quaternion(-0.771897, 0.0784515, -0.0976345, 0.623288)
bones/11/scale = Vector3(1, 1, 1) bones/11/scale = Vector3(1, 1, 1)
bones/12/name = "Bone.011" bones/12/name = "Bone.011"
bones/12/parent = 4 bones/12/parent = 4
bones/12/rest = Transform3D(1, 3.10862e-15, -6.95332e-09, 6.95087e-09, -0.0265341, 0.999648, -1.84497e-10, -0.999648, -0.0265341, 0.287738, 0.203267, 0.120427) bones/12/rest = Transform3D(1, 3.10862e-15, -6.95332e-09, 6.95087e-09, -0.0265341, 0.999648, -1.84497e-10, -0.999648, -0.0265341, 0.287738, 0.203267, 0.120427)
bones/12/enabled = true bones/12/enabled = true
bones/12/position = Vector3(0.291431, 0.236535, 0.000400938) bones/12/position = Vector3(0.291431, 0.236535, 0.000400938)
bones/12/rotation = Quaternion(-0.753282, 0.160594, -0.193783, 0.607638) bones/12/rotation = Quaternion(-0.771897, 0.0784515, -0.0976345, 0.623288)
bones/12/scale = Vector3(1, 1, 1) bones/12/scale = Vector3(1, 1, 1)
bones/13/name = "Bone.019" bones/13/name = "Bone.019"
bones/13/parent = 4 bones/13/parent = 4
@ -2163,91 +2163,91 @@ bones/14/parent = 13
bones/14/rest = Transform3D(0.432955, -0.625736, 0.648848, -0.044899, 0.703947, 0.708832, -0.900297, -0.336025, 0.276683, 4.20827e-08, 0.177444, 3.85194e-08) bones/14/rest = Transform3D(0.432955, -0.625736, 0.648848, -0.044899, 0.703947, 0.708832, -0.900297, -0.336025, 0.276683, 4.20827e-08, 0.177444, 3.85194e-08)
bones/14/enabled = true bones/14/enabled = true
bones/14/position = Vector3(4.20827e-08, 0.177444, 3.85194e-08) bones/14/position = Vector3(4.20827e-08, 0.177444, 3.85194e-08)
bones/14/rotation = Quaternion(-0.679914, 0.46201, 0.243231, 0.514881) bones/14/rotation = Quaternion(-0.678309, 0.461311, 0.249446, 0.514651)
bones/14/scale = Vector3(1, 1, 1) bones/14/scale = Vector3(1, 1, 1)
bones/15/name = "Bone.021" bones/15/name = "Bone.021"
bones/15/parent = 14 bones/15/parent = 14
bones/15/rest = Transform3D(0.993116, -0.117134, 4.12768e-07, 0.117134, 0.993116, 8.259e-07, -5.06667e-07, -7.71865e-07, 1, 1.81458e-10, 0.162903, -8.5116e-09) bones/15/rest = Transform3D(0.993116, -0.117134, 4.12768e-07, 0.117134, 0.993116, 8.259e-07, -5.06667e-07, -7.71865e-07, 1, 1.81458e-10, 0.162903, -8.5116e-09)
bones/15/enabled = true bones/15/enabled = true
bones/15/position = Vector3(1.81458e-10, 0.162903, -8.5116e-09) bones/15/position = Vector3(1.81458e-10, 0.162903, -8.5116e-09)
bones/15/rotation = Quaternion(-2.07644e-06, 2.74793e-07, 0.491034, 0.871141) bones/15/rotation = Quaternion(-1.97879e-06, 2.72082e-07, 0.479186, 0.877713)
bones/15/scale = Vector3(1, 1, 1) bones/15/scale = Vector3(1, 1, 1)
bones/16/name = "Bone.022" bones/16/name = "Bone.022"
bones/16/parent = 4 bones/16/parent = 4
bones/16/rest = Transform3D(1, 3.55271e-15, -3.8117e-08, 3.81036e-08, -0.0265341, 0.999648, -1.0114e-09, -0.999648, -0.0265341, -0.480619, 0.00333737, 0.125734) bones/16/rest = Transform3D(1, 3.55271e-15, -3.8117e-08, 3.81036e-08, -0.0265341, 0.999648, -1.0114e-09, -0.999648, -0.0265341, -0.480619, 0.00333737, 0.125734)
bones/16/enabled = true bones/16/enabled = true
bones/16/position = Vector3(-0.358609, -0.128533, -0.0309968) bones/16/position = Vector3(-0.358609, -0.128649, -0.0353933)
bones/16/rotation = Quaternion(-0.753282, 0.160594, -0.193783, 0.607638) bones/16/rotation = Quaternion(-0.771897, 0.0784515, -0.0976345, 0.623288)
bones/16/scale = Vector3(1, 1, 1) bones/16/scale = Vector3(1, 1, 1)
bones/17/name = "Bone.023" bones/17/name = "Bone.023"
bones/17/parent = 4 bones/17/parent = 4
bones/17/rest = Transform3D(1, 4.88498e-15, -6.95333e-09, 6.95088e-09, -0.0265341, 0.999648, -1.84495e-10, -0.999648, -0.0265341, -0.287738, 0.203267, 0.120427) bones/17/rest = Transform3D(1, 4.88498e-15, -6.95333e-09, 6.95088e-09, -0.0265341, 0.999648, -1.84495e-10, -0.999648, -0.0265341, -0.287738, 0.203267, 0.120427)
bones/17/enabled = true bones/17/enabled = true
bones/17/position = Vector3(-0.285902, 0.16505, -0.138443) bones/17/position = Vector3(-0.285902, 0.16505, -0.138443)
bones/17/rotation = Quaternion(-0.753282, 0.160594, -0.193783, 0.607638) bones/17/rotation = Quaternion(-0.771897, 0.0784515, -0.0976345, 0.623288)
bones/17/scale = Vector3(1, 1, 1) bones/17/scale = Vector3(1, 1, 1)
bones/18/name = "Tail_1" bones/18/name = "Tail_1"
bones/18/parent = 4 bones/18/parent = 4
bones/18/rest = Transform3D(1, 2.31377e-08, 6.49611e-08, -2.48533e-08, 0.999648, 0.0265338, -6.43243e-08, -0.0265338, 0.999648, 7.52368e-09, 0.139991, -0.0720165) bones/18/rest = Transform3D(1, 2.31377e-08, 6.49611e-08, -2.48533e-08, 0.999648, 0.0265338, -6.43243e-08, -0.0265338, 0.999648, 7.52368e-09, 0.139991, -0.0720165)
bones/18/enabled = true bones/18/enabled = true
bones/18/position = Vector3(7.52368e-09, 0.139991, -0.0720165) bones/18/position = Vector3(7.52368e-09, 0.139991, -0.0720165)
bones/18/rotation = Quaternion(-0.0990091, 3.0505e-08, -2.27192e-08, 0.995087) bones/18/rotation = Quaternion(-0.0548831, 3.26187e-08, -1.6674e-08, 0.998493)
bones/18/scale = Vector3(1, 1, 1) bones/18/scale = Vector3(1, 1, 1)
bones/19/name = "Tail_2" bones/19/name = "Tail_2"
bones/19/parent = 18 bones/19/parent = 18
bones/19/rest = Transform3D(1, -3.40006e-15, -2.66127e-15, 3.40006e-15, 1, 7.45058e-09, 2.66127e-15, -7.45058e-09, 1, 5.70345e-16, 0.132915, -2.04718e-09) bones/19/rest = Transform3D(1, -3.40006e-15, -2.66127e-15, 3.40006e-15, 1, 7.45058e-09, 2.66127e-15, -7.45058e-09, 1, 5.70345e-16, 0.132915, -2.04718e-09)
bones/19/enabled = true bones/19/enabled = true
bones/19/position = Vector3(5.70345e-16, 0.132915, -2.04718e-09) bones/19/position = Vector3(5.70345e-16, 0.132915, -2.04718e-09)
bones/19/rotation = Quaternion(0.0816468, 1.23589e-09, 1.11246e-10, 0.996661) bones/19/rotation = Quaternion(0.143476, -1.10193e-09, -1.05098e-09, 0.989654)
bones/19/scale = Vector3(1, 1, 1) bones/19/scale = Vector3(1, 1, 1)
bones/20/name = "Tail_3" bones/20/name = "Tail_3"
bones/20/parent = 19 bones/20/parent = 19
bones/20/rest = Transform3D(1, 9.71445e-17, -8.4713e-22, -9.71445e-17, 1, 2.13933e-24, 8.4713e-22, -2.13933e-24, 1, -1.10819e-15, 0.132915, -2.98023e-08) bones/20/rest = Transform3D(1, 9.71445e-17, -8.4713e-22, -9.71445e-17, 1, 2.13933e-24, 8.4713e-22, -2.13933e-24, 1, -1.10819e-15, 0.132915, -2.98023e-08)
bones/20/enabled = true bones/20/enabled = true
bones/20/position = Vector3(-1.10819e-15, 0.132915, -2.98023e-08) bones/20/position = Vector3(-1.10819e-15, 0.132915, -2.98023e-08)
bones/20/rotation = Quaternion(0.223623, -9.96787e-09, 4.20528e-09, 0.974676) bones/20/rotation = Quaternion(0.180278, -2.49504e-10, 2.56499e-09, 0.983616)
bones/20/scale = Vector3(1, 1, 1) bones/20/scale = Vector3(1, 1, 1)
bones/21/name = "Tail_4" bones/21/name = "Tail_4"
bones/21/parent = 20 bones/21/parent = 20
bones/21/rest = Transform3D(1, 9.71445e-17, -9.72421e-26, -9.71445e-17, 1, 2.13933e-24, 9.72421e-26, -2.13933e-24, 1, -1.16371e-15, 0.132915, -2.98023e-08) bones/21/rest = Transform3D(1, 9.71445e-17, -9.72421e-26, -9.71445e-17, 1, 2.13933e-24, 9.72421e-26, -2.13933e-24, 1, -1.16371e-15, 0.132915, -2.98023e-08)
bones/21/enabled = true bones/21/enabled = true
bones/21/position = Vector3(-1.16371e-15, 0.132915, -2.98023e-08) bones/21/position = Vector3(-1.16371e-15, 0.132915, -2.98023e-08)
bones/21/rotation = Quaternion(0.196233, -1.68012e-10, -1.19982e-08, 0.980557) bones/21/rotation = Quaternion(0.134867, -7.7423e-09, 8.35168e-10, 0.990864)
bones/21/scale = Vector3(1, 1, 1) bones/21/scale = Vector3(1, 1, 1)
bones/22/name = "Bone.003" bones/22/name = "Bone.003"
bones/22/parent = 4 bones/22/parent = 4
bones/22/rest = Transform3D(1, -6.49611e-08, -1.74055e-08, 1.56754e-08, -0.0265388, 0.999648, -6.54002e-08, -0.999648, -0.0265388, -2.83161e-15, -1.57499e-10, -3.06139e-08) bones/22/rest = Transform3D(1, -6.49611e-08, -1.74055e-08, 1.56754e-08, -0.0265388, 0.999648, -6.54002e-08, -0.999648, -0.0265388, -2.83161e-15, -1.57499e-10, -3.06139e-08)
bones/22/enabled = true bones/22/enabled = true
bones/22/position = Vector3(-2.27119e-09, -0.00627534, -0.0291115) bones/22/position = Vector3(-2.27119e-09, -0.00627534, -0.0291115)
bones/22/rotation = Quaternion(-0.753283, 0.160595, -0.193783, 0.607637) bones/22/rotation = Quaternion(-0.771899, 0.0784519, -0.0976341, 0.623286)
bones/22/scale = Vector3(0.963893, 0.963829, 0.963391) bones/22/scale = Vector3(0.963893, 0.963829, 0.963391)
bones/23/name = "Bone.002" bones/23/name = "Bone.002"
bones/23/parent = 22 bones/23/parent = 22
bones/23/rest = Transform3D(1, -5.68103e-08, -1.28744e-07, 7.358e-08, 0.990947, 0.13425, 1.19952e-07, -0.13425, 0.990947, 0.103074, 0.0448339, 0.0144274) bones/23/rest = Transform3D(1, -5.68103e-08, -1.28744e-07, 7.358e-08, 0.990947, 0.13425, 1.19952e-07, -0.13425, 0.990947, 0.103074, 0.0448339, 0.0144274)
bones/23/enabled = true bones/23/enabled = true
bones/23/position = Vector3(0.103074, 0.0448339, 0.0144274) bones/23/position = Vector3(0.103074, 0.0448339, 0.0144274)
bones/23/rotation = Quaternion(-0.333369, -0.332199, -0.163174, 0.867112) bones/23/rotation = Quaternion(-0.301348, -0.337908, -0.150468, 0.878844)
bones/23/scale = Vector3(1.00015, 0.999976, 0.999842) bones/23/scale = Vector3(1.00015, 0.999976, 0.999842)
bones/24/name = "L_leg_3" bones/24/name = "L_leg_3"
bones/24/parent = 23 bones/24/parent = 23
bones/24/rest = Transform3D(1, 1.46768e-07, 1.41892e-07, -1.08988e-07, 0.97155, -0.236835, -1.72615e-07, 0.236835, 0.97155, -1.09502e-08, 0.131148, -7.90992e-09) bones/24/rest = Transform3D(1, 1.46768e-07, 1.41892e-07, -1.08988e-07, 0.97155, -0.236835, -1.72615e-07, 0.236835, 0.97155, -1.09502e-08, 0.131148, -7.90992e-09)
bones/24/enabled = true bones/24/enabled = true
bones/24/position = Vector3(-1.09502e-08, 0.131148, -7.90992e-09) bones/24/position = Vector3(-1.09502e-08, 0.131148, -7.90992e-09)
bones/24/rotation = Quaternion(0.54995, 2.17932e-08, -2.59321e-07, 0.835198) bones/24/rotation = Quaternion(0.501948, 6.71243e-08, -2.39439e-07, 0.864898)
bones/24/scale = Vector3(1, 0.999986, 1.00002) bones/24/scale = Vector3(1, 0.999986, 1.00002)
bones/25/name = "R_leg_1" bones/25/name = "R_leg_1"
bones/25/parent = 22 bones/25/parent = 22
bones/25/rest = Transform3D(1, 5.68103e-08, 2.09964e-07, -8.44838e-08, 0.990947, 0.13425, -2.00436e-07, -0.13425, 0.990947, -0.103074, 0.0448339, 0.0144275) bones/25/rest = Transform3D(1, 5.68103e-08, 2.09964e-07, -8.44838e-08, 0.990947, 0.13425, -2.00436e-07, -0.13425, 0.990947, -0.103074, 0.0448339, 0.0144275)
bones/25/enabled = true bones/25/enabled = true
bones/25/position = Vector3(-0.103074, 0.0448339, 0.0144275) bones/25/position = Vector3(-0.103074, 0.0448339, 0.0144275)
bones/25/rotation = Quaternion(-0.267903, 0.223457, 0.212234, 0.912826) bones/25/rotation = Quaternion(-0.233449, 0.230366, 0.198832, 0.923525)
bones/25/scale = Vector3(1.00008, 0.999967, 0.999928) bones/25/scale = Vector3(1.00008, 0.999967, 0.999928)
bones/26/name = "R_leg_2" bones/26/name = "R_leg_2"
bones/26/parent = 25 bones/26/parent = 25
bones/26/rest = Transform3D(1, -1.57459e-07, -1.39286e-07, 1.19991e-07, 0.97155, -0.236835, 1.72615e-07, 0.236835, 0.97155, 1.35965e-08, 0.131148, -5.11595e-09) bones/26/rest = Transform3D(1, -1.57459e-07, -1.39286e-07, 1.19991e-07, 0.97155, -0.236835, 1.72615e-07, 0.236835, 0.97155, 1.35965e-08, 0.131148, -5.11595e-09)
bones/26/enabled = true bones/26/enabled = true
bones/26/position = Vector3(1.35965e-08, 0.131148, -5.11595e-09) bones/26/position = Vector3(1.35965e-08, 0.131148, -5.11595e-09)
bones/26/rotation = Quaternion(0.499845, -4.26834e-08, 2.42754e-07, 0.866115) bones/26/rotation = Quaternion(0.446592, -5.92064e-08, 2.1183e-07, 0.894738)
bones/26/scale = Vector3(1, 0.99997, 1.00006) bones/26/scale = Vector3(1, 0.99997, 1.00006)
bones/27/name = "Bone.013" bones/27/name = "Bone.013"
bones/27/parent = -1 bones/27/parent = -1

@ -43,7 +43,7 @@ func _on_entity_moving(new_position, speed):
tween.tween_property(self, "rotation:y", new_rotation, 0.1) tween.tween_property(self, "rotation:y", new_rotation, 0.1)
func update_chunk(): func update_chunk():
if get_parent().location != get_belonging_chunk(): if get_parent().location != get_belonging_chunk() and is_inside_tree():
var saved_global_position = global_position var saved_global_position = global_position
get_parent().remove_child(self) get_parent().remove_child(self)
chunks_array[get_belonging_chunk().x][get_belonging_chunk().y].add_child(self) chunks_array[get_belonging_chunk().x][get_belonging_chunk().y].add_child(self)

Loading…
Cancel
Save