jtatman commited on
Commit
723d096
1 Parent(s): 75b85b6

Upload folder using huggingface_hub

Browse files
This view is limited to 50 files because it contains too many changes.   See raw diff
Files changed (50) hide show
  1. .gitattributes +3 -0
  2. README.md +25 -0
  3. RobotVolleyball.csproj +11 -0
  4. RobotVolleyball.sln +19 -0
  5. addons/godot_rl_agents/controller/ai_controller_2d.gd +113 -0
  6. addons/godot_rl_agents/controller/ai_controller_3d.gd +114 -0
  7. addons/godot_rl_agents/godot_rl_agents.gd +16 -0
  8. addons/godot_rl_agents/icon.png +3 -0
  9. addons/godot_rl_agents/onnx/csharp/ONNXInference.cs +103 -0
  10. addons/godot_rl_agents/onnx/csharp/SessionConfigurator.cs +131 -0
  11. addons/godot_rl_agents/onnx/csharp/docs/ONNXInference.xml +31 -0
  12. addons/godot_rl_agents/onnx/csharp/docs/SessionConfigurator.xml +29 -0
  13. addons/godot_rl_agents/onnx/wrapper/ONNX_wrapper.gd +27 -0
  14. addons/godot_rl_agents/plugin.cfg +7 -0
  15. addons/godot_rl_agents/sensors/sensors_2d/ExampleRaycastSensor2D.tscn +48 -0
  16. addons/godot_rl_agents/sensors/sensors_2d/GridSensor2D.gd +235 -0
  17. addons/godot_rl_agents/sensors/sensors_2d/ISensor2D.gd +25 -0
  18. addons/godot_rl_agents/sensors/sensors_2d/RaycastSensor2D.gd +118 -0
  19. addons/godot_rl_agents/sensors/sensors_2d/RaycastSensor2D.tscn +7 -0
  20. addons/godot_rl_agents/sensors/sensors_3d/ExampleRaycastSensor3D.tscn +6 -0
  21. addons/godot_rl_agents/sensors/sensors_3d/GridSensor3D.gd +258 -0
  22. addons/godot_rl_agents/sensors/sensors_3d/ISensor3D.gd +25 -0
  23. addons/godot_rl_agents/sensors/sensors_3d/RGBCameraSensor3D.gd +21 -0
  24. addons/godot_rl_agents/sensors/sensors_3d/RGBCameraSensor3D.tscn +41 -0
  25. addons/godot_rl_agents/sensors/sensors_3d/RaycastSensor3D.gd +185 -0
  26. addons/godot_rl_agents/sensors/sensors_3d/RaycastSensor3D.tscn +27 -0
  27. addons/godot_rl_agents/sync.gd +540 -0
  28. asset-license.md +5 -0
  29. blender/grass.png +3 -0
  30. blender/grass2.png +3 -0
  31. blender/grass3.png +3 -0
  32. blender/robot.blend +3 -0
  33. blender/static_decorations.blend +3 -0
  34. icon.svg +1 -0
  35. onnx/volleyball.onnx +3 -0
  36. project.godot +58 -0
  37. readme.md +63 -0
  38. scenes/game_scene/ball.gd +34 -0
  39. scenes/game_scene/game_manager.gd +127 -0
  40. scenes/game_scene/game_scene.tscn +377 -0
  41. scenes/game_scene/goal.gd +13 -0
  42. scenes/robot/RobotAIController.gd +79 -0
  43. scenes/robot/robot.gd +131 -0
  44. scenes/robot/robot.tscn +131 -0
  45. scenes/testing_scenes/ai_vs_ai.tscn +55 -0
  46. scenes/testing_scenes/human_vs_ai.tscn +454 -0
  47. scenes/training_scene/training_scene.tscn +86 -0
  48. scenes/ui/ui.gd +39 -0
  49. scenes/ui/ui.tscn +61 -0
  50. shaders/sky_shader.tres +15 -0
.gitattributes CHANGED
@@ -56,3 +56,6 @@ saved_model/**/* filter=lfs diff=lfs merge=lfs -text
56
  # Video files - compressed
57
  *.mp4 filter=lfs diff=lfs merge=lfs -text
58
  *.webm filter=lfs diff=lfs merge=lfs -text
 
 
 
 
56
  # Video files - compressed
57
  *.mp4 filter=lfs diff=lfs merge=lfs -text
58
  *.webm filter=lfs diff=lfs merge=lfs -text
59
+ blender/robot.blend filter=lfs diff=lfs merge=lfs -text
60
+ blender/static_decorations.blend filter=lfs diff=lfs merge=lfs -text
61
+ textures/sky.exr filter=lfs diff=lfs merge=lfs -text
README.md ADDED
@@ -0,0 +1,25 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ ---
2
+ library_name: godot-rl
3
+ tags:
4
+ - deep-reinforcement-learning
5
+ - reinforcement-learning
6
+ - godot-rl
7
+ - environments
8
+ - video-games
9
+ ---
10
+
11
+ A RL environment called RobotVolleyball for the Godot Game Engine.
12
+
13
+ This environment was created with: https://github.com/edbeeching/godot_rl_agents
14
+
15
+
16
+ ## Downloading the environment
17
+
18
+ After installing Godot RL Agents, download the environment with:
19
+
20
+ ```
21
+ gdrl.env_from_hub -r jtatman/godot_rl_RobotVolleyball
22
+ ```
23
+
24
+
25
+
RobotVolleyball.csproj ADDED
@@ -0,0 +1,11 @@
 
 
 
 
 
 
 
 
 
 
 
 
1
+ <Project Sdk="Godot.NET.Sdk/4.2.1">
2
+ <PropertyGroup>
3
+ <TargetFramework>net6.0</TargetFramework>
4
+ <TargetFramework Condition=" '$(GodotTargetPlatform)' == 'android' ">net7.0</TargetFramework>
5
+ <TargetFramework Condition=" '$(GodotTargetPlatform)' == 'ios' ">net8.0</TargetFramework>
6
+ <EnableDynamicLoading>true</EnableDynamicLoading>
7
+ </PropertyGroup>
8
+ <ItemGroup>
9
+ <PackageReference Include="Microsoft.ML.OnnxRuntime" Version="1.16.3" />
10
+ </ItemGroup>
11
+ </Project>
RobotVolleyball.sln ADDED
@@ -0,0 +1,19 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ Microsoft Visual Studio Solution File, Format Version 12.00
2
+ # Visual Studio 2012
3
+ Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "RobotVolleyball", "RobotVolleyball.csproj", "{D16F0B71-2C5E-479E-B683-CBFF6C9F71E7}"
4
+ EndProject
5
+ Global
6
+ GlobalSection(SolutionConfigurationPlatforms) = preSolution
7
+ Debug|Any CPU = Debug|Any CPU
8
+ ExportDebug|Any CPU = ExportDebug|Any CPU
9
+ ExportRelease|Any CPU = ExportRelease|Any CPU
10
+ EndGlobalSection
11
+ GlobalSection(ProjectConfigurationPlatforms) = postSolution
12
+ {D16F0B71-2C5E-479E-B683-CBFF6C9F71E7}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
13
+ {D16F0B71-2C5E-479E-B683-CBFF6C9F71E7}.Debug|Any CPU.Build.0 = Debug|Any CPU
14
+ {D16F0B71-2C5E-479E-B683-CBFF6C9F71E7}.ExportDebug|Any CPU.ActiveCfg = ExportDebug|Any CPU
15
+ {D16F0B71-2C5E-479E-B683-CBFF6C9F71E7}.ExportDebug|Any CPU.Build.0 = ExportDebug|Any CPU
16
+ {D16F0B71-2C5E-479E-B683-CBFF6C9F71E7}.ExportRelease|Any CPU.ActiveCfg = ExportRelease|Any CPU
17
+ {D16F0B71-2C5E-479E-B683-CBFF6C9F71E7}.ExportRelease|Any CPU.Build.0 = ExportRelease|Any CPU
18
+ EndGlobalSection
19
+ EndGlobal
addons/godot_rl_agents/controller/ai_controller_2d.gd ADDED
@@ -0,0 +1,113 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ extends Node2D
2
+ class_name AIController2D
3
+
4
+ enum ControlModes { INHERIT_FROM_SYNC, HUMAN, TRAINING, ONNX_INFERENCE, RECORD_EXPERT_DEMOS }
5
+ @export var control_mode: ControlModes = ControlModes.INHERIT_FROM_SYNC
6
+ @export var onnx_model_path := ""
7
+ @export var reset_after := 1000
8
+
9
+ @export_group("Record expert demos mode options")
10
+ ## Path where the demos will be saved. The file can later be used for imitation learning.
11
+ @export var expert_demo_save_path: String
12
+ ## The action that erases the last recorded episode from the currently recorded data.
13
+ @export var remove_last_episode_key: InputEvent
14
+ ## Action will be repeated for n frames. Will introduce control lag if larger than 1.
15
+ ## Can be used to ensure that action_repeat on inference and training matches
16
+ ## the recorded demonstrations.
17
+ @export var action_repeat: int = 1
18
+
19
+ var onnx_model: ONNXModel
20
+
21
+ var heuristic := "human"
22
+ var done := false
23
+ var reward := 0.0
24
+ var n_steps := 0
25
+ var needs_reset := false
26
+
27
+ var _player: Node2D
28
+
29
+
30
+ func _ready():
31
+ add_to_group("AGENT")
32
+
33
+
34
+ func init(player: Node2D):
35
+ _player = player
36
+
37
+
38
+ #-- Methods that need implementing using the "extend script" option in Godot --#
39
+ func get_obs() -> Dictionary:
40
+ assert(false, "the get_obs method is not implemented when extending from ai_controller")
41
+ return {"obs": []}
42
+
43
+
44
+ func get_reward() -> float:
45
+ assert(false, "the get_reward method is not implemented when extending from ai_controller")
46
+ return 0.0
47
+
48
+
49
+ func get_action_space() -> Dictionary:
50
+ assert(
51
+ false,
52
+ "the get get_action_space method is not implemented when extending from ai_controller"
53
+ )
54
+ return {
55
+ "example_actions_continous": {"size": 2, "action_type": "continuous"},
56
+ "example_actions_discrete": {"size": 2, "action_type": "discrete"},
57
+ }
58
+
59
+
60
+ func set_action(action) -> void:
61
+ assert(false, "the get set_action method is not implemented when extending from ai_controller")
62
+
63
+
64
+ #-----------------------------------------------------------------------------#
65
+
66
+
67
+ #-- Methods that sometimes need implementing using the "extend script" option in Godot --#
68
+ # Only needed if you are recording expert demos with this AIController
69
+ func get_action() -> Array:
70
+ assert(false, "the get set_action method is not implemented in extended AIController but demo_recorder is used")
71
+ return []
72
+
73
+ # -----------------------------------------------------------------------------#
74
+
75
+ func _physics_process(delta):
76
+ n_steps += 1
77
+ if n_steps > reset_after:
78
+ needs_reset = true
79
+
80
+
81
+ func get_obs_space():
82
+ # may need overriding if the obs space is complex
83
+ var obs = get_obs()
84
+ return {
85
+ "obs": {"size": [len(obs["obs"])], "space": "box"},
86
+ }
87
+
88
+
89
+ func reset():
90
+ n_steps = 0
91
+ needs_reset = false
92
+
93
+
94
+ func reset_if_done():
95
+ if done:
96
+ reset()
97
+
98
+
99
+ func set_heuristic(h):
100
+ # sets the heuristic from "human" or "model" nothing to change here
101
+ heuristic = h
102
+
103
+
104
+ func get_done():
105
+ return done
106
+
107
+
108
+ func set_done_false():
109
+ done = false
110
+
111
+
112
+ func zero_reward():
113
+ reward = 0.0
addons/godot_rl_agents/controller/ai_controller_3d.gd ADDED
@@ -0,0 +1,114 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ extends Node3D
2
+ class_name AIController3D
3
+
4
+ enum ControlModes { INHERIT_FROM_SYNC, HUMAN, TRAINING, ONNX_INFERENCE, RECORD_EXPERT_DEMOS }
5
+ @export var control_mode: ControlModes = ControlModes.INHERIT_FROM_SYNC
6
+ @export var onnx_model_path := ""
7
+ @export var reset_after := 1000
8
+
9
+ @export_group("Record expert demos mode options")
10
+ ## Path where the demos will be saved. The file can later be used for imitation learning.
11
+ @export var expert_demo_save_path: String
12
+ ## The action that erases the last recorded episode from the currently recorded data.
13
+ @export var remove_last_episode_key: InputEvent
14
+ ## Action will be repeated for n frames. Will introduce control lag if larger than 1.
15
+ ## Can be used to ensure that action_repeat on inference and training matches
16
+ ## the recorded demonstrations.
17
+ @export var action_repeat: int = 1
18
+
19
+ var onnx_model: ONNXModel
20
+
21
+ var heuristic := "human"
22
+ var done := false
23
+ var reward := 0.0
24
+ var n_steps := 0
25
+ var needs_reset := false
26
+
27
+ var _player: Node3D
28
+
29
+
30
+ func _ready():
31
+ add_to_group("AGENT")
32
+
33
+
34
+ func init(player: Node3D):
35
+ _player = player
36
+
37
+
38
+ #-- Methods that need implementing using the "extend script" option in Godot --#
39
+ func get_obs() -> Dictionary:
40
+ assert(false, "the get_obs method is not implemented when extending from ai_controller")
41
+ return {"obs": []}
42
+
43
+
44
+ func get_reward() -> float:
45
+ assert(false, "the get_reward method is not implemented when extending from ai_controller")
46
+ return 0.0
47
+
48
+
49
+ func get_action_space() -> Dictionary:
50
+ assert(
51
+ false,
52
+ "the get get_action_space method is not implemented when extending from ai_controller"
53
+ )
54
+ return {
55
+ "example_actions_continous": {"size": 2, "action_type": "continuous"},
56
+ "example_actions_discrete": {"size": 2, "action_type": "discrete"},
57
+ }
58
+
59
+
60
+ func set_action(action) -> void:
61
+ assert(false, "the get set_action method is not implemented when extending from ai_controller")
62
+
63
+
64
+ #-----------------------------------------------------------------------------#
65
+
66
+
67
+ #-- Methods that sometimes need implementing using the "extend script" option in Godot --#
68
+ # Only needed if you are recording expert demos with this AIController
69
+ func get_action() -> Array:
70
+ assert(false, "the get set_action method is not implemented in extended AIController but demo_recorder is used")
71
+ return []
72
+
73
+ # -----------------------------------------------------------------------------#
74
+
75
+
76
+ func _physics_process(delta):
77
+ n_steps += 1
78
+ if n_steps > reset_after:
79
+ needs_reset = true
80
+
81
+
82
+ func get_obs_space():
83
+ # may need overriding if the obs space is complex
84
+ var obs = get_obs()
85
+ return {
86
+ "obs": {"size": [len(obs["obs"])], "space": "box"},
87
+ }
88
+
89
+
90
+ func reset():
91
+ n_steps = 0
92
+ needs_reset = false
93
+
94
+
95
+ func reset_if_done():
96
+ if done:
97
+ reset()
98
+
99
+
100
+ func set_heuristic(h):
101
+ # sets the heuristic from "human" or "model" nothing to change here
102
+ heuristic = h
103
+
104
+
105
+ func get_done():
106
+ return done
107
+
108
+
109
+ func set_done_false():
110
+ done = false
111
+
112
+
113
+ func zero_reward():
114
+ reward = 0.0
addons/godot_rl_agents/godot_rl_agents.gd ADDED
@@ -0,0 +1,16 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ @tool
2
+ extends EditorPlugin
3
+
4
+
5
+ func _enter_tree():
6
+ # Initialization of the plugin goes here.
7
+ # Add the new type with a name, a parent type, a script and an icon.
8
+ add_custom_type("Sync", "Node", preload("sync.gd"), preload("icon.png"))
9
+ #add_custom_type("RaycastSensor2D2", "Node", preload("raycast_sensor_2d.gd"), preload("icon.png"))
10
+
11
+
12
+ func _exit_tree():
13
+ # Clean-up of the plugin goes here.
14
+ # Always remember to remove it from the engine when deactivated.
15
+ remove_custom_type("Sync")
16
+ #remove_custom_type("RaycastSensor2D2")
addons/godot_rl_agents/icon.png ADDED

Git LFS Details

  • SHA256: e3a8bc372d3313ce1ede4e7554472e37b322178b9488bfb709e296585abd3c44
  • Pointer size: 128 Bytes
  • Size of remote file: 198 Bytes
addons/godot_rl_agents/onnx/csharp/ONNXInference.cs ADDED
@@ -0,0 +1,103 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ using Godot;
2
+ using Microsoft.ML.OnnxRuntime;
3
+ using Microsoft.ML.OnnxRuntime.Tensors;
4
+ using System.Collections.Generic;
5
+ using System.Linq;
6
+
7
+ namespace GodotONNX
8
+ {
9
+ /// <include file='docs/ONNXInference.xml' path='docs/members[@name="ONNXInference"]/ONNXInference/*'/>
10
+ public partial class ONNXInference : GodotObject
11
+ {
12
+
13
+ private InferenceSession session;
14
+ /// <summary>
15
+ /// Path to the ONNX model. Use Initialize to change it.
16
+ /// </summary>
17
+ private string modelPath;
18
+ private int batchSize;
19
+
20
+ private SessionOptions SessionOpt;
21
+
22
+ //init function
23
+ /// <include file='docs/ONNXInference.xml' path='docs/members[@name="ONNXInference"]/Initialize/*'/>
24
+ public void Initialize(string Path, int BatchSize)
25
+ {
26
+ modelPath = Path;
27
+ batchSize = BatchSize;
28
+ SessionOpt = SessionConfigurator.MakeConfiguredSessionOptions();
29
+ session = LoadModel(modelPath);
30
+
31
+ }
32
+ /// <include file='docs/ONNXInference.xml' path='docs/members[@name="ONNXInference"]/Run/*'/>
33
+ public Godot.Collections.Dictionary<string, Godot.Collections.Array<float>> RunInference(Godot.Collections.Array<float> obs, int state_ins)
34
+ {
35
+ //Current model: Any (Godot Rl Agents)
36
+ //Expects a tensor of shape [batch_size, input_size] type float named obs and a tensor of shape [batch_size] type float named state_ins
37
+
38
+ //Fill the input tensors
39
+ // create span from inputSize
40
+ var span = new float[obs.Count]; //There's probably a better way to do this
41
+ for (int i = 0; i < obs.Count; i++)
42
+ {
43
+ span[i] = obs[i];
44
+ }
45
+
46
+ IReadOnlyCollection<NamedOnnxValue> inputs = new List<NamedOnnxValue>
47
+ {
48
+ NamedOnnxValue.CreateFromTensor("obs", new DenseTensor<float>(span, new int[] { batchSize, obs.Count })),
49
+ NamedOnnxValue.CreateFromTensor("state_ins", new DenseTensor<float>(new float[] { state_ins }, new int[] { batchSize }))
50
+ };
51
+ IReadOnlyCollection<string> outputNames = new List<string> { "output", "state_outs" }; //ONNX is sensible to these names, as well as the input names
52
+
53
+ IDisposableReadOnlyCollection<DisposableNamedOnnxValue> results;
54
+ //We do not use "using" here so we get a better exception explaination later
55
+ try
56
+ {
57
+ results = session.Run(inputs, outputNames);
58
+ }
59
+ catch (OnnxRuntimeException e)
60
+ {
61
+ //This error usually means that the model is not compatible with the input, beacause of the input shape (size)
62
+ GD.Print("Error at inference: ", e);
63
+ return null;
64
+ }
65
+ //Can't convert IEnumerable<float> to Variant, so we have to convert it to an array or something
66
+ Godot.Collections.Dictionary<string, Godot.Collections.Array<float>> output = new Godot.Collections.Dictionary<string, Godot.Collections.Array<float>>();
67
+ DisposableNamedOnnxValue output1 = results.First();
68
+ DisposableNamedOnnxValue output2 = results.Last();
69
+ Godot.Collections.Array<float> output1Array = new Godot.Collections.Array<float>();
70
+ Godot.Collections.Array<float> output2Array = new Godot.Collections.Array<float>();
71
+
72
+ foreach (float f in output1.AsEnumerable<float>())
73
+ {
74
+ output1Array.Add(f);
75
+ }
76
+
77
+ foreach (float f in output2.AsEnumerable<float>())
78
+ {
79
+ output2Array.Add(f);
80
+ }
81
+
82
+ output.Add(output1.Name, output1Array);
83
+ output.Add(output2.Name, output2Array);
84
+
85
+ //Output is a dictionary of arrays, ex: { "output" : [0.1, 0.2, 0.3, 0.4, ...], "state_outs" : [0.5, ...]}
86
+ results.Dispose();
87
+ return output;
88
+ }
89
+ /// <include file='docs/ONNXInference.xml' path='docs/members[@name="ONNXInference"]/Load/*'/>
90
+ public InferenceSession LoadModel(string Path)
91
+ {
92
+ using Godot.FileAccess file = FileAccess.Open(Path, Godot.FileAccess.ModeFlags.Read);
93
+ byte[] model = file.GetBuffer((int)file.GetLength());
94
+ //file.Close(); file.Dispose(); //Close the file, then dispose the reference.
95
+ return new InferenceSession(model, SessionOpt); //Load the model
96
+ }
97
+ public void FreeDisposables()
98
+ {
99
+ session.Dispose();
100
+ SessionOpt.Dispose();
101
+ }
102
+ }
103
+ }
addons/godot_rl_agents/onnx/csharp/SessionConfigurator.cs ADDED
@@ -0,0 +1,131 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ using Godot;
2
+ using Microsoft.ML.OnnxRuntime;
3
+
4
+ namespace GodotONNX
5
+ {
6
+ /// <include file='docs/SessionConfigurator.xml' path='docs/members[@name="SessionConfigurator"]/SessionConfigurator/*'/>
7
+
8
+ public static class SessionConfigurator
9
+ {
10
+ public enum ComputeName
11
+ {
12
+ CUDA,
13
+ ROCm,
14
+ DirectML,
15
+ CoreML,
16
+ CPU
17
+ }
18
+
19
+ /// <include file='docs/SessionConfigurator.xml' path='docs/members[@name="SessionConfigurator"]/GetSessionOptions/*'/>
20
+ public static SessionOptions MakeConfiguredSessionOptions()
21
+ {
22
+ SessionOptions sessionOptions = new();
23
+ SetOptions(sessionOptions);
24
+ return sessionOptions;
25
+ }
26
+
27
+ private static void SetOptions(SessionOptions sessionOptions)
28
+ {
29
+ sessionOptions.LogSeverityLevel = OrtLoggingLevel.ORT_LOGGING_LEVEL_WARNING;
30
+ ApplySystemSpecificOptions(sessionOptions);
31
+ }
32
+
33
+ /// <include file='docs/SessionConfigurator.xml' path='docs/members[@name="SessionConfigurator"]/SystemCheck/*'/>
34
+ static public void ApplySystemSpecificOptions(SessionOptions sessionOptions)
35
+ {
36
+ //Most code for this function is verbose only, the only reason it exists is to track
37
+ //implementation progress of the different compute APIs.
38
+
39
+ //December 2022: CUDA is not working.
40
+
41
+ string OSName = OS.GetName(); //Get OS Name
42
+
43
+ //ComputeName ComputeAPI = ComputeCheck(); //Get Compute API
44
+ // //TODO: Get CPU architecture
45
+
46
+ //Linux can use OpenVINO (C#) on x64 and ROCm on x86 (GDNative/C++)
47
+ //Windows can use OpenVINO (C#) on x64
48
+ //TODO: try TensorRT instead of CUDA
49
+ //TODO: Use OpenVINO for Intel Graphics
50
+
51
+ // Temporarily using CPU on all platforms to avoid errors detected with DML
52
+ ComputeName ComputeAPI = ComputeName.CPU;
53
+
54
+ //match OS and Compute API
55
+ GD.Print($"OS: {OSName} Compute API: {ComputeAPI}");
56
+
57
+ // CPU is set by default without appending necessary
58
+ // sessionOptions.AppendExecutionProvider_CPU(0);
59
+
60
+ /*
61
+ switch (OSName)
62
+ {
63
+ case "Windows": //Can use CUDA, DirectML
64
+ if (ComputeAPI is ComputeName.CUDA)
65
+ {
66
+ //CUDA
67
+ //sessionOptions.AppendExecutionProvider_CUDA(0);
68
+ //sessionOptions.AppendExecutionProvider_DML(0);
69
+ }
70
+ else if (ComputeAPI is ComputeName.DirectML)
71
+ {
72
+ //DirectML
73
+ //sessionOptions.AppendExecutionProvider_DML(0);
74
+ }
75
+ break;
76
+ case "X11": //Can use CUDA, ROCm
77
+ if (ComputeAPI is ComputeName.CUDA)
78
+ {
79
+ //CUDA
80
+ //sessionOptions.AppendExecutionProvider_CUDA(0);
81
+ }
82
+ if (ComputeAPI is ComputeName.ROCm)
83
+ {
84
+ //ROCm, only works on x86
85
+ //Research indicates that this has to be compiled as a GDNative plugin
86
+ //GD.Print("ROCm not supported yet, using CPU.");
87
+ //sessionOptions.AppendExecutionProvider_CPU(0);
88
+ }
89
+ break;
90
+ case "macOS": //Can use CoreML
91
+ if (ComputeAPI is ComputeName.CoreML)
92
+ { //CoreML
93
+ //TODO: Needs testing
94
+ //sessionOptions.AppendExecutionProvider_CoreML(0);
95
+ //CoreML on ARM64, out of the box, on x64 needs .tar file from GitHub
96
+ }
97
+ break;
98
+ default:
99
+ GD.Print("OS not Supported.");
100
+ break;
101
+ }
102
+ */
103
+ }
104
+
105
+
106
+ /// <include file='docs/SessionConfigurator.xml' path='docs/members[@name="SessionConfigurator"]/ComputeCheck/*'/>
107
+ public static ComputeName ComputeCheck()
108
+ {
109
+ string adapterName = Godot.RenderingServer.GetVideoAdapterName();
110
+ //string adapterVendor = Godot.RenderingServer.GetVideoAdapterVendor();
111
+ adapterName = adapterName.ToUpper(new System.Globalization.CultureInfo(""));
112
+ //TODO: GPU vendors for MacOS, what do they even use these days?
113
+
114
+ if (adapterName.Contains("INTEL"))
115
+ {
116
+ return ComputeName.DirectML;
117
+ }
118
+ if (adapterName.Contains("AMD") || adapterName.Contains("RADEON"))
119
+ {
120
+ return ComputeName.DirectML;
121
+ }
122
+ if (adapterName.Contains("NVIDIA"))
123
+ {
124
+ return ComputeName.CUDA;
125
+ }
126
+
127
+ GD.Print("Graphics Card not recognized."); //Should use CPU
128
+ return ComputeName.CPU;
129
+ }
130
+ }
131
+ }
addons/godot_rl_agents/onnx/csharp/docs/ONNXInference.xml ADDED
@@ -0,0 +1,31 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ <docs>
2
+ <members name="ONNXInference">
3
+ <ONNXInference>
4
+ <summary>
5
+ The main <c>ONNXInference</c> Class that handles the inference process.
6
+ </summary>
7
+ </ONNXInference>
8
+ <Initialize>
9
+ <summary>
10
+ Starts the inference process.
11
+ </summary>
12
+ <param name="Path">Path to the ONNX model, expects a path inside resources.</param>
13
+ <param name="BatchSize">How many observations will the model recieve.</param>
14
+ </Initialize>
15
+ <Run>
16
+ <summary>
17
+ Runs the given input through the model and returns the output.
18
+ </summary>
19
+ <param name="obs">Dictionary containing all observations.</param>
20
+ <param name="state_ins">How many different agents are creating these observations.</param>
21
+ <returns>A Dictionary of arrays, containing instructions based on the observations.</returns>
22
+ </Run>
23
+ <Load>
24
+ <summary>
25
+ Loads the given model into the inference process, using the best Execution provider available.
26
+ </summary>
27
+ <param name="Path">Path to the ONNX model, expects a path inside resources.</param>
28
+ <returns>InferenceSession ready to run.</returns>
29
+ </Load>
30
+ </members>
31
+ </docs>
addons/godot_rl_agents/onnx/csharp/docs/SessionConfigurator.xml ADDED
@@ -0,0 +1,29 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ <docs>
2
+ <members name="SessionConfigurator">
3
+ <SessionConfigurator>
4
+ <summary>
5
+ The main <c>SessionConfigurator</c> Class that handles the execution options and providers for the inference process.
6
+ </summary>
7
+ </SessionConfigurator>
8
+ <GetSessionOptions>
9
+ <summary>
10
+ Creates a SessionOptions with all available execution providers.
11
+ </summary>
12
+ <returns>SessionOptions with all available execution providers.</returns>
13
+ </GetSessionOptions>
14
+ <SystemCheck>
15
+ <summary>
16
+ Appends any execution provider available in the current system.
17
+ </summary>
18
+ <remarks>
19
+ This function is mainly verbose for tracking implementation progress of different compute APIs.
20
+ </remarks>
21
+ </SystemCheck>
22
+ <ComputeCheck>
23
+ <summary>
24
+ Checks for available GPUs.
25
+ </summary>
26
+ <returns>An integer identifier for each compute platform.</returns>
27
+ </ComputeCheck>
28
+ </members>
29
+ </docs>
addons/godot_rl_agents/onnx/wrapper/ONNX_wrapper.gd ADDED
@@ -0,0 +1,27 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ extends Resource
2
+ class_name ONNXModel
3
+ var inferencer_script = load("res://addons/godot_rl_agents/onnx/csharp/ONNXInference.cs")
4
+
5
+ var inferencer = null
6
+
7
+
8
+ # Must provide the path to the model and the batch size
9
+ func _init(model_path, batch_size):
10
+ inferencer = inferencer_script.new()
11
+ inferencer.Initialize(model_path, batch_size)
12
+
13
+
14
+ # This function is the one that will be called from the game,
15
+ # requires the observation as an array and the state_ins as an int
16
+ # returns an Array containing the action the model takes.
17
+ func run_inference(obs: Array, state_ins: int) -> Dictionary:
18
+ if inferencer == null:
19
+ printerr("Inferencer not initialized")
20
+ return {}
21
+ return inferencer.RunInference(obs, state_ins)
22
+
23
+
24
+ func _notification(what):
25
+ if what == NOTIFICATION_PREDELETE:
26
+ inferencer.FreeDisposables()
27
+ inferencer.free()
addons/godot_rl_agents/plugin.cfg ADDED
@@ -0,0 +1,7 @@
 
 
 
 
 
 
 
 
1
+ [plugin]
2
+
3
+ name="GodotRLAgents"
4
+ description="Custom nodes for the godot rl agents toolkit "
5
+ author="Edward Beeching"
6
+ version="0.1"
7
+ script="godot_rl_agents.gd"
addons/godot_rl_agents/sensors/sensors_2d/ExampleRaycastSensor2D.tscn ADDED
@@ -0,0 +1,48 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ [gd_scene load_steps=5 format=3 uid="uid://ddeq7mn1ealyc"]
2
+
3
+ [ext_resource type="Script" path="res://addons/godot_rl_agents/sensors/sensors_2d/RaycastSensor2D.gd" id="1"]
4
+
5
+ [sub_resource type="GDScript" id="2"]
6
+ script/source = "extends Node2D
7
+
8
+
9
+
10
+ func _physics_process(delta: float) -> void:
11
+ print(\"step start\")
12
+
13
+ "
14
+
15
+ [sub_resource type="GDScript" id="1"]
16
+ script/source = "extends RayCast2D
17
+
18
+ var steps = 1
19
+
20
+ func _physics_process(delta: float) -> void:
21
+ print(\"processing raycast\")
22
+ steps += 1
23
+ if steps % 2:
24
+ force_raycast_update()
25
+
26
+ print(is_colliding())
27
+ "
28
+
29
+ [sub_resource type="CircleShape2D" id="3"]
30
+
31
+ [node name="ExampleRaycastSensor2D" type="Node2D"]
32
+ script = SubResource("2")
33
+
34
+ [node name="ExampleAgent" type="Node2D" parent="."]
35
+ position = Vector2(573, 314)
36
+ rotation = 0.286234
37
+
38
+ [node name="RaycastSensor2D" type="Node2D" parent="ExampleAgent"]
39
+ script = ExtResource("1")
40
+
41
+ [node name="TestRayCast2D" type="RayCast2D" parent="."]
42
+ script = SubResource("1")
43
+
44
+ [node name="StaticBody2D" type="StaticBody2D" parent="."]
45
+ position = Vector2(1, 52)
46
+
47
+ [node name="CollisionShape2D" type="CollisionShape2D" parent="StaticBody2D"]
48
+ shape = SubResource("3")
addons/godot_rl_agents/sensors/sensors_2d/GridSensor2D.gd ADDED
@@ -0,0 +1,235 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ @tool
2
+ extends ISensor2D
3
+ class_name GridSensor2D
4
+
5
+ @export var debug_view := false:
6
+ get:
7
+ return debug_view
8
+ set(value):
9
+ debug_view = value
10
+ _update()
11
+
12
+ @export_flags_2d_physics var detection_mask := 0:
13
+ get:
14
+ return detection_mask
15
+ set(value):
16
+ detection_mask = value
17
+ _update()
18
+
19
+ @export var collide_with_areas := false:
20
+ get:
21
+ return collide_with_areas
22
+ set(value):
23
+ collide_with_areas = value
24
+ _update()
25
+
26
+ @export var collide_with_bodies := true:
27
+ get:
28
+ return collide_with_bodies
29
+ set(value):
30
+ collide_with_bodies = value
31
+ _update()
32
+
33
+ @export_range(1, 200, 0.1) var cell_width := 20.0:
34
+ get:
35
+ return cell_width
36
+ set(value):
37
+ cell_width = value
38
+ _update()
39
+
40
+ @export_range(1, 200, 0.1) var cell_height := 20.0:
41
+ get:
42
+ return cell_height
43
+ set(value):
44
+ cell_height = value
45
+ _update()
46
+
47
+ @export_range(1, 21, 2, "or_greater") var grid_size_x := 3:
48
+ get:
49
+ return grid_size_x
50
+ set(value):
51
+ grid_size_x = value
52
+ _update()
53
+
54
+ @export_range(1, 21, 2, "or_greater") var grid_size_y := 3:
55
+ get:
56
+ return grid_size_y
57
+ set(value):
58
+ grid_size_y = value
59
+ _update()
60
+
61
+ var _obs_buffer: PackedFloat64Array
62
+ var _rectangle_shape: RectangleShape2D
63
+ var _collision_mapping: Dictionary
64
+ var _n_layers_per_cell: int
65
+
66
+ var _highlighted_cell_color: Color
67
+ var _standard_cell_color: Color
68
+
69
+
70
+ func get_observation():
71
+ return _obs_buffer
72
+
73
+
74
+ func _update():
75
+ if Engine.is_editor_hint():
76
+ if is_node_ready():
77
+ _spawn_nodes()
78
+
79
+
80
+ func _ready() -> void:
81
+ _set_colors()
82
+
83
+ if Engine.is_editor_hint():
84
+ if get_child_count() == 0:
85
+ _spawn_nodes()
86
+ else:
87
+ _spawn_nodes()
88
+
89
+
90
+ func _set_colors() -> void:
91
+ _standard_cell_color = Color(100.0 / 255.0, 100.0 / 255.0, 100.0 / 255.0, 100.0 / 255.0)
92
+ _highlighted_cell_color = Color(255.0 / 255.0, 100.0 / 255.0, 100.0 / 255.0, 100.0 / 255.0)
93
+
94
+
95
+ func _get_collision_mapping() -> Dictionary:
96
+ # defines which layer is mapped to which cell obs index
97
+ var total_bits = 0
98
+ var collision_mapping = {}
99
+ for i in 32:
100
+ var bit_mask = 2 ** i
101
+ if (detection_mask & bit_mask) > 0:
102
+ collision_mapping[i] = total_bits
103
+ total_bits += 1
104
+
105
+ return collision_mapping
106
+
107
+
108
+ func _spawn_nodes():
109
+ for cell in get_children():
110
+ cell.name = "_%s" % cell.name # Otherwise naming below will fail
111
+ cell.queue_free()
112
+
113
+ _collision_mapping = _get_collision_mapping()
114
+ #prints("collision_mapping", _collision_mapping, len(_collision_mapping))
115
+ # allocate memory for the observations
116
+ _n_layers_per_cell = len(_collision_mapping)
117
+ _obs_buffer = PackedFloat64Array()
118
+ _obs_buffer.resize(grid_size_x * grid_size_y * _n_layers_per_cell)
119
+ _obs_buffer.fill(0)
120
+ #prints(len(_obs_buffer), _obs_buffer )
121
+
122
+ _rectangle_shape = RectangleShape2D.new()
123
+ _rectangle_shape.set_size(Vector2(cell_width, cell_height))
124
+
125
+ var shift := Vector2(
126
+ -(grid_size_x / 2) * cell_width,
127
+ -(grid_size_y / 2) * cell_height,
128
+ )
129
+
130
+ for i in grid_size_x:
131
+ for j in grid_size_y:
132
+ var cell_position = Vector2(i * cell_width, j * cell_height) + shift
133
+ _create_cell(i, j, cell_position)
134
+
135
+
136
+ func _create_cell(i: int, j: int, position: Vector2):
137
+ var cell := Area2D.new()
138
+ cell.position = position
139
+ cell.name = "GridCell %s %s" % [i, j]
140
+ cell.modulate = _standard_cell_color
141
+
142
+ if collide_with_areas:
143
+ cell.area_entered.connect(_on_cell_area_entered.bind(i, j))
144
+ cell.area_exited.connect(_on_cell_area_exited.bind(i, j))
145
+
146
+ if collide_with_bodies:
147
+ cell.body_entered.connect(_on_cell_body_entered.bind(i, j))
148
+ cell.body_exited.connect(_on_cell_body_exited.bind(i, j))
149
+
150
+ cell.collision_layer = 0
151
+ cell.collision_mask = detection_mask
152
+ cell.monitorable = true
153
+ add_child(cell)
154
+ cell.set_owner(get_tree().edited_scene_root)
155
+
156
+ var col_shape := CollisionShape2D.new()
157
+ col_shape.shape = _rectangle_shape
158
+ col_shape.name = "CollisionShape2D"
159
+ cell.add_child(col_shape)
160
+ col_shape.set_owner(get_tree().edited_scene_root)
161
+
162
+ if debug_view:
163
+ var quad = MeshInstance2D.new()
164
+ quad.name = "MeshInstance2D"
165
+ var quad_mesh = QuadMesh.new()
166
+
167
+ quad_mesh.set_size(Vector2(cell_width, cell_height))
168
+
169
+ quad.mesh = quad_mesh
170
+ cell.add_child(quad)
171
+ quad.set_owner(get_tree().edited_scene_root)
172
+
173
+
174
+ func _update_obs(cell_i: int, cell_j: int, collision_layer: int, entered: bool):
175
+ for key in _collision_mapping:
176
+ var bit_mask = 2 ** key
177
+ if (collision_layer & bit_mask) > 0:
178
+ var collison_map_index = _collision_mapping[key]
179
+
180
+ var obs_index = (
181
+ (cell_i * grid_size_x * _n_layers_per_cell)
182
+ + (cell_j * _n_layers_per_cell)
183
+ + collison_map_index
184
+ )
185
+ #prints(obs_index, cell_i, cell_j)
186
+ if entered:
187
+ _obs_buffer[obs_index] += 1
188
+ else:
189
+ _obs_buffer[obs_index] -= 1
190
+
191
+
192
+ func _toggle_cell(cell_i: int, cell_j: int):
193
+ var cell = get_node_or_null("GridCell %s %s" % [cell_i, cell_j])
194
+
195
+ if cell == null:
196
+ print("cell not found, returning")
197
+
198
+ var n_hits = 0
199
+ var start_index = (cell_i * grid_size_x * _n_layers_per_cell) + (cell_j * _n_layers_per_cell)
200
+ for i in _n_layers_per_cell:
201
+ n_hits += _obs_buffer[start_index + i]
202
+
203
+ if n_hits > 0:
204
+ cell.modulate = _highlighted_cell_color
205
+ else:
206
+ cell.modulate = _standard_cell_color
207
+
208
+
209
+ func _on_cell_area_entered(area: Area2D, cell_i: int, cell_j: int):
210
+ #prints("_on_cell_area_entered", cell_i, cell_j)
211
+ _update_obs(cell_i, cell_j, area.collision_layer, true)
212
+ if debug_view:
213
+ _toggle_cell(cell_i, cell_j)
214
+ #print(_obs_buffer)
215
+
216
+
217
+ func _on_cell_area_exited(area: Area2D, cell_i: int, cell_j: int):
218
+ #prints("_on_cell_area_exited", cell_i, cell_j)
219
+ _update_obs(cell_i, cell_j, area.collision_layer, false)
220
+ if debug_view:
221
+ _toggle_cell(cell_i, cell_j)
222
+
223
+
224
+ func _on_cell_body_entered(body: Node2D, cell_i: int, cell_j: int):
225
+ #prints("_on_cell_body_entered", cell_i, cell_j)
226
+ _update_obs(cell_i, cell_j, body.collision_layer, true)
227
+ if debug_view:
228
+ _toggle_cell(cell_i, cell_j)
229
+
230
+
231
+ func _on_cell_body_exited(body: Node2D, cell_i: int, cell_j: int):
232
+ #prints("_on_cell_body_exited", cell_i, cell_j)
233
+ _update_obs(cell_i, cell_j, body.collision_layer, false)
234
+ if debug_view:
235
+ _toggle_cell(cell_i, cell_j)
addons/godot_rl_agents/sensors/sensors_2d/ISensor2D.gd ADDED
@@ -0,0 +1,25 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ extends Node2D
2
+ class_name ISensor2D
3
+
4
+ var _obs: Array = []
5
+ var _active := false
6
+
7
+
8
+ func get_observation():
9
+ pass
10
+
11
+
12
+ func activate():
13
+ _active = true
14
+
15
+
16
+ func deactivate():
17
+ _active = false
18
+
19
+
20
+ func _update_observation():
21
+ pass
22
+
23
+
24
+ func reset():
25
+ pass
addons/godot_rl_agents/sensors/sensors_2d/RaycastSensor2D.gd ADDED
@@ -0,0 +1,118 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ @tool
2
+ extends ISensor2D
3
+ class_name RaycastSensor2D
4
+
5
+ @export_flags_2d_physics var collision_mask := 1:
6
+ get:
7
+ return collision_mask
8
+ set(value):
9
+ collision_mask = value
10
+ _update()
11
+
12
+ @export var collide_with_areas := false:
13
+ get:
14
+ return collide_with_areas
15
+ set(value):
16
+ collide_with_areas = value
17
+ _update()
18
+
19
+ @export var collide_with_bodies := true:
20
+ get:
21
+ return collide_with_bodies
22
+ set(value):
23
+ collide_with_bodies = value
24
+ _update()
25
+
26
+ @export var n_rays := 16.0:
27
+ get:
28
+ return n_rays
29
+ set(value):
30
+ n_rays = value
31
+ _update()
32
+
33
+ @export_range(5, 3000, 5.0) var ray_length := 200:
34
+ get:
35
+ return ray_length
36
+ set(value):
37
+ ray_length = value
38
+ _update()
39
+ @export_range(5, 360, 5.0) var cone_width := 360.0:
40
+ get:
41
+ return cone_width
42
+ set(value):
43
+ cone_width = value
44
+ _update()
45
+
46
+ @export var debug_draw := true:
47
+ get:
48
+ return debug_draw
49
+ set(value):
50
+ debug_draw = value
51
+ _update()
52
+
53
+ var _angles = []
54
+ var rays := []
55
+
56
+
57
+ func _update():
58
+ if Engine.is_editor_hint():
59
+ if debug_draw:
60
+ _spawn_nodes()
61
+ else:
62
+ for ray in get_children():
63
+ if ray is RayCast2D:
64
+ remove_child(ray)
65
+
66
+
67
+ func _ready() -> void:
68
+ _spawn_nodes()
69
+
70
+
71
+ func _spawn_nodes():
72
+ for ray in rays:
73
+ ray.queue_free()
74
+ rays = []
75
+
76
+ _angles = []
77
+ var step = cone_width / (n_rays)
78
+ var start = step / 2 - cone_width / 2
79
+
80
+ for i in n_rays:
81
+ var angle = start + i * step
82
+ var ray = RayCast2D.new()
83
+ ray.set_target_position(
84
+ Vector2(ray_length * cos(deg_to_rad(angle)), ray_length * sin(deg_to_rad(angle)))
85
+ )
86
+ ray.set_name("node_" + str(i))
87
+ ray.enabled = false
88
+ ray.collide_with_areas = collide_with_areas
89
+ ray.collide_with_bodies = collide_with_bodies
90
+ ray.collision_mask = collision_mask
91
+ add_child(ray)
92
+ rays.append(ray)
93
+
94
+ _angles.append(start + i * step)
95
+
96
+
97
+ func get_observation() -> Array:
98
+ return self.calculate_raycasts()
99
+
100
+
101
+ func calculate_raycasts() -> Array:
102
+ var result = []
103
+ for ray in rays:
104
+ ray.enabled = true
105
+ ray.force_raycast_update()
106
+ var distance = _get_raycast_distance(ray)
107
+ result.append(distance)
108
+ ray.enabled = false
109
+ return result
110
+
111
+
112
+ func _get_raycast_distance(ray: RayCast2D) -> float:
113
+ if !ray.is_colliding():
114
+ return 0.0
115
+
116
+ var distance = (global_position - ray.get_collision_point()).length()
117
+ distance = clamp(distance, 0.0, ray_length)
118
+ return (ray_length - distance) / ray_length
addons/godot_rl_agents/sensors/sensors_2d/RaycastSensor2D.tscn ADDED
@@ -0,0 +1,7 @@
 
 
 
 
 
 
 
 
1
+ [gd_scene load_steps=2 format=3 uid="uid://drvfihk5esgmv"]
2
+
3
+ [ext_resource type="Script" path="res://addons/godot_rl_agents/sensors/sensors_2d/RaycastSensor2D.gd" id="1"]
4
+
5
+ [node name="RaycastSensor2D" type="Node2D"]
6
+ script = ExtResource("1")
7
+ n_rays = 17.0
addons/godot_rl_agents/sensors/sensors_3d/ExampleRaycastSensor3D.tscn ADDED
@@ -0,0 +1,6 @@
 
 
 
 
 
 
 
1
+ [gd_scene format=3 uid="uid://biu787qh4woik"]
2
+
3
+ [node name="ExampleRaycastSensor3D" type="Node3D"]
4
+
5
+ [node name="Camera3D" type="Camera3D" parent="."]
6
+ transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 0.804183, 0, 2.70146)
addons/godot_rl_agents/sensors/sensors_3d/GridSensor3D.gd ADDED
@@ -0,0 +1,258 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ @tool
2
+ extends ISensor3D
3
+ class_name GridSensor3D
4
+
5
+ @export var debug_view := false:
6
+ get:
7
+ return debug_view
8
+ set(value):
9
+ debug_view = value
10
+ _update()
11
+
12
+ @export_flags_3d_physics var detection_mask := 0:
13
+ get:
14
+ return detection_mask
15
+ set(value):
16
+ detection_mask = value
17
+ _update()
18
+
19
+ @export var collide_with_areas := false:
20
+ get:
21
+ return collide_with_areas
22
+ set(value):
23
+ collide_with_areas = value
24
+ _update()
25
+
26
+ @export var collide_with_bodies := false:
27
+ # NOTE! The sensor will not detect StaticBody3D, add an area to static bodies to detect them
28
+ get:
29
+ return collide_with_bodies
30
+ set(value):
31
+ collide_with_bodies = value
32
+ _update()
33
+
34
+ @export_range(0.1, 2, 0.1) var cell_width := 1.0:
35
+ get:
36
+ return cell_width
37
+ set(value):
38
+ cell_width = value
39
+ _update()
40
+
41
+ @export_range(0.1, 2, 0.1) var cell_height := 1.0:
42
+ get:
43
+ return cell_height
44
+ set(value):
45
+ cell_height = value
46
+ _update()
47
+
48
+ @export_range(1, 21, 2, "or_greater") var grid_size_x := 3:
49
+ get:
50
+ return grid_size_x
51
+ set(value):
52
+ grid_size_x = value
53
+ _update()
54
+
55
+ @export_range(1, 21, 2, "or_greater") var grid_size_z := 3:
56
+ get:
57
+ return grid_size_z
58
+ set(value):
59
+ grid_size_z = value
60
+ _update()
61
+
62
+ var _obs_buffer: PackedFloat64Array
63
+ var _box_shape: BoxShape3D
64
+ var _collision_mapping: Dictionary
65
+ var _n_layers_per_cell: int
66
+
67
+ var _highlighted_box_material: StandardMaterial3D
68
+ var _standard_box_material: StandardMaterial3D
69
+
70
+
71
+ func get_observation():
72
+ return _obs_buffer
73
+
74
+
75
+ func reset():
76
+ _obs_buffer.fill(0)
77
+
78
+
79
+ func _update():
80
+ if Engine.is_editor_hint():
81
+ if is_node_ready():
82
+ _spawn_nodes()
83
+
84
+
85
+ func _ready() -> void:
86
+ _make_materials()
87
+
88
+ if Engine.is_editor_hint():
89
+ if get_child_count() == 0:
90
+ _spawn_nodes()
91
+ else:
92
+ _spawn_nodes()
93
+
94
+
95
+ func _make_materials() -> void:
96
+ if _highlighted_box_material != null and _standard_box_material != null:
97
+ return
98
+
99
+ _standard_box_material = StandardMaterial3D.new()
100
+ _standard_box_material.set_transparency(1) # ALPHA
101
+ _standard_box_material.albedo_color = Color(
102
+ 100.0 / 255.0, 100.0 / 255.0, 100.0 / 255.0, 100.0 / 255.0
103
+ )
104
+
105
+ _highlighted_box_material = StandardMaterial3D.new()
106
+ _highlighted_box_material.set_transparency(1) # ALPHA
107
+ _highlighted_box_material.albedo_color = Color(
108
+ 255.0 / 255.0, 100.0 / 255.0, 100.0 / 255.0, 100.0 / 255.0
109
+ )
110
+
111
+
112
+ func _get_collision_mapping() -> Dictionary:
113
+ # defines which layer is mapped to which cell obs index
114
+ var total_bits = 0
115
+ var collision_mapping = {}
116
+ for i in 32:
117
+ var bit_mask = 2 ** i
118
+ if (detection_mask & bit_mask) > 0:
119
+ collision_mapping[i] = total_bits
120
+ total_bits += 1
121
+
122
+ return collision_mapping
123
+
124
+
125
+ func _spawn_nodes():
126
+ for cell in get_children():
127
+ cell.name = "_%s" % cell.name # Otherwise naming below will fail
128
+ cell.queue_free()
129
+
130
+ _collision_mapping = _get_collision_mapping()
131
+ #prints("collision_mapping", _collision_mapping, len(_collision_mapping))
132
+ # allocate memory for the observations
133
+ _n_layers_per_cell = len(_collision_mapping)
134
+ _obs_buffer = PackedFloat64Array()
135
+ _obs_buffer.resize(grid_size_x * grid_size_z * _n_layers_per_cell)
136
+ _obs_buffer.fill(0)
137
+ #prints(len(_obs_buffer), _obs_buffer )
138
+
139
+ _box_shape = BoxShape3D.new()
140
+ _box_shape.set_size(Vector3(cell_width, cell_height, cell_width))
141
+
142
+ var shift := Vector3(
143
+ -(grid_size_x / 2) * cell_width,
144
+ 0,
145
+ -(grid_size_z / 2) * cell_width,
146
+ )
147
+
148
+ for i in grid_size_x:
149
+ for j in grid_size_z:
150
+ var cell_position = Vector3(i * cell_width, 0.0, j * cell_width) + shift
151
+ _create_cell(i, j, cell_position)
152
+
153
+
154
+ func _create_cell(i: int, j: int, position: Vector3):
155
+ var cell := Area3D.new()
156
+ cell.position = position
157
+ cell.name = "GridCell %s %s" % [i, j]
158
+
159
+ if collide_with_areas:
160
+ cell.area_entered.connect(_on_cell_area_entered.bind(i, j))
161
+ cell.area_exited.connect(_on_cell_area_exited.bind(i, j))
162
+
163
+ if collide_with_bodies:
164
+ cell.body_entered.connect(_on_cell_body_entered.bind(i, j))
165
+ cell.body_exited.connect(_on_cell_body_exited.bind(i, j))
166
+
167
+ # cell.body_shape_entered.connect(_on_cell_body_shape_entered.bind(i, j))
168
+ # cell.body_shape_exited.connect(_on_cell_body_shape_exited.bind(i, j))
169
+
170
+ cell.collision_layer = 0
171
+ cell.collision_mask = detection_mask
172
+ cell.monitorable = true
173
+ cell.input_ray_pickable = false
174
+ add_child(cell)
175
+ cell.set_owner(get_tree().edited_scene_root)
176
+
177
+ var col_shape := CollisionShape3D.new()
178
+ col_shape.shape = _box_shape
179
+ col_shape.name = "CollisionShape3D"
180
+ cell.add_child(col_shape)
181
+ col_shape.set_owner(get_tree().edited_scene_root)
182
+
183
+ if debug_view:
184
+ var box = MeshInstance3D.new()
185
+ box.name = "MeshInstance3D"
186
+ var box_mesh = BoxMesh.new()
187
+
188
+ box_mesh.set_size(Vector3(cell_width, cell_height, cell_width))
189
+ box_mesh.material = _standard_box_material
190
+
191
+ box.mesh = box_mesh
192
+ cell.add_child(box)
193
+ box.set_owner(get_tree().edited_scene_root)
194
+
195
+
196
+ func _update_obs(cell_i: int, cell_j: int, collision_layer: int, entered: bool):
197
+ for key in _collision_mapping:
198
+ var bit_mask = 2 ** key
199
+ if (collision_layer & bit_mask) > 0:
200
+ var collison_map_index = _collision_mapping[key]
201
+
202
+ var obs_index = (
203
+ (cell_i * grid_size_x * _n_layers_per_cell)
204
+ + (cell_j * _n_layers_per_cell)
205
+ + collison_map_index
206
+ )
207
+ #prints(obs_index, cell_i, cell_j)
208
+ if entered:
209
+ _obs_buffer[obs_index] += 1
210
+ else:
211
+ _obs_buffer[obs_index] -= 1
212
+
213
+
214
+ func _toggle_cell(cell_i: int, cell_j: int):
215
+ var cell = get_node_or_null("GridCell %s %s" % [cell_i, cell_j])
216
+
217
+ if cell == null:
218
+ print("cell not found, returning")
219
+
220
+ var n_hits = 0
221
+ var start_index = (cell_i * grid_size_x * _n_layers_per_cell) + (cell_j * _n_layers_per_cell)
222
+ for i in _n_layers_per_cell:
223
+ n_hits += _obs_buffer[start_index + i]
224
+
225
+ var cell_mesh = cell.get_node_or_null("MeshInstance3D")
226
+ if n_hits > 0:
227
+ cell_mesh.mesh.material = _highlighted_box_material
228
+ else:
229
+ cell_mesh.mesh.material = _standard_box_material
230
+
231
+
232
+ func _on_cell_area_entered(area: Area3D, cell_i: int, cell_j: int):
233
+ #prints("_on_cell_area_entered", cell_i, cell_j)
234
+ _update_obs(cell_i, cell_j, area.collision_layer, true)
235
+ if debug_view:
236
+ _toggle_cell(cell_i, cell_j)
237
+ #print(_obs_buffer)
238
+
239
+
240
+ func _on_cell_area_exited(area: Area3D, cell_i: int, cell_j: int):
241
+ #prints("_on_cell_area_exited", cell_i, cell_j)
242
+ _update_obs(cell_i, cell_j, area.collision_layer, false)
243
+ if debug_view:
244
+ _toggle_cell(cell_i, cell_j)
245
+
246
+
247
+ func _on_cell_body_entered(body: Node3D, cell_i: int, cell_j: int):
248
+ #prints("_on_cell_body_entered", cell_i, cell_j)
249
+ _update_obs(cell_i, cell_j, body.collision_layer, true)
250
+ if debug_view:
251
+ _toggle_cell(cell_i, cell_j)
252
+
253
+
254
+ func _on_cell_body_exited(body: Node3D, cell_i: int, cell_j: int):
255
+ #prints("_on_cell_body_exited", cell_i, cell_j)
256
+ _update_obs(cell_i, cell_j, body.collision_layer, false)
257
+ if debug_view:
258
+ _toggle_cell(cell_i, cell_j)
addons/godot_rl_agents/sensors/sensors_3d/ISensor3D.gd ADDED
@@ -0,0 +1,25 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ extends Node3D
2
+ class_name ISensor3D
3
+
4
+ var _obs: Array = []
5
+ var _active := false
6
+
7
+
8
+ func get_observation():
9
+ pass
10
+
11
+
12
+ func activate():
13
+ _active = true
14
+
15
+
16
+ func deactivate():
17
+ _active = false
18
+
19
+
20
+ func _update_observation():
21
+ pass
22
+
23
+
24
+ func reset():
25
+ pass
addons/godot_rl_agents/sensors/sensors_3d/RGBCameraSensor3D.gd ADDED
@@ -0,0 +1,21 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ extends Node3D
2
+ class_name RGBCameraSensor3D
3
+ var camera_pixels = null
4
+
5
+ @onready var camera_texture := $Control/TextureRect/CameraTexture as Sprite2D
6
+ @onready var sub_viewport := $SubViewport as SubViewport
7
+
8
+
9
+ func get_camera_pixel_encoding():
10
+ return camera_texture.get_texture().get_image().get_data().hex_encode()
11
+
12
+
13
+ func get_camera_shape() -> Array:
14
+ assert(
15
+ sub_viewport.size.x >= 36 and sub_viewport.size.y >= 36,
16
+ "SubViewport size must be 36x36 or larger."
17
+ )
18
+ if sub_viewport.transparent_bg:
19
+ return [4, sub_viewport.size.y, sub_viewport.size.x]
20
+ else:
21
+ return [3, sub_viewport.size.y, sub_viewport.size.x]
addons/godot_rl_agents/sensors/sensors_3d/RGBCameraSensor3D.tscn ADDED
@@ -0,0 +1,41 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ [gd_scene load_steps=3 format=3 uid="uid://baaywi3arsl2m"]
2
+
3
+ [ext_resource type="Script" path="res://addons/godot_rl_agents/sensors/sensors_3d/RGBCameraSensor3D.gd" id="1"]
4
+
5
+ [sub_resource type="ViewportTexture" id="1"]
6
+ viewport_path = NodePath("SubViewport")
7
+
8
+ [node name="RGBCameraSensor3D" type="Node3D"]
9
+ script = ExtResource("1")
10
+
11
+ [node name="RemoteTransform3D" type="RemoteTransform3D" parent="."]
12
+ remote_path = NodePath("../SubViewport/Camera3D")
13
+
14
+ [node name="SubViewport" type="SubViewport" parent="."]
15
+ size = Vector2i(32, 32)
16
+ render_target_update_mode = 3
17
+
18
+ [node name="Camera3D" type="Camera3D" parent="SubViewport"]
19
+ near = 0.5
20
+
21
+ [node name="Control" type="Control" parent="."]
22
+ layout_mode = 3
23
+ anchors_preset = 15
24
+ anchor_right = 1.0
25
+ anchor_bottom = 1.0
26
+ grow_horizontal = 2
27
+ grow_vertical = 2
28
+
29
+ [node name="TextureRect" type="ColorRect" parent="Control"]
30
+ layout_mode = 0
31
+ offset_left = 1096.0
32
+ offset_top = 534.0
33
+ offset_right = 1114.0
34
+ offset_bottom = 552.0
35
+ scale = Vector2(10, 10)
36
+ color = Color(0.00784314, 0.00784314, 0.00784314, 1)
37
+
38
+ [node name="CameraTexture" type="Sprite2D" parent="Control/TextureRect"]
39
+ texture = SubResource("1")
40
+ offset = Vector2(9, 9)
41
+ flip_v = true
addons/godot_rl_agents/sensors/sensors_3d/RaycastSensor3D.gd ADDED
@@ -0,0 +1,185 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ @tool
2
+ extends ISensor3D
3
+ class_name RayCastSensor3D
4
+ @export_flags_3d_physics var collision_mask = 1:
5
+ get:
6
+ return collision_mask
7
+ set(value):
8
+ collision_mask = value
9
+ _update()
10
+ @export_flags_3d_physics var boolean_class_mask = 1:
11
+ get:
12
+ return boolean_class_mask
13
+ set(value):
14
+ boolean_class_mask = value
15
+ _update()
16
+
17
+ @export var n_rays_width := 6.0:
18
+ get:
19
+ return n_rays_width
20
+ set(value):
21
+ n_rays_width = value
22
+ _update()
23
+
24
+ @export var n_rays_height := 6.0:
25
+ get:
26
+ return n_rays_height
27
+ set(value):
28
+ n_rays_height = value
29
+ _update()
30
+
31
+ @export var ray_length := 10.0:
32
+ get:
33
+ return ray_length
34
+ set(value):
35
+ ray_length = value
36
+ _update()
37
+
38
+ @export var cone_width := 60.0:
39
+ get:
40
+ return cone_width
41
+ set(value):
42
+ cone_width = value
43
+ _update()
44
+
45
+ @export var cone_height := 60.0:
46
+ get:
47
+ return cone_height
48
+ set(value):
49
+ cone_height = value
50
+ _update()
51
+
52
+ @export var collide_with_areas := false:
53
+ get:
54
+ return collide_with_areas
55
+ set(value):
56
+ collide_with_areas = value
57
+ _update()
58
+
59
+ @export var collide_with_bodies := true:
60
+ get:
61
+ return collide_with_bodies
62
+ set(value):
63
+ collide_with_bodies = value
64
+ _update()
65
+
66
+ @export var class_sensor := false
67
+
68
+ var rays := []
69
+ var geo = null
70
+
71
+
72
+ func _update():
73
+ if Engine.is_editor_hint():
74
+ if is_node_ready():
75
+ _spawn_nodes()
76
+
77
+
78
+ func _ready() -> void:
79
+ if Engine.is_editor_hint():
80
+ if get_child_count() == 0:
81
+ _spawn_nodes()
82
+ else:
83
+ _spawn_nodes()
84
+
85
+
86
+ func _spawn_nodes():
87
+ print("spawning nodes")
88
+ for ray in get_children():
89
+ ray.queue_free()
90
+ if geo:
91
+ geo.clear()
92
+ #$Lines.remove_points()
93
+ rays = []
94
+
95
+ var horizontal_step = cone_width / (n_rays_width)
96
+ var vertical_step = cone_height / (n_rays_height)
97
+
98
+ var horizontal_start = horizontal_step / 2 - cone_width / 2
99
+ var vertical_start = vertical_step / 2 - cone_height / 2
100
+
101
+ var points = []
102
+
103
+ for i in n_rays_width:
104
+ for j in n_rays_height:
105
+ var angle_w = horizontal_start + i * horizontal_step
106
+ var angle_h = vertical_start + j * vertical_step
107
+ #angle_h = 0.0
108
+ var ray = RayCast3D.new()
109
+ var cast_to = to_spherical_coords(ray_length, angle_w, angle_h)
110
+ ray.set_target_position(cast_to)
111
+
112
+ points.append(cast_to)
113
+
114
+ ray.set_name("node_" + str(i) + " " + str(j))
115
+ ray.enabled = true
116
+ ray.collide_with_bodies = collide_with_bodies
117
+ ray.collide_with_areas = collide_with_areas
118
+ ray.collision_mask = collision_mask
119
+ add_child(ray)
120
+ ray.set_owner(get_tree().edited_scene_root)
121
+ rays.append(ray)
122
+ ray.force_raycast_update()
123
+
124
+
125
+ # if Engine.editor_hint:
126
+ # _create_debug_lines(points)
127
+
128
+
129
+ func _create_debug_lines(points):
130
+ if not geo:
131
+ geo = ImmediateMesh.new()
132
+ add_child(geo)
133
+
134
+ geo.clear()
135
+ geo.begin(Mesh.PRIMITIVE_LINES)
136
+ for point in points:
137
+ geo.set_color(Color.AQUA)
138
+ geo.add_vertex(Vector3.ZERO)
139
+ geo.add_vertex(point)
140
+ geo.end()
141
+
142
+
143
+ func display():
144
+ if geo:
145
+ geo.display()
146
+
147
+
148
+ func to_spherical_coords(r, inc, azimuth) -> Vector3:
149
+ return Vector3(
150
+ r * sin(deg_to_rad(inc)) * cos(deg_to_rad(azimuth)),
151
+ r * sin(deg_to_rad(azimuth)),
152
+ r * cos(deg_to_rad(inc)) * cos(deg_to_rad(azimuth))
153
+ )
154
+
155
+
156
+ func get_observation() -> Array:
157
+ return self.calculate_raycasts()
158
+
159
+
160
+ func calculate_raycasts() -> Array:
161
+ var result = []
162
+ for ray in rays:
163
+ ray.set_enabled(true)
164
+ ray.force_raycast_update()
165
+ var distance = _get_raycast_distance(ray)
166
+
167
+ result.append(distance)
168
+ if class_sensor:
169
+ var hit_class: float = 0
170
+ if ray.get_collider():
171
+ var hit_collision_layer = ray.get_collider().collision_layer
172
+ hit_collision_layer = hit_collision_layer & collision_mask
173
+ hit_class = (hit_collision_layer & boolean_class_mask) > 0
174
+ result.append(float(hit_class))
175
+ ray.set_enabled(false)
176
+ return result
177
+
178
+
179
+ func _get_raycast_distance(ray: RayCast3D) -> float:
180
+ if !ray.is_colliding():
181
+ return 0.0
182
+
183
+ var distance = (global_transform.origin - ray.get_collision_point()).length()
184
+ distance = clamp(distance, 0.0, ray_length)
185
+ return (ray_length - distance) / ray_length
addons/godot_rl_agents/sensors/sensors_3d/RaycastSensor3D.tscn ADDED
@@ -0,0 +1,27 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ [gd_scene load_steps=2 format=3 uid="uid://b803cbh1fmy66"]
2
+
3
+ [ext_resource type="Script" path="res://addons/godot_rl_agents/sensors/sensors_3d/RaycastSensor3D.gd" id="1"]
4
+
5
+ [node name="RaycastSensor3D" type="Node3D"]
6
+ script = ExtResource("1")
7
+ n_rays_width = 4.0
8
+ n_rays_height = 2.0
9
+ ray_length = 11.0
10
+
11
+ [node name="node_1 0" type="RayCast3D" parent="."]
12
+ target_position = Vector3(-1.38686, -2.84701, 10.5343)
13
+
14
+ [node name="node_1 1" type="RayCast3D" parent="."]
15
+ target_position = Vector3(-1.38686, 2.84701, 10.5343)
16
+
17
+ [node name="node_2 0" type="RayCast3D" parent="."]
18
+ target_position = Vector3(1.38686, -2.84701, 10.5343)
19
+
20
+ [node name="node_2 1" type="RayCast3D" parent="."]
21
+ target_position = Vector3(1.38686, 2.84701, 10.5343)
22
+
23
+ [node name="node_3 0" type="RayCast3D" parent="."]
24
+ target_position = Vector3(4.06608, -2.84701, 9.81639)
25
+
26
+ [node name="node_3 1" type="RayCast3D" parent="."]
27
+ target_position = Vector3(4.06608, 2.84701, 9.81639)
addons/godot_rl_agents/sync.gd ADDED
@@ -0,0 +1,540 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ extends Node
2
+
3
+ # --fixed-fps 2000 --disable-render-loop
4
+
5
+ enum ControlModes { HUMAN, TRAINING, ONNX_INFERENCE }
6
+ @export var control_mode: ControlModes = ControlModes.TRAINING
7
+ @export_range(1, 10, 1, "or_greater") var action_repeat := 8
8
+ @export_range(0, 10, 0.1, "or_greater") var speed_up := 1.0
9
+ @export var onnx_model_path := ""
10
+
11
+ # Onnx model stored for each requested path
12
+ var onnx_models: Dictionary
13
+
14
+ @onready var start_time = Time.get_ticks_msec()
15
+
16
+ const MAJOR_VERSION := "0"
17
+ const MINOR_VERSION := "7"
18
+ const DEFAULT_PORT := "11008"
19
+ const DEFAULT_SEED := "1"
20
+ var stream: StreamPeerTCP = null
21
+ var connected = false
22
+ var message_center
23
+ var should_connect = true
24
+
25
+ var all_agents: Array
26
+ var agents_training: Array
27
+ var agents_inference: Array
28
+ var agents_heuristic: Array
29
+
30
+ ## For recording expert demos
31
+ var agent_demo_record: Node
32
+ ## Stores recorded trajectories
33
+ var demo_trajectories: Array
34
+ ## A trajectory includes obs: Array, acts: Array, terminal (set in Python env instead)
35
+ var current_demo_trajectory: Array
36
+
37
+ var need_to_send_obs = false
38
+ var args = null
39
+ var initialized = false
40
+ var just_reset = false
41
+ var onnx_model = null
42
+ var n_action_steps = 0
43
+
44
+ var _action_space: Dictionary
45
+ var _action_space_inference: Array[Dictionary] = []
46
+ var _obs_space: Dictionary
47
+
48
+
49
+ # Called when the node enters the scene tree for the first time.
50
+ func _ready():
51
+ await get_tree().root.ready
52
+ get_tree().set_pause(true)
53
+ _initialize()
54
+ await get_tree().create_timer(1.0).timeout
55
+ get_tree().set_pause(false)
56
+
57
+
58
+ func _initialize():
59
+ _get_agents()
60
+ args = _get_args()
61
+ Engine.physics_ticks_per_second = _get_speedup() * 60 # Replace with function body.
62
+ Engine.time_scale = _get_speedup() * 1.0
63
+ prints(
64
+ "physics ticks",
65
+ Engine.physics_ticks_per_second,
66
+ Engine.time_scale,
67
+ _get_speedup(),
68
+ speed_up
69
+ )
70
+
71
+ _set_heuristic("human", all_agents)
72
+
73
+ _initialize_training_agents()
74
+ _initialize_inference_agents()
75
+ _initialize_demo_recording()
76
+
77
+ _set_seed()
78
+ _set_action_repeat()
79
+ initialized = true
80
+
81
+
82
+ func _initialize_training_agents():
83
+ if agents_training.size() > 0:
84
+ _obs_space = agents_training[0].get_obs_space()
85
+ _action_space = agents_training[0].get_action_space()
86
+ connected = connect_to_server()
87
+ if connected:
88
+ _set_heuristic("model", agents_training)
89
+ _handshake()
90
+ _send_env_info()
91
+ else:
92
+ push_warning(
93
+ "Couldn't connect to Python server, using human controls instead. ",
94
+ "Did you start the training server using e.g. `gdrl` from the console?"
95
+ )
96
+
97
+
98
+ func _initialize_inference_agents():
99
+ if agents_inference.size() > 0:
100
+ if control_mode == ControlModes.ONNX_INFERENCE:
101
+ assert(
102
+ FileAccess.file_exists(onnx_model_path),
103
+ "Onnx Model Path set on Sync node does not exist: %s" % onnx_model_path
104
+ )
105
+ onnx_models[onnx_model_path] = ONNXModel.new(onnx_model_path, 1)
106
+
107
+ for agent in agents_inference:
108
+ _action_space_inference.append(agent.get_action_space())
109
+
110
+ var agent_onnx_model: ONNXModel
111
+ if agent.onnx_model_path.is_empty():
112
+ assert(
113
+ onnx_models.has(onnx_model_path),
114
+ (
115
+ "Node %s has no onnx model path set " % agent.get_path()
116
+ + "and sync node's control mode is not set to OnnxInference. "
117
+ + "Either add the path to the AIController, "
118
+ + "or if you want to use the path set on sync node instead, "
119
+ + "set control mode to OnnxInference."
120
+ )
121
+ )
122
+ prints(
123
+ "Info: AIController %s" % agent.get_path(),
124
+ "has no onnx model path set.",
125
+ "Using path set on the sync node instead."
126
+ )
127
+ agent_onnx_model = onnx_models[onnx_model_path]
128
+ else:
129
+ if not onnx_models.has(agent.onnx_model_path):
130
+ assert(
131
+ FileAccess.file_exists(agent.onnx_model_path),
132
+ (
133
+ "Onnx Model Path set on %s node does not exist: %s"
134
+ % [agent.get_path(), agent.onnx_model_path]
135
+ )
136
+ )
137
+ onnx_models[agent.onnx_model_path] = ONNXModel.new(agent.onnx_model_path, 1)
138
+ agent_onnx_model = onnx_models[agent.onnx_model_path]
139
+
140
+ agent.onnx_model = agent_onnx_model
141
+ _set_heuristic("model", agents_inference)
142
+
143
+
144
+ func _initialize_demo_recording():
145
+ if agent_demo_record:
146
+ InputMap.add_action("RemoveLastDemoEpisode")
147
+ InputMap.action_add_event(
148
+ "RemoveLastDemoEpisode", agent_demo_record.remove_last_episode_key
149
+ )
150
+ current_demo_trajectory.resize(2)
151
+ current_demo_trajectory[0] = []
152
+ current_demo_trajectory[1] = []
153
+ agent_demo_record.heuristic = "demo_record"
154
+
155
+
156
+ func _physics_process(_delta):
157
+ # two modes, human control, agent control
158
+ # pause tree, send obs, get actions, set actions, unpause tree
159
+
160
+ _demo_record_process()
161
+
162
+ if n_action_steps % action_repeat != 0:
163
+ n_action_steps += 1
164
+ return
165
+
166
+ n_action_steps += 1
167
+
168
+ _training_process()
169
+ _inference_process()
170
+ _heuristic_process()
171
+
172
+
173
+ func _training_process():
174
+ if connected:
175
+ get_tree().set_pause(true)
176
+
177
+ if just_reset:
178
+ just_reset = false
179
+ var obs = _get_obs_from_agents(agents_training)
180
+
181
+ var reply = {"type": "reset", "obs": obs}
182
+ _send_dict_as_json_message(reply)
183
+ # this should go straight to getting the action and setting it checked the agent, no need to perform one phyics tick
184
+ get_tree().set_pause(false)
185
+ return
186
+
187
+ if need_to_send_obs:
188
+ need_to_send_obs = false
189
+ var reward = _get_reward_from_agents()
190
+ var done = _get_done_from_agents()
191
+ #_reset_agents_if_done() # this ensures the new observation is from the next env instance : NEEDS REFACTOR
192
+
193
+ var obs = _get_obs_from_agents(agents_training)
194
+
195
+ var reply = {"type": "step", "obs": obs, "reward": reward, "done": done}
196
+ _send_dict_as_json_message(reply)
197
+
198
+ var handled = handle_message()
199
+
200
+
201
+ func _inference_process():
202
+ if agents_inference.size() > 0:
203
+ var obs: Array = _get_obs_from_agents(agents_inference)
204
+ var actions = []
205
+
206
+ for agent_id in range(0, agents_inference.size()):
207
+ var action = agents_inference[agent_id].onnx_model.run_inference(
208
+ obs[agent_id]["obs"], 1.0
209
+ )
210
+ action["output"] = clamp_array(action["output"], -1.0, 1.0)
211
+ var action_dict = _extract_action_dict(
212
+ action["output"], _action_space_inference[agent_id]
213
+ )
214
+ actions.append(action_dict)
215
+
216
+ _set_agent_actions(actions, agents_inference)
217
+ _reset_agents_if_done(agents_inference)
218
+ get_tree().set_pause(false)
219
+
220
+
221
+ func _demo_record_process():
222
+ if not agent_demo_record:
223
+ return
224
+
225
+ if Input.is_action_just_pressed("RemoveLastDemoEpisode"):
226
+ print("[Sync script][Demo recorder] Removing last recorded episode.")
227
+ demo_trajectories.remove_at(demo_trajectories.size() - 1)
228
+ print("Remaining episode count: %d" % demo_trajectories.size())
229
+
230
+ if n_action_steps % agent_demo_record.action_repeat != 0:
231
+ return
232
+
233
+ var obs_dict: Dictionary = agent_demo_record.get_obs()
234
+
235
+ # Get the current obs from the agent
236
+ assert(
237
+ obs_dict.has("obs"),
238
+ "Demo recorder needs an 'obs' key in get_obs() returned dictionary to record obs from."
239
+ )
240
+ current_demo_trajectory[0].append(obs_dict.obs)
241
+
242
+ # Get the action applied for the current obs from the agent
243
+ agent_demo_record.set_action()
244
+ var acts = agent_demo_record.get_action()
245
+
246
+ var terminal = agent_demo_record.get_done()
247
+ # Record actions only for non-terminal states
248
+ if terminal:
249
+ agent_demo_record.set_done_false()
250
+ else:
251
+ current_demo_trajectory[1].append(acts)
252
+
253
+ if terminal:
254
+ #current_demo_trajectory[2].append(true)
255
+ demo_trajectories.append(current_demo_trajectory.duplicate(true))
256
+ print("[Sync script][Demo recorder] Recorded episode count: %d" % demo_trajectories.size())
257
+ current_demo_trajectory[0].clear()
258
+ current_demo_trajectory[1].clear()
259
+
260
+
261
+ func _heuristic_process():
262
+ for agent in agents_heuristic:
263
+ _reset_agents_if_done(agents_heuristic)
264
+
265
+
266
+ func _extract_action_dict(action_array: Array, action_space: Dictionary):
267
+ var index = 0
268
+ var result = {}
269
+ for key in action_space.keys():
270
+ var size = action_space[key]["size"]
271
+ if action_space[key]["action_type"] == "discrete":
272
+ result[key] = round(action_array[index])
273
+ else:
274
+ result[key] = action_array.slice(index, index + size)
275
+ index += size
276
+
277
+ return result
278
+
279
+
280
+ ## For AIControllers that inherit mode from sync, sets the correct mode.
281
+ func _set_agent_mode(agent: Node):
282
+ var agent_inherits_mode: bool = agent.control_mode == agent.ControlModes.INHERIT_FROM_SYNC
283
+
284
+ if agent_inherits_mode:
285
+ match control_mode:
286
+ ControlModes.HUMAN:
287
+ agent.control_mode = agent.ControlModes.HUMAN
288
+ ControlModes.TRAINING:
289
+ agent.control_mode = agent.ControlModes.TRAINING
290
+ ControlModes.ONNX_INFERENCE:
291
+ agent.control_mode = agent.ControlModes.ONNX_INFERENCE
292
+
293
+
294
+ func _get_agents():
295
+ all_agents = get_tree().get_nodes_in_group("AGENT")
296
+ for agent in all_agents:
297
+ _set_agent_mode(agent)
298
+
299
+ if agent.control_mode == agent.ControlModes.TRAINING:
300
+ agents_training.append(agent)
301
+ elif agent.control_mode == agent.ControlModes.ONNX_INFERENCE:
302
+ agents_inference.append(agent)
303
+ elif agent.control_mode == agent.ControlModes.HUMAN:
304
+ agents_heuristic.append(agent)
305
+ elif agent.control_mode == agent.ControlModes.RECORD_EXPERT_DEMOS:
306
+ assert(
307
+ not agent_demo_record,
308
+ "Currently only a single AIController can be used for recording expert demos."
309
+ )
310
+ agent_demo_record = agent
311
+
312
+
313
+ func _set_heuristic(heuristic, agents: Array):
314
+ for agent in agents:
315
+ agent.set_heuristic(heuristic)
316
+
317
+
318
+ func _handshake():
319
+ print("performing handshake")
320
+
321
+ var json_dict = _get_dict_json_message()
322
+ assert(json_dict["type"] == "handshake")
323
+ var major_version = json_dict["major_version"]
324
+ var minor_version = json_dict["minor_version"]
325
+ if major_version != MAJOR_VERSION:
326
+ print("WARNING: major verison mismatch ", major_version, " ", MAJOR_VERSION)
327
+ if minor_version != MINOR_VERSION:
328
+ print("WARNING: minor verison mismatch ", minor_version, " ", MINOR_VERSION)
329
+
330
+ print("handshake complete")
331
+
332
+
333
+ func _get_dict_json_message():
334
+ # returns a dictionary from of the most recent message
335
+ # this is not waiting
336
+ while stream.get_available_bytes() == 0:
337
+ stream.poll()
338
+ if stream.get_status() != 2:
339
+ print("server disconnected status, closing")
340
+ get_tree().quit()
341
+ return null
342
+
343
+ OS.delay_usec(10)
344
+
345
+ var message = stream.get_string()
346
+ var json_data = JSON.parse_string(message)
347
+
348
+ return json_data
349
+
350
+
351
+ func _send_dict_as_json_message(dict):
352
+ stream.put_string(JSON.stringify(dict, "", false))
353
+
354
+
355
+ func _send_env_info():
356
+ var json_dict = _get_dict_json_message()
357
+ assert(json_dict["type"] == "env_info")
358
+
359
+ var message = {
360
+ "type": "env_info",
361
+ "observation_space": _obs_space,
362
+ "action_space": _action_space,
363
+ "n_agents": len(agents_training)
364
+ }
365
+ _send_dict_as_json_message(message)
366
+
367
+
368
+ func connect_to_server():
369
+ print("Waiting for one second to allow server to start")
370
+ OS.delay_msec(1000)
371
+ print("trying to connect to server")
372
+ stream = StreamPeerTCP.new()
373
+
374
+ # "localhost" was not working on windows VM, had to use the IP
375
+ var ip = "127.0.0.1"
376
+ var port = _get_port()
377
+ var connect = stream.connect_to_host(ip, port)
378
+ stream.set_no_delay(true) # TODO check if this improves performance or not
379
+ stream.poll()
380
+ # Fetch the status until it is either connected (2) or failed to connect (3)
381
+ while stream.get_status() < 2:
382
+ stream.poll()
383
+ return stream.get_status() == 2
384
+
385
+
386
+ func _get_args():
387
+ print("getting command line arguments")
388
+ var arguments = {}
389
+ for argument in OS.get_cmdline_args():
390
+ print(argument)
391
+ if argument.find("=") > -1:
392
+ var key_value = argument.split("=")
393
+ arguments[key_value[0].lstrip("--")] = key_value[1]
394
+ else:
395
+ # Options without an argument will be present in the dictionary,
396
+ # with the value set to an empty string.
397
+ arguments[argument.lstrip("--")] = ""
398
+
399
+ return arguments
400
+
401
+
402
+ func _get_speedup():
403
+ print(args)
404
+ return args.get("speedup", str(speed_up)).to_float()
405
+
406
+
407
+ func _get_port():
408
+ return args.get("port", DEFAULT_PORT).to_int()
409
+
410
+
411
+ func _set_seed():
412
+ var _seed = args.get("env_seed", DEFAULT_SEED).to_int()
413
+ seed(_seed)
414
+
415
+
416
+ func _set_action_repeat():
417
+ action_repeat = args.get("action_repeat", str(action_repeat)).to_int()
418
+
419
+
420
+ func disconnect_from_server():
421
+ stream.disconnect_from_host()
422
+
423
+
424
+ func handle_message() -> bool:
425
+ # get json message: reset, step, close
426
+ var message = _get_dict_json_message()
427
+ if message["type"] == "close":
428
+ print("received close message, closing game")
429
+ get_tree().quit()
430
+ get_tree().set_pause(false)
431
+ return true
432
+
433
+ if message["type"] == "reset":
434
+ print("resetting all agents")
435
+ _reset_agents()
436
+ just_reset = true
437
+ get_tree().set_pause(false)
438
+ #print("resetting forcing draw")
439
+ # RenderingServer.force_draw()
440
+ # var obs = _get_obs_from_agents()
441
+ # print("obs ", obs)
442
+ # var reply = {
443
+ # "type": "reset",
444
+ # "obs": obs
445
+ # }
446
+ # _send_dict_as_json_message(reply)
447
+ return true
448
+
449
+ if message["type"] == "call":
450
+ var method = message["method"]
451
+ var returns = _call_method_on_agents(method)
452
+ var reply = {"type": "call", "returns": returns}
453
+ print("calling method from Python")
454
+ _send_dict_as_json_message(reply)
455
+ return handle_message()
456
+
457
+ if message["type"] == "action":
458
+ var action = message["action"]
459
+ _set_agent_actions(action, agents_training)
460
+ need_to_send_obs = true
461
+ get_tree().set_pause(false)
462
+ return true
463
+
464
+ print("message was not handled")
465
+ return false
466
+
467
+
468
+ func _call_method_on_agents(method):
469
+ var returns = []
470
+ for agent in all_agents:
471
+ returns.append(agent.call(method))
472
+
473
+ return returns
474
+
475
+
476
+ func _reset_agents_if_done(agents = all_agents):
477
+ for agent in agents:
478
+ if agent.get_done():
479
+ agent.set_done_false()
480
+
481
+
482
+ func _reset_agents(agents = all_agents):
483
+ for agent in agents:
484
+ agent.needs_reset = true
485
+ #agent.reset()
486
+
487
+
488
+ func _get_obs_from_agents(agents: Array = all_agents):
489
+ var obs = []
490
+ for agent in agents:
491
+ obs.append(agent.get_obs())
492
+ return obs
493
+
494
+
495
+ func _get_reward_from_agents(agents: Array = agents_training):
496
+ var rewards = []
497
+ for agent in agents:
498
+ rewards.append(agent.get_reward())
499
+ agent.zero_reward()
500
+ return rewards
501
+
502
+
503
+ func _get_done_from_agents(agents: Array = agents_training):
504
+ var dones = []
505
+ for agent in agents:
506
+ var done = agent.get_done()
507
+ if done:
508
+ agent.set_done_false()
509
+ dones.append(done)
510
+ return dones
511
+
512
+
513
+ func _set_agent_actions(actions, agents: Array = all_agents):
514
+ for i in range(len(actions)):
515
+ agents[i].set_action(actions[i])
516
+
517
+
518
+ func clamp_array(arr: Array, min: float, max: float):
519
+ var output: Array = []
520
+ for a in arr:
521
+ output.append(clamp(a, min, max))
522
+ return output
523
+
524
+
525
+ ## Save recorded export demos on window exit (Close window instead of "Stop" button in Godot Editor)
526
+ func _notification(what):
527
+ if not agent_demo_record:
528
+ return
529
+
530
+ if what == NOTIFICATION_PREDELETE:
531
+ var json_string = JSON.stringify(demo_trajectories, "", false)
532
+ var file = FileAccess.open(agent_demo_record.expert_demo_save_path, FileAccess.WRITE)
533
+
534
+ if not file:
535
+ var error: Error = FileAccess.get_open_error()
536
+ assert(not error, "There was an error opening the file: %d" % error)
537
+
538
+ file.store_line(json_string)
539
+ var error = file.get_error()
540
+ assert(not error, "There was an error after trying to write to the file: %d" % error)
asset-license.md ADDED
@@ -0,0 +1,5 @@
 
 
 
 
 
 
1
+ Robot Volleyball Environment made by Ivan-267 using Godot, Godot RL Agents, and Blender.
2
+
3
+ The following license is only for the assets (.blend files and .png files) in the folder "blender" and "sky.exr" file in the folder "textures":
4
+ Author: https://github.com/Ivan-267
5
+ License: https://creativecommons.org/licenses/by/4.0/
blender/grass.png ADDED

Git LFS Details

  • SHA256: 814d1330279a614636d5ed10bf0c906d1054d4c0f64cda93a35fda78bf3e6844
  • Pointer size: 130 Bytes
  • Size of remote file: 57.9 kB
blender/grass2.png ADDED

Git LFS Details

  • SHA256: 85a3e266438c8ebf37c370d74219331ac3c68deaa1144d00f6d582c293c7ada3
  • Pointer size: 130 Bytes
  • Size of remote file: 55.2 kB
blender/grass3.png ADDED

Git LFS Details

  • SHA256: 28a187690b9dabe4fee455d53887946da8f0698c853c443b139c2140911cc2df
  • Pointer size: 130 Bytes
  • Size of remote file: 51.6 kB
blender/robot.blend ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:51b1b6e2ac27c8e83e3e248658f40094c8d8336dc71c7dcd670777085f36b5c4
3
+ size 1022824
blender/static_decorations.blend ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:ed8b8c79a7bbf057c6b1964854079a33ffd232f55bd5f7f98ecdd9489b7e20b3
3
+ size 1223728
icon.svg ADDED
onnx/volleyball.onnx ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:33e71a5aa6421ae9c92af5d3bd83bca25854ae46bac607ae56bb731ce219a577
3
+ size 23502
project.godot ADDED
@@ -0,0 +1,58 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ ; Engine configuration file.
2
+ ; It's best edited using the editor UI and not directly,
3
+ ; since the parameters that go here are not all obvious.
4
+ ;
5
+ ; Format:
6
+ ; [section] ; section goes between []
7
+ ; param=value ; assign values to parameters
8
+
9
+ config_version=5
10
+
11
+ [application]
12
+
13
+ config/name="RobotVolleyball"
14
+ run/main_scene="res://scenes/training_scene/training_scene.tscn"
15
+ config/features=PackedStringArray("4.2", "C#", "Forward Plus")
16
+ config/icon="res://icon.svg"
17
+
18
+ [display]
19
+
20
+ window/size/mode=4
21
+
22
+ [dotnet]
23
+
24
+ project/assembly_name="RobotVolleyball"
25
+
26
+ [editor_plugins]
27
+
28
+ enabled=PackedStringArray("res://addons/godot_rl_agents/plugin.cfg")
29
+
30
+ [input]
31
+
32
+ move_left={
33
+ "deadzone": 0.5,
34
+ "events": [Object(InputEventKey,"resource_local_to_scene":false,"resource_name":"","device":-1,"window_id":0,"alt_pressed":false,"shift_pressed":false,"ctrl_pressed":false,"meta_pressed":false,"pressed":false,"keycode":0,"physical_keycode":65,"key_label":0,"unicode":97,"echo":false,"script":null)
35
+ , Object(InputEventKey,"resource_local_to_scene":false,"resource_name":"","device":-1,"window_id":0,"alt_pressed":false,"shift_pressed":false,"ctrl_pressed":false,"meta_pressed":false,"pressed":false,"keycode":0,"physical_keycode":4194319,"key_label":0,"unicode":0,"echo":false,"script":null)
36
+ , Object(InputEventJoypadButton,"resource_local_to_scene":false,"resource_name":"","device":-1,"button_index":13,"pressure":0.0,"pressed":true,"script":null)
37
+ ]
38
+ }
39
+ move_right={
40
+ "deadzone": 0.5,
41
+ "events": [Object(InputEventKey,"resource_local_to_scene":false,"resource_name":"","device":-1,"window_id":0,"alt_pressed":false,"shift_pressed":false,"ctrl_pressed":false,"meta_pressed":false,"pressed":false,"keycode":0,"physical_keycode":68,"key_label":0,"unicode":100,"echo":false,"script":null)
42
+ , Object(InputEventKey,"resource_local_to_scene":false,"resource_name":"","device":-1,"window_id":0,"alt_pressed":false,"shift_pressed":false,"ctrl_pressed":false,"meta_pressed":false,"pressed":false,"keycode":0,"physical_keycode":4194321,"key_label":0,"unicode":0,"echo":false,"script":null)
43
+ , Object(InputEventJoypadButton,"resource_local_to_scene":false,"resource_name":"","device":-1,"button_index":14,"pressure":0.0,"pressed":true,"script":null)
44
+ ]
45
+ }
46
+ jump={
47
+ "deadzone": 0.5,
48
+ "events": [Object(InputEventKey,"resource_local_to_scene":false,"resource_name":"","device":-1,"window_id":0,"alt_pressed":false,"shift_pressed":false,"ctrl_pressed":false,"meta_pressed":false,"pressed":false,"keycode":0,"physical_keycode":32,"key_label":0,"unicode":32,"echo":false,"script":null)
49
+ , Object(InputEventKey,"resource_local_to_scene":false,"resource_name":"","device":-1,"window_id":0,"alt_pressed":false,"shift_pressed":false,"ctrl_pressed":false,"meta_pressed":false,"pressed":false,"keycode":0,"physical_keycode":87,"key_label":0,"unicode":119,"echo":false,"script":null)
50
+ , Object(InputEventKey,"resource_local_to_scene":false,"resource_name":"","device":-1,"window_id":0,"alt_pressed":false,"shift_pressed":false,"ctrl_pressed":false,"meta_pressed":false,"pressed":false,"keycode":0,"physical_keycode":4194320,"key_label":0,"unicode":0,"echo":false,"script":null)
51
+ , Object(InputEventJoypadButton,"resource_local_to_scene":false,"resource_name":"","device":-1,"button_index":0,"pressure":0.0,"pressed":true,"script":null)
52
+ ]
53
+ }
54
+
55
+ [physics]
56
+
57
+ 3d/default_linear_damp=0.0
58
+ 3d/default_angular_damp=0.0
readme.md ADDED
@@ -0,0 +1,63 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ ## Robot Volleyball
2
+
3
+ A simple minigame arcade-style Volleyball example with AI vs AI and Human VS AI modes.
4
+
5
+ ### Observations:
6
+ - Position of the ball in robot's local reference,
7
+ - Position of the ball in the robot's goal's local reference (to tell on what side of the field the ball is in),
8
+ - Velocity of the robot in robot's local reference,
9
+ - Velocity of the ball in robot's local reference,
10
+ - Whether the jump sensor is colliding (which means that the robot can jump),
11
+ - Whether the robot is serving,
12
+ - Whether the ball has been served,
13
+ - Hit count of the ball in a row (hitting the ball more than 2 times in a row by the same robot causes a fault),
14
+ - How many steps has passed without hitting the ball (only counted if serving, there is a time limit in that case).
15
+
16
+ ### Action space:
17
+ ```gdscript
18
+ func get_action_space() -> Dictionary:
19
+ return {
20
+ "jump": {"size": 1, "action_type": "continuous"},
21
+ "movement": {"size": 1, "action_type": "continuous"}
22
+ }
23
+ ```
24
+
25
+ ### Rewards:
26
+ - Positive reward for hitting the ball once when serving,
27
+ - Negative reward if the same robot hits the ball more than 2 times in a row,
28
+ - Negative reward if the ball hits the robots own goal
29
+
30
+ ### Game over / episode end conditions:
31
+ In infinite game mode or training mode, there are no specified end conditions.
32
+ It's possible to disable these modes in the GameScene node in which case a winner will be announced,
33
+ and the scores will be restarted, after a certain amount of points is reached.
34
+
35
+ ### Running inference:
36
+ #### AI vs AI
37
+ Open the scene `res://scenes/testing_scenes/ai_vs_ai.tscn` in Godot Editor, and press `F6` or click on `Run Current Scene`.
38
+
39
+ #### Human vs AI
40
+ To play VS the AI, open the scene `res://scenes/testing_scenes/human_vs_ai.tscn` in Godot Editor, and press `F6` or click on `Run Current Scene`.
41
+
42
+ Controls (you can adjust them in Project Settings in Godot Editor):
43
+
44
+ ![Volleyball Controls](https://github.com/edbeeching/godot_rl_agents_examples/assets/61947090/26809560-815d-4d8e-b3ea-2f539a9e1fa3)
45
+
46
+ ### Training:
47
+ The default scene `res://scenes/training_scene/training_scene.tscn` can be used for training.
48
+
49
+ These were the parameters used to train the included onnx file (they can be applied by modifying [stable_baselines3_example.py](https://github.com/edbeeching/godot_rl_agents/blob/main/examples/stable_baselines3_example.py)):
50
+ ```python
51
+ policy_kwargs = dict(log_std_init=log(1.0))
52
+ model: PPO = PPO("MultiInputPolicy", env, verbose=1, n_epochs=10, learning_rate=0.0003, clip_range=0.2, ent_coef=0.0085, n_steps=128, batch_size=160, policy_kwargs=policy_kwargs, tensorboard_log=args.experiment_dir)
53
+ ```
54
+
55
+ The arguments provided to the example for training were (feel free to adjust these):
56
+ ```bash
57
+ --timesteps=6_500_000
58
+ --n_parallel=5
59
+ --speedup=15
60
+ --env_path=[write the path to exported exe file here or remove this and n_parallel above for in-editor training]
61
+ --onnx_export_path=volleyball.onnx
62
+ ```
63
+
scenes/game_scene/ball.gd ADDED
@@ -0,0 +1,34 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ extends RigidBody3D
2
+ class_name Ball
3
+
4
+ @export var max_velocity: float = 8.0
5
+
6
+ var is_resetting: bool
7
+ var ball_served: bool
8
+ var new_position: Vector3
9
+
10
+
11
+ func _integrate_forces(state):
12
+ state.linear_velocity = state.linear_velocity.limit_length(max_velocity)
13
+
14
+
15
+ func reset(position_after_reset: Vector3):
16
+ ball_served = false
17
+ is_resetting = true
18
+ gravity_scale = 0
19
+ linear_velocity = Vector3.ZERO
20
+ angular_velocity = Vector3.ZERO
21
+ global_position = position_after_reset
22
+ new_position = position_after_reset
23
+
24
+
25
+ func _on_body_entered(body):
26
+ if ball_served:
27
+ return
28
+
29
+ var player = body as Robot
30
+
31
+ if player and player.ai_controller.is_serving and not ball_served:
32
+ ball_served = true
33
+ player.ai_controller.is_serving = false
34
+ gravity_scale = 1.45
scenes/game_scene/game_manager.gd ADDED
@@ -0,0 +1,127 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ ## TODO: Try not ending episodes, just giving the rewards.
2
+
3
+ extends Node3D
4
+ class_name GameManager
5
+
6
+ @export var players: Array[Robot]
7
+
8
+ ## Training mode disables UI and game-resetting
9
+ @export var training_mode: bool = true
10
+ ## Applies if the training mode is disabled
11
+ @export var infinite_game: bool = true
12
+ ## Applies if the training mode is disabled
13
+ @export var victory_at_score: int = 11
14
+ @export var ui: UI
15
+
16
+ var ball_hit_in_row_count: int
17
+ var last_ball_hit_player: Robot
18
+
19
+ @onready var ball = $Ball
20
+
21
+ var game_just_reset: bool = false
22
+
23
+
24
+ func get_hit_ball_count(robot: Robot):
25
+ if last_ball_hit_player != robot:
26
+ return 0.0
27
+ return ball_hit_in_row_count / 2.0
28
+
29
+
30
+ func _ready():
31
+ for player in players:
32
+ player.ball = ball
33
+ player.game_manager = self
34
+ activate_game_reset()
35
+
36
+
37
+ func _physics_process(_delta):
38
+ if ball.global_position.y < -2:
39
+ activate_game_reset()
40
+
41
+ if game_just_reset and not training_mode:
42
+ reset_ball(players.pick_random())
43
+ process_mode = Node.PROCESS_MODE_DISABLED
44
+ ui.show_get_ready_text(3)
45
+ await get_tree().create_timer(3, true, true).timeout
46
+ game_just_reset = false
47
+
48
+ for player in players:
49
+ player = player as Robot
50
+ player.score = 0
51
+ player.global_position = player.initial_position
52
+ player.linear_velocity = Vector3.ZERO
53
+
54
+ ball_hit_in_row_count = 0
55
+ process_mode = Node.PROCESS_MODE_ALWAYS
56
+
57
+
58
+ func _on_ball_body_entered(body):
59
+ var player = body as Robot
60
+ if player:
61
+ if not ball.ball_served:
62
+ player.ai_controller.reward += 1.0
63
+
64
+ if last_ball_hit_player == player:
65
+ ball_hit_in_row_count += 1
66
+ else:
67
+ ball_hit_in_row_count = 1
68
+ last_ball_hit_player = player
69
+
70
+ if ball_hit_in_row_count > 2:
71
+ player.ai_controller.reward -= 1.0
72
+ player.other_player.score += 1
73
+ reset_ball(player.other_player)
74
+
75
+
76
+ func handle_goal_hit(goal: Area3D):
77
+ for player in players:
78
+ if player.goal == goal:
79
+ player.ai_controller.reward -= 1.0
80
+ player.other_player.score += 1
81
+ reset_ball(player.other_player)
82
+
83
+
84
+ func calc_ball_position(player: Robot):
85
+ return player.initial_position + Vector3.UP * 1.1 + Vector3.RIGHT * randf_range(-0.5, 0.5)
86
+
87
+
88
+ func _on_goal_ball_entered(goal):
89
+ handle_goal_hit(goal)
90
+
91
+
92
+ func reset_ball(player: Robot):
93
+ handle_victory(player)
94
+ ball_hit_in_row_count = 0
95
+ ball.ball_served = false
96
+ player.ai_controller.is_serving = true
97
+ player.other_player.ai_controller.is_serving = false
98
+
99
+ for robot in players:
100
+ robot.ai_controller.steps_without_ball_hit_while_serving = 0
101
+
102
+ ball.reset(calc_ball_position(player))
103
+
104
+
105
+ func handle_victory(potential_winner: Robot):
106
+ if training_mode:
107
+ return
108
+
109
+ if check_if_game_winner(potential_winner):
110
+ if potential_winner.ai_controller.control_mode == AIController3D.ControlModes.HUMAN:
111
+ ui.show_winner_text("Player", 3)
112
+ else:
113
+ ui.show_winner_text(potential_winner.name, 3)
114
+ activate_game_reset()
115
+
116
+
117
+ func check_if_game_winner(robot: Robot):
118
+ if infinite_game:
119
+ return
120
+
121
+ if robot.score >= victory_at_score:
122
+ return true
123
+ return false
124
+
125
+
126
+ func activate_game_reset():
127
+ game_just_reset = true
scenes/game_scene/game_scene.tscn ADDED
@@ -0,0 +1,377 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ [gd_scene load_steps=36 format=3 uid="uid://2x5filmso32a"]
2
+
3
+ [ext_resource type="Script" path="res://scenes/game_scene/game_manager.gd" id="1_g4wvl"]
4
+ [ext_resource type="Script" path="res://scenes/game_scene/goal.gd" id="2_ypwf4"]
5
+ [ext_resource type="PackedScene" uid="uid://3gt386v3b1ej" path="res://scenes/robot/robot.tscn" id="3_y4pr4"]
6
+ [ext_resource type="Shader" uid="uid://der346ayua0mt" path="res://shaders/sway.tres" id="4_dl2k6"]
7
+ [ext_resource type="PackedScene" uid="uid://bfwxkao4uhtdy" path="res://blender/static_decorations.blend" id="5_5d1h1"]
8
+ [ext_resource type="Texture2D" uid="uid://7pxcpp75142j" path="res://blender/grass.png" id="5_kw2hd"]
9
+ [ext_resource type="Script" path="res://scenes/game_scene/ball.gd" id="5_xjnfp"]
10
+ [ext_resource type="Texture2D" uid="uid://cc7p54wl68umy" path="res://blender/grass2.png" id="6_oqveb"]
11
+ [ext_resource type="Texture2D" uid="uid://bqnr3brm7i4i7" path="res://blender/grass3.png" id="7_h2k6l"]
12
+
13
+ [sub_resource type="Gradient" id="Gradient_0rod8"]
14
+ colors = PackedColorArray(0.683594, 0.683594, 0.683594, 1, 1, 1, 1, 1)
15
+
16
+ [sub_resource type="FastNoiseLite" id="FastNoiseLite_kgiw2"]
17
+ frequency = 0.1
18
+
19
+ [sub_resource type="NoiseTexture2D" id="NoiseTexture2D_i1j55"]
20
+ color_ramp = SubResource("Gradient_0rod8")
21
+ noise = SubResource("FastNoiseLite_kgiw2")
22
+
23
+ [sub_resource type="StandardMaterial3D" id="StandardMaterial3D_si1yy"]
24
+ albedo_color = Color(0.729412, 0.670588, 0.0352941, 1)
25
+ albedo_texture = SubResource("NoiseTexture2D_i1j55")
26
+
27
+ [sub_resource type="StandardMaterial3D" id="StandardMaterial3D_v4edw"]
28
+ albedo_color = Color(1, 0.6, 0, 1)
29
+
30
+ [sub_resource type="StandardMaterial3D" id="StandardMaterial3D_tsppj"]
31
+ transparency = 1
32
+ albedo_color = Color(0.0156863, 0.627451, 0.721569, 0.211765)
33
+ metallic = 0.85
34
+ roughness = 0.0
35
+
36
+ [sub_resource type="BoxShape3D" id="BoxShape3D_20bsr"]
37
+ size = Vector3(10, 10, 5)
38
+
39
+ [sub_resource type="BoxShape3D" id="BoxShape3D_nucsm"]
40
+ size = Vector3(10, 10, 5)
41
+
42
+ [sub_resource type="BoxShape3D" id="BoxShape3D_7q7xm"]
43
+ size = Vector3(30, 20, 15)
44
+
45
+ [sub_resource type="BoxShape3D" id="BoxShape3D_u865r"]
46
+ size = Vector3(0.2, 1.162, 2)
47
+
48
+ [sub_resource type="CylinderShape3D" id="CylinderShape3D_ho4bs"]
49
+ radius = 0.1
50
+
51
+ [sub_resource type="BoxShape3D" id="BoxShape3D_efmyo"]
52
+ size = Vector3(3, 1, 2)
53
+
54
+ [sub_resource type="Gradient" id="Gradient_epedm"]
55
+ colors = PackedColorArray(0.811765, 0.811765, 0.811765, 1, 1, 1, 1, 1)
56
+
57
+ [sub_resource type="FastNoiseLite" id="FastNoiseLite_quakn"]
58
+ fractal_octaves = 4
59
+ fractal_lacunarity = 7.155
60
+ fractal_gain = 0.415
61
+ fractal_weighted_strength = 0.5
62
+
63
+ [sub_resource type="NoiseTexture2D" id="NoiseTexture2D_vmvmy"]
64
+ width = 1280
65
+ height = 1280
66
+ color_ramp = SubResource("Gradient_epedm")
67
+ noise = SubResource("FastNoiseLite_quakn")
68
+
69
+ [sub_resource type="StandardMaterial3D" id="StandardMaterial3D_unsk7"]
70
+ albedo_color = Color(0, 0.517647, 0.0235294, 1)
71
+ albedo_texture = SubResource("NoiseTexture2D_vmvmy")
72
+
73
+ [sub_resource type="PlaneMesh" id="PlaneMesh_o0rtt"]
74
+ size = Vector2(20, 20)
75
+
76
+ [sub_resource type="ShaderMaterial" id="ShaderMaterial_ie7u0"]
77
+ resource_name = "grass"
78
+ render_priority = 0
79
+ shader = ExtResource("4_dl2k6")
80
+ shader_parameter/albedo = Color(1, 1, 1, 1)
81
+ shader_parameter/point_size = 1.0
82
+ shader_parameter/roughness = 0.5
83
+ shader_parameter/metallic_texture_channel = null
84
+ shader_parameter/specular = 0.5
85
+ shader_parameter/metallic = 0.0
86
+ shader_parameter/uv1_scale = Vector3(1, 1, 1)
87
+ shader_parameter/uv1_offset = Vector3(0, 0, 0)
88
+ shader_parameter/uv2_scale = Vector3(1, 1, 1)
89
+ shader_parameter/uv2_offset = Vector3(0, 0, 0)
90
+ shader_parameter/sway_frequency = 1.0
91
+ shader_parameter/sway_scale = 0.1
92
+ shader_parameter/texture_albedo = ExtResource("5_kw2hd")
93
+
94
+ [sub_resource type="ShaderMaterial" id="ShaderMaterial_pa0jt"]
95
+ resource_name = "grass2"
96
+ render_priority = 0
97
+ shader = ExtResource("4_dl2k6")
98
+ shader_parameter/albedo = Color(1, 1, 1, 1)
99
+ shader_parameter/point_size = 1.0
100
+ shader_parameter/roughness = 0.5
101
+ shader_parameter/metallic_texture_channel = null
102
+ shader_parameter/specular = 0.5
103
+ shader_parameter/metallic = 0.0
104
+ shader_parameter/uv1_scale = Vector3(1, 1, 1)
105
+ shader_parameter/uv1_offset = Vector3(0, 0, 0)
106
+ shader_parameter/uv2_scale = Vector3(1, 1, 1)
107
+ shader_parameter/uv2_offset = Vector3(0, 0, 0)
108
+ shader_parameter/sway_frequency = 1.0
109
+ shader_parameter/sway_scale = 0.1
110
+ shader_parameter/texture_albedo = ExtResource("6_oqveb")
111
+
112
+ [sub_resource type="ShaderMaterial" id="ShaderMaterial_og20f"]
113
+ resource_name = "grass3"
114
+ render_priority = 0
115
+ shader = ExtResource("4_dl2k6")
116
+ shader_parameter/albedo = Color(1, 1, 1, 1)
117
+ shader_parameter/point_size = 1.0
118
+ shader_parameter/roughness = 0.5
119
+ shader_parameter/metallic_texture_channel = null
120
+ shader_parameter/specular = 0.5
121
+ shader_parameter/metallic = 0.0
122
+ shader_parameter/uv1_scale = Vector3(1, 1, 1)
123
+ shader_parameter/uv1_offset = Vector3(0, 0, 0)
124
+ shader_parameter/uv2_scale = Vector3(1, 1, 1)
125
+ shader_parameter/uv2_offset = Vector3(0, 0, 0)
126
+ shader_parameter/sway_frequency = 1.0
127
+ shader_parameter/sway_scale = 0.1
128
+ shader_parameter/texture_albedo = ExtResource("7_h2k6l")
129
+
130
+ [sub_resource type="ArrayMesh" id="ArrayMesh_askja"]
131
+ _surfaces = [{
132
+ "aabb": AABB(-8.41681, -0.240389, -8.58835, 17.0486, 0.943132, 17.8912),
133
+ "format": 34896613377,
134
+ "index_count": 210,
135
+ "index_data": PackedByteArray(0, 0, 3, 0, 1, 0, 0, 0, 2, 0, 3, 0, 4, 0, 7, 0, 5, 0, 4, 0, 6, 0, 7, 0, 8, 0, 11, 0, 9, 0, 8, 0, 10, 0, 11, 0, 12, 0, 15, 0, 13, 0, 12, 0, 14, 0, 15, 0, 16, 0, 19, 0, 17, 0, 16, 0, 18, 0, 19, 0, 20, 0, 23, 0, 21, 0, 20, 0, 22, 0, 23, 0, 24, 0, 27, 0, 25, 0, 24, 0, 26, 0, 27, 0, 28, 0, 31, 0, 29, 0, 28, 0, 30, 0, 31, 0, 32, 0, 35, 0, 33, 0, 32, 0, 34, 0, 35, 0, 36, 0, 39, 0, 37, 0, 36, 0, 38, 0, 39, 0, 40, 0, 43, 0, 41, 0, 40, 0, 42, 0, 43, 0, 44, 0, 47, 0, 45, 0, 44, 0, 46, 0, 47, 0, 48, 0, 51, 0, 49, 0, 48, 0, 50, 0, 51, 0, 52, 0, 55, 0, 53, 0, 52, 0, 54, 0, 55, 0, 56, 0, 59, 0, 57, 0, 56, 0, 58, 0, 59, 0, 60, 0, 63, 0, 61, 0, 60, 0, 62, 0, 63, 0, 64, 0, 67, 0, 65, 0, 64, 0, 66, 0, 67, 0, 68, 0, 71, 0, 69, 0, 68, 0, 70, 0, 71, 0, 72, 0, 75, 0, 73, 0, 72, 0, 74, 0, 75, 0, 76, 0, 79, 0, 77, 0, 76, 0, 78, 0, 79, 0, 80, 0, 83, 0, 81, 0, 80, 0, 82, 0, 83, 0, 84, 0, 87, 0, 85, 0, 84, 0, 86, 0, 87, 0, 88, 0, 91, 0, 89, 0, 88, 0, 90, 0, 91, 0, 92, 0, 95, 0, 93, 0, 92, 0, 94, 0, 95, 0, 96, 0, 99, 0, 97, 0, 96, 0, 98, 0, 99, 0, 100, 0, 103, 0, 101, 0, 100, 0, 102, 0, 103, 0, 104, 0, 107, 0, 105, 0, 104, 0, 106, 0, 107, 0, 108, 0, 111, 0, 109, 0, 108, 0, 110, 0, 111, 0, 112, 0, 115, 0, 113, 0, 112, 0, 114, 0, 115, 0, 116, 0, 119, 0, 117, 0, 116, 0, 118, 0, 119, 0, 120, 0, 123, 0, 121, 0, 120, 0, 122, 0, 123, 0, 124, 0, 127, 0, 125, 0, 124, 0, 126, 0, 127, 0, 128, 0, 131, 0, 129, 0, 128, 0, 130, 0, 131, 0, 132, 0, 135, 0, 133, 0, 132, 0, 134, 0, 135, 0, 136, 0, 139, 0, 137, 0, 136, 0, 138, 0, 139, 0),
136
+ "name": "grass",
137
+ "primitive": 3,
138
+ "uv_scale": Vector4(0, 0, 0, 0),
139
+ "vertex_count": 140,
140
+ "vertex_data": PackedByteArray(20, 7, 14, 63, 220, 44, 0, 0, 19, 14, 96, 38, 34, 65, 0, 0, 186, 7, 104, 222, 49, 45, 0, 0, 186, 14, 187, 197, 120, 65, 0, 0, 202, 15, 78, 54, 220, 104, 0, 0, 241, 18, 129, 33, 165, 126, 0, 0, 24, 16, 71, 227, 71, 105, 0, 0, 63, 19, 122, 206, 16, 127, 0, 0, 208, 39, 72, 13, 226, 99, 0, 0, 238, 38, 253, 29, 158, 119, 0, 0, 55, 40, 203, 230, 99, 99, 0, 0, 86, 39, 129, 247, 31, 119, 0, 0, 198, 27, 202, 4, 191, 100, 0, 0, 92, 22, 246, 37, 60, 123, 0, 0, 80, 27, 211, 222, 192, 99, 0, 0, 229, 21, 255, 255, 61, 122, 0, 0, 139, 8, 226, 16, 33, 90, 0, 0, 0, 0, 240, 18, 105, 109, 0, 0, 179, 8, 216, 241, 32, 90, 0, 0, 40, 0, 230, 243, 104, 109, 0, 0, 35, 248, 144, 34, 107, 82, 0, 0, 80, 240, 0, 37, 46, 102, 0, 0, 146, 248, 200, 223, 130, 82, 0, 0, 191, 240, 57, 226, 69, 102, 0, 0, 239, 203, 137, 20, 19, 0, 0, 0, 51, 200, 135, 25, 142, 20, 0, 0, 90, 204, 66, 235, 0, 0, 0, 0, 158, 200, 63, 240, 123, 20, 0, 0, 114, 230, 112, 30, 33, 45, 0, 0, 125, 238, 240, 19, 66, 66, 0, 0, 101, 231, 216, 240, 23, 45, 0, 0, 112, 239, 89, 230, 57, 66, 0, 0, 113, 189, 78, 57, 250, 75, 0, 0, 141, 198, 103, 35, 109, 95, 0, 0, 25, 190, 98, 225, 58, 76, 0, 0, 53, 199, 122, 203, 172, 95, 0, 0, 208, 207, 247, 34, 190, 82, 0, 0, 242, 207, 213, 32, 204, 103, 0, 0, 128, 207, 244, 227, 205, 82, 0, 0, 162, 207, 209, 225, 218, 103, 0, 0, 249, 91, 144, 34, 141, 182, 0, 0, 38, 84, 0, 37, 80, 202, 0, 0, 104, 92, 200, 223, 165, 182, 0, 0, 149, 84, 57, 226, 104, 202, 0, 0, 120, 54, 137, 20, 174, 142, 0, 0, 188, 50, 135, 25, 42, 163, 0, 0, 228, 54, 66, 235, 155, 142, 0, 0, 39, 51, 63, 240, 22, 163, 0, 0, 202, 75, 112, 30, 62, 164, 0, 0, 213, 83, 240, 19, 95, 185, 0, 0, 189, 76, 216, 240, 52, 164, 0, 0, 200, 84, 89, 230, 86, 185, 0, 0, 62, 41, 78, 57, 125, 179, 0, 0, 90, 50, 103, 35, 239, 198, 0, 0, 230, 41, 98, 225, 188, 179, 0, 0, 2, 51, 122, 203, 46, 199, 0, 0, 124, 57, 247, 34, 98, 182, 0, 0, 158, 57, 213, 32, 112, 203, 0, 0, 44, 57, 244, 227, 113, 182, 0, 0, 77, 57, 209, 225, 126, 203, 0, 0, 79, 38, 5, 33, 206, 58, 0, 0, 166, 37, 30, 42, 255, 79, 0, 0, 143, 37, 170, 218, 144, 58, 0, 0, 230, 36, 195, 227, 193, 79, 0, 0, 187, 18, 24, 40, 124, 86, 0, 0, 40, 17, 45, 49, 95, 107, 0, 0, 14, 19, 156, 211, 77, 86, 0, 0, 122, 17, 176, 220, 47, 107, 0, 0, 117, 95, 61, 37, 239, 35, 0, 0, 137, 88, 110, 8, 60, 56, 0, 0, 140, 94, 91, 252, 129, 36, 0, 0, 160, 87, 140, 223, 205, 56, 0, 0, 54, 44, 63, 48, 43, 72, 0, 0, 244, 54, 25, 57, 167, 93, 0, 0, 101, 44, 175, 203, 232, 71, 0, 0, 35, 55, 138, 212, 100, 93, 0, 0, 162, 66, 128, 65, 191, 38, 0, 0, 241, 74, 32, 34, 106, 59, 0, 0, 103, 66, 168, 226, 131, 39, 0, 0, 182, 74, 72, 195, 46, 60, 0, 0, 76, 243, 0, 0, 227, 125, 0, 0, 49, 239, 195, 2, 188, 147, 0, 0, 63, 244, 14, 218, 249, 125, 0, 0, 36, 240, 210, 220, 210, 147, 0, 0, 44, 230, 24, 8, 36, 135, 0, 0, 76, 231, 225, 3, 192, 156, 0, 0, 125, 230, 240, 216, 61, 135, 0, 0, 157, 231, 185, 212, 218, 156, 0, 0, 119, 243, 121, 20, 120, 102, 0, 0, 116, 241, 120, 18, 90, 124, 0, 0, 96, 244, 89, 202, 152, 102, 0, 0, 93, 242, 88, 200, 121, 124, 0, 0, 242, 210, 47, 10, 56, 115, 0, 0, 84, 211, 141, 6, 13, 139, 0, 0, 165, 211, 68, 214, 75, 115, 0, 0, 7, 212, 162, 210, 33, 139, 0, 0, 166, 234, 16, 11, 119, 133, 0, 0, 69, 232, 203, 12, 48, 155, 0, 0, 139, 235, 6, 208, 131, 133, 0, 0, 41, 233, 193, 209, 60, 155, 0, 0, 188, 216, 132, 29, 178, 184, 0, 0, 155, 206, 83, 65, 21, 205, 0, 0, 129, 216, 117, 195, 200, 183, 0, 0, 95, 206, 68, 231, 43, 204, 0, 0, 130, 202, 6, 30, 89, 228, 0, 0, 95, 206, 208, 39, 45, 249, 0, 0, 97, 202, 249, 220, 30, 228, 0, 0, 63, 206, 195, 230, 242, 248, 0, 0, 124, 253, 67, 41, 97, 235, 0, 0, 255, 255, 213, 54, 255, 255, 0, 0, 214, 252, 243, 205, 38, 235, 0, 0, 89, 255, 134, 219, 196, 255, 0, 0, 213, 243, 207, 25, 67, 147, 0, 0, 121, 241, 37, 37, 66, 167, 0, 0, 140, 244, 163, 223, 7, 147, 0, 0, 49, 242, 249, 234, 6, 167, 0, 0, 66, 232, 182, 35, 187, 200, 0, 0, 234, 241, 152, 36, 202, 221, 0, 0, 131, 231, 48, 224, 5, 201, 0, 0, 43, 241, 19, 225, 20, 222, 0, 0, 105, 51, 132, 29, 236, 174, 0, 0, 71, 41, 83, 65, 80, 195, 0, 0, 45, 51, 117, 195, 2, 174, 0, 0, 12, 41, 68, 231, 101, 194, 0, 0, 46, 37, 6, 30, 147, 218, 0, 0, 12, 41, 208, 39, 103, 239, 0, 0, 14, 37, 249, 220, 89, 218, 0, 0, 235, 40, 195, 230, 45, 239, 0, 0, 41, 88, 67, 41, 156, 225, 0, 0, 171, 90, 213, 54, 57, 246, 0, 0, 131, 87, 243, 205, 97, 225, 0, 0, 5, 90, 134, 219, 254, 245, 0, 0, 129, 78, 207, 25, 125, 137, 0, 0, 38, 76, 37, 37, 124, 157, 0, 0, 57, 79, 163, 223, 65, 137, 0, 0, 222, 76, 249, 234, 64, 157, 0, 0, 238, 66, 182, 35, 246, 190, 0, 0, 151, 76, 152, 36, 5, 212, 0, 0, 47, 66, 48, 224, 64, 191, 0, 0, 216, 75, 19, 225, 79, 212, 0, 0)
141
+ }, {
142
+ "aabb": AABB(-8.36209, -0.222683, -9.15225, 16.4609, 0.919043, 18.7848),
143
+ "format": 34896613377,
144
+ "index_count": 210,
145
+ "index_data": PackedByteArray(0, 0, 3, 0, 1, 0, 0, 0, 2, 0, 3, 0, 4, 0, 7, 0, 5, 0, 4, 0, 6, 0, 7, 0, 8, 0, 11, 0, 9, 0, 8, 0, 10, 0, 11, 0, 12, 0, 15, 0, 13, 0, 12, 0, 14, 0, 15, 0, 16, 0, 19, 0, 17, 0, 16, 0, 18, 0, 19, 0, 20, 0, 23, 0, 21, 0, 20, 0, 22, 0, 23, 0, 24, 0, 27, 0, 25, 0, 24, 0, 26, 0, 27, 0, 28, 0, 31, 0, 29, 0, 28, 0, 30, 0, 31, 0, 32, 0, 35, 0, 33, 0, 32, 0, 34, 0, 35, 0, 36, 0, 39, 0, 37, 0, 36, 0, 38, 0, 39, 0, 40, 0, 43, 0, 41, 0, 40, 0, 42, 0, 43, 0, 44, 0, 47, 0, 45, 0, 44, 0, 46, 0, 47, 0, 48, 0, 51, 0, 49, 0, 48, 0, 50, 0, 51, 0, 52, 0, 55, 0, 53, 0, 52, 0, 54, 0, 55, 0, 56, 0, 59, 0, 57, 0, 56, 0, 58, 0, 59, 0, 60, 0, 63, 0, 61, 0, 60, 0, 62, 0, 63, 0, 64, 0, 67, 0, 65, 0, 64, 0, 66, 0, 67, 0, 68, 0, 71, 0, 69, 0, 68, 0, 70, 0, 71, 0, 72, 0, 75, 0, 73, 0, 72, 0, 74, 0, 75, 0, 76, 0, 79, 0, 77, 0, 76, 0, 78, 0, 79, 0, 80, 0, 83, 0, 81, 0, 80, 0, 82, 0, 83, 0, 84, 0, 87, 0, 85, 0, 84, 0, 86, 0, 87, 0, 88, 0, 91, 0, 89, 0, 88, 0, 90, 0, 91, 0, 92, 0, 95, 0, 93, 0, 92, 0, 94, 0, 95, 0, 96, 0, 99, 0, 97, 0, 96, 0, 98, 0, 99, 0, 100, 0, 103, 0, 101, 0, 100, 0, 102, 0, 103, 0, 104, 0, 107, 0, 105, 0, 104, 0, 106, 0, 107, 0, 108, 0, 111, 0, 109, 0, 108, 0, 110, 0, 111, 0, 112, 0, 115, 0, 113, 0, 112, 0, 114, 0, 115, 0, 116, 0, 119, 0, 117, 0, 116, 0, 118, 0, 119, 0, 120, 0, 123, 0, 121, 0, 120, 0, 122, 0, 123, 0, 124, 0, 127, 0, 125, 0, 124, 0, 126, 0, 127, 0, 128, 0, 131, 0, 129, 0, 128, 0, 130, 0, 131, 0, 132, 0, 135, 0, 133, 0, 132, 0, 134, 0, 135, 0, 136, 0, 139, 0, 137, 0, 136, 0, 138, 0, 139, 0),
146
+ "name": "grass2",
147
+ "primitive": 3,
148
+ "uv_scale": Vector4(0, 0, 0, 0),
149
+ "vertex_count": 140,
150
+ "vertex_data": PackedByteArray(115, 71, 218, 24, 55, 131, 0, 0, 215, 78, 214, 60, 164, 150, 0, 0, 60, 71, 235, 196, 131, 130, 0, 0, 160, 78, 231, 232, 241, 149, 0, 0, 73, 67, 14, 22, 105, 60, 0, 0, 176, 56, 92, 24, 225, 80, 0, 0, 224, 66, 101, 233, 49, 60, 0, 0, 71, 56, 179, 235, 168, 80, 0, 0, 64, 61, 133, 37, 117, 9, 0, 0, 251, 67, 225, 42, 189, 29, 0, 0, 155, 60, 224, 214, 130, 9, 0, 0, 86, 67, 60, 220, 202, 29, 0, 0, 12, 96, 9, 39, 14, 0, 0, 0, 27, 104, 129, 47, 252, 17, 0, 0, 167, 95, 64, 210, 0, 0, 0, 0, 182, 103, 184, 218, 238, 17, 0, 0, 47, 103, 137, 31, 75, 10, 0, 0, 233, 109, 180, 34, 238, 28, 0, 0, 75, 103, 13, 223, 48, 10, 0, 0, 5, 110, 56, 226, 210, 28, 0, 0, 75, 255, 98, 24, 152, 2, 0, 0, 223, 254, 129, 26, 114, 24, 0, 0, 255, 255, 64, 231, 142, 2, 0, 0, 146, 255, 95, 233, 104, 24, 0, 0, 123, 217, 246, 34, 195, 43, 0, 0, 151, 220, 113, 66, 240, 65, 0, 0, 194, 217, 80, 191, 52, 43, 0, 0, 221, 220, 203, 222, 96, 65, 0, 0, 127, 194, 227, 56, 189, 35, 0, 0, 28, 200, 72, 44, 241, 57, 0, 0, 172, 194, 121, 213, 235, 35, 0, 0, 73, 200, 222, 200, 31, 58, 0, 0, 172, 178, 255, 5, 95, 100, 0, 0, 147, 176, 88, 21, 50, 120, 0, 0, 151, 179, 105, 236, 5, 100, 0, 0, 125, 177, 194, 251, 216, 119, 0, 0, 165, 168, 6, 5, 122, 31, 0, 0, 66, 164, 218, 30, 36, 51, 0, 0, 183, 169, 231, 226, 246, 30, 0, 0, 85, 165, 187, 252, 160, 50, 0, 0, 15, 93, 98, 24, 121, 140, 0, 0, 163, 92, 129, 26, 83, 162, 0, 0, 194, 93, 64, 231, 111, 140, 0, 0, 86, 93, 95, 233, 73, 162, 0, 0, 2, 61, 246, 34, 99, 160, 0, 0, 30, 64, 113, 66, 144, 182, 0, 0, 73, 61, 80, 191, 211, 159, 0, 0, 100, 64, 203, 222, 0, 182, 0, 0, 124, 41, 227, 56, 81, 156, 0, 0, 25, 47, 72, 44, 133, 178, 0, 0, 169, 41, 121, 213, 127, 156, 0, 0, 70, 47, 222, 200, 179, 178, 0, 0, 187, 28, 255, 5, 65, 188, 0, 0, 161, 26, 88, 21, 20, 208, 0, 0, 166, 29, 105, 236, 231, 187, 0, 0, 140, 27, 194, 251, 186, 207, 0, 0, 119, 20, 6, 5, 24, 155, 0, 0, 20, 16, 218, 30, 194, 174, 0, 0, 138, 21, 231, 226, 149, 154, 0, 0, 39, 17, 187, 252, 63, 174, 0, 0, 69, 99, 89, 8, 63, 45, 0, 0, 220, 89, 129, 27, 130, 64, 0, 0, 77, 100, 64, 230, 27, 45, 0, 0, 228, 90, 104, 249, 94, 64, 0, 0, 136, 60, 229, 16, 33, 72, 0, 0, 11, 51, 16, 34, 89, 92, 0, 0, 200, 60, 177, 223, 205, 71, 0, 0, 76, 51, 220, 240, 5, 92, 0, 0, 50, 66, 106, 13, 150, 49, 0, 0, 77, 68, 184, 37, 47, 69, 0, 0, 235, 66, 9, 220, 234, 48, 0, 0, 6, 69, 87, 244, 130, 68, 0, 0, 178, 33, 149, 11, 251, 76, 0, 0, 203, 31, 201, 21, 58, 96, 0, 0, 35, 34, 248, 235, 186, 76, 0, 0, 59, 32, 44, 246, 249, 95, 0, 0, 58, 98, 240, 18, 167, 77, 0, 0, 96, 90, 95, 30, 0, 96, 0, 0, 167, 98, 98, 227, 124, 77, 0, 0, 206, 90, 209, 238, 212, 95, 0, 0, 72, 242, 0, 0, 57, 111, 0, 0, 56, 245, 115, 2, 202, 129, 0, 0, 154, 240, 75, 214, 92, 111, 0, 0, 138, 243, 190, 216, 237, 129, 0, 0, 133, 191, 39, 11, 239, 105, 0, 0, 129, 193, 226, 10, 187, 125, 0, 0, 246, 192, 219, 205, 212, 105, 0, 0, 242, 194, 151, 205, 160, 125, 0, 0, 172, 240, 4, 26, 48, 128, 0, 0, 11, 236, 146, 26, 31, 149, 0, 0, 90, 239, 44, 190, 244, 127, 0, 0, 186, 234, 186, 190, 227, 148, 0, 0, 131, 189, 179, 19, 171, 130, 0, 0, 130, 193, 123, 18, 243, 152, 0, 0, 246, 187, 66, 198, 232, 130, 0, 0, 245, 191, 11, 197, 47, 153, 0, 0, 33, 200, 203, 14, 32, 113, 0, 0, 44, 204, 5, 12, 75, 134, 0, 0, 220, 198, 185, 204, 95, 113, 0, 0, 231, 202, 243, 201, 138, 134, 0, 0, 101, 191, 88, 29, 161, 162, 0, 0, 188, 192, 195, 1, 47, 184, 0, 0, 39, 192, 255, 255, 73, 163, 0, 0, 126, 193, 105, 228, 216, 184, 0, 0, 40, 175, 223, 4, 200, 198, 0, 0, 58, 171, 246, 21, 147, 220, 0, 0, 36, 176, 203, 235, 124, 198, 0, 0, 54, 172, 226, 252, 71, 220, 0, 0, 97, 183, 124, 32, 76, 235, 0, 0, 251, 186, 249, 56, 255, 255, 0, 0, 246, 183, 200, 200, 190, 234, 0, 0, 144, 187, 69, 225, 113, 255, 0, 0, 204, 187, 230, 55, 170, 204, 0, 0, 133, 185, 3, 45, 233, 223, 0, 0, 43, 187, 190, 212, 210, 204, 0, 0, 228, 184, 219, 201, 16, 224, 0, 0, 22, 238, 125, 37, 95, 186, 0, 0, 160, 245, 201, 43, 132, 204, 0, 0, 227, 237, 248, 213, 74, 186, 0, 0, 109, 245, 69, 220, 111, 204, 0, 0, 43, 20, 88, 29, 82, 153, 0, 0, 129, 21, 195, 1, 225, 174, 0, 0, 237, 20, 254, 255, 250, 153, 0, 0, 68, 22, 105, 228, 137, 175, 0, 0, 237, 3, 223, 4, 121, 189, 0, 0, 0, 0, 246, 21, 68, 211, 0, 0, 233, 4, 203, 235, 45, 189, 0, 0, 252, 0, 226, 252, 248, 210, 0, 0, 39, 12, 124, 32, 254, 225, 0, 0, 193, 15, 249, 56, 176, 246, 0, 0, 188, 12, 200, 200, 112, 225, 0, 0, 86, 16, 69, 225, 34, 246, 0, 0, 145, 16, 230, 55, 92, 195, 0, 0, 74, 14, 3, 45, 154, 214, 0, 0, 241, 15, 190, 212, 131, 195, 0, 0, 170, 13, 219, 201, 194, 214, 0, 0, 219, 66, 124, 37, 17, 177, 0, 0, 102, 74, 201, 43, 54, 195, 0, 0, 168, 66, 248, 213, 251, 176, 0, 0, 51, 74, 69, 220, 32, 195, 0, 0)
151
+ }, {
152
+ "aabb": AABB(-8.38425, -0.244321, -8.59889, 16.6521, 0.950857, 18.4937),
153
+ "format": 34896613377,
154
+ "index_count": 204,
155
+ "index_data": PackedByteArray(0, 0, 3, 0, 1, 0, 0, 0, 2, 0, 3, 0, 4, 0, 7, 0, 5, 0, 4, 0, 6, 0, 7, 0, 8, 0, 11, 0, 9, 0, 8, 0, 10, 0, 11, 0, 12, 0, 15, 0, 13, 0, 12, 0, 14, 0, 15, 0, 16, 0, 19, 0, 17, 0, 16, 0, 18, 0, 19, 0, 20, 0, 23, 0, 21, 0, 20, 0, 22, 0, 23, 0, 24, 0, 27, 0, 25, 0, 24, 0, 26, 0, 27, 0, 28, 0, 31, 0, 29, 0, 28, 0, 30, 0, 31, 0, 32, 0, 35, 0, 33, 0, 32, 0, 34, 0, 35, 0, 36, 0, 39, 0, 37, 0, 36, 0, 38, 0, 39, 0, 40, 0, 43, 0, 41, 0, 40, 0, 42, 0, 43, 0, 44, 0, 47, 0, 45, 0, 44, 0, 46, 0, 47, 0, 48, 0, 51, 0, 49, 0, 48, 0, 50, 0, 51, 0, 52, 0, 55, 0, 53, 0, 52, 0, 54, 0, 55, 0, 56, 0, 59, 0, 57, 0, 56, 0, 58, 0, 59, 0, 60, 0, 63, 0, 61, 0, 60, 0, 62, 0, 63, 0, 64, 0, 67, 0, 65, 0, 64, 0, 66, 0, 67, 0, 68, 0, 71, 0, 69, 0, 68, 0, 70, 0, 71, 0, 72, 0, 75, 0, 73, 0, 72, 0, 74, 0, 75, 0, 76, 0, 79, 0, 77, 0, 76, 0, 78, 0, 79, 0, 80, 0, 83, 0, 81, 0, 80, 0, 82, 0, 83, 0, 84, 0, 87, 0, 85, 0, 84, 0, 86, 0, 87, 0, 88, 0, 91, 0, 89, 0, 88, 0, 90, 0, 91, 0, 92, 0, 95, 0, 93, 0, 92, 0, 94, 0, 95, 0, 96, 0, 99, 0, 97, 0, 96, 0, 98, 0, 99, 0, 100, 0, 103, 0, 101, 0, 100, 0, 102, 0, 103, 0, 104, 0, 107, 0, 105, 0, 104, 0, 106, 0, 107, 0, 108, 0, 111, 0, 109, 0, 108, 0, 110, 0, 111, 0, 112, 0, 115, 0, 113, 0, 112, 0, 114, 0, 115, 0, 116, 0, 119, 0, 117, 0, 116, 0, 118, 0, 119, 0, 120, 0, 123, 0, 121, 0, 120, 0, 122, 0, 123, 0, 124, 0, 127, 0, 125, 0, 124, 0, 126, 0, 127, 0, 128, 0, 131, 0, 129, 0, 128, 0, 130, 0, 131, 0, 132, 0, 135, 0, 133, 0, 132, 0, 134, 0, 135, 0),
156
+ "name": "grass3",
157
+ "primitive": 3,
158
+ "uv_scale": Vector4(0, 0, 0, 0),
159
+ "vertex_count": 136,
160
+ "vertex_data": PackedByteArray(51, 101, 23, 48, 255, 50, 0, 0, 255, 98, 49, 47, 215, 70, 0, 0, 123, 101, 151, 213, 11, 51, 0, 0, 71, 99, 177, 212, 226, 70, 0, 0, 187, 11, 28, 30, 151, 4, 0, 0, 218, 1, 76, 44, 37, 25, 0, 0, 71, 12, 123, 216, 119, 4, 0, 0, 102, 2, 172, 230, 5, 25, 0, 0, 141, 9, 185, 52, 51, 15, 0, 0, 90, 0, 154, 46, 233, 34, 0, 0, 230, 9, 46, 214, 118, 15, 0, 0, 178, 0, 15, 208, 45, 35, 0, 0, 15, 70, 195, 46, 197, 10, 0, 0, 7, 68, 205, 52, 135, 32, 0, 0, 119, 70, 250, 207, 174, 10, 0, 0, 111, 68, 4, 214, 113, 32, 0, 0, 224, 179, 73, 31, 253, 73, 0, 0, 48, 177, 118, 26, 188, 96, 0, 0, 199, 179, 82, 234, 24, 74, 0, 0, 22, 177, 126, 229, 215, 96, 0, 0, 241, 199, 196, 31, 54, 39, 0, 0, 148, 195, 174, 38, 52, 59, 0, 0, 63, 200, 26, 222, 23, 39, 0, 0, 225, 195, 4, 229, 21, 59, 0, 0, 122, 245, 123, 48, 0, 0, 0, 0, 52, 255, 179, 55, 20, 21, 0, 0, 250, 244, 21, 205, 11, 0, 0, 0, 179, 254, 76, 212, 32, 21, 0, 0, 212, 230, 119, 68, 24, 34, 0, 0, 152, 230, 74, 37, 9, 54, 0, 0, 216, 230, 126, 223, 188, 34, 0, 0, 156, 230, 81, 192, 173, 54, 0, 0, 255, 255, 247, 51, 140, 59, 0, 0, 202, 253, 166, 47, 62, 82, 0, 0, 234, 255, 34, 213, 159, 59, 0, 0, 181, 253, 209, 208, 81, 82, 0, 0, 82, 31, 73, 31, 248, 172, 0, 0, 161, 28, 118, 26, 182, 195, 0, 0, 57, 31, 82, 234, 18, 173, 0, 0, 136, 28, 126, 229, 209, 195, 0, 0, 76, 48, 196, 31, 245, 156, 0, 0, 239, 43, 174, 38, 243, 176, 0, 0, 154, 48, 26, 222, 214, 156, 0, 0, 61, 44, 4, 229, 212, 176, 0, 0, 139, 85, 123, 48, 183, 137, 0, 0, 68, 95, 179, 55, 203, 158, 0, 0, 10, 85, 21, 205, 194, 137, 0, 0, 196, 94, 76, 212, 215, 158, 0, 0, 248, 73, 119, 68, 78, 154, 0, 0, 188, 73, 74, 37, 63, 174, 0, 0, 252, 73, 126, 223, 242, 154, 0, 0, 192, 73, 81, 192, 227, 174, 0, 0, 77, 95, 247, 51, 5, 166, 0, 0, 24, 93, 166, 47, 183, 188, 0, 0, 56, 95, 34, 213, 24, 166, 0, 0, 3, 93, 209, 208, 202, 188, 0, 0, 117, 86, 218, 36, 147, 72, 0, 0, 86, 92, 201, 4, 208, 91, 0, 0, 93, 87, 255, 255, 80, 73, 0, 0, 63, 93, 238, 223, 142, 92, 0, 0, 237, 51, 91, 19, 49, 83, 0, 0, 241, 60, 64, 52, 118, 101, 0, 0, 79, 51, 136, 208, 138, 82, 0, 0, 83, 60, 109, 241, 207, 100, 0, 0, 120, 63, 204, 50, 60, 52, 0, 0, 80, 53, 203, 44, 125, 71, 0, 0, 119, 63, 252, 215, 94, 52, 0, 0, 78, 53, 252, 209, 159, 71, 0, 0, 86, 31, 242, 33, 205, 43, 0, 0, 18, 32, 111, 63, 74, 66, 0, 0, 151, 30, 89, 197, 65, 43, 0, 0, 83, 31, 214, 226, 190, 65, 0, 0, 146, 67, 88, 39, 156, 57, 0, 0, 224, 65, 218, 44, 155, 76, 0, 0, 200, 66, 238, 215, 107, 57, 0, 0, 22, 65, 112, 221, 105, 76, 0, 0, 0, 184, 63, 28, 89, 119, 0, 0, 38, 186, 22, 26, 241, 139, 0, 0, 183, 183, 14, 195, 107, 119, 0, 0, 221, 185, 229, 192, 3, 140, 0, 0, 203, 203, 0, 0, 136, 130, 0, 0, 250, 206, 244, 3, 57, 152, 0, 0, 132, 205, 48, 217, 57, 130, 0, 0, 179, 208, 36, 221, 234, 151, 0, 0, 86, 216, 235, 15, 48, 115, 0, 0, 189, 217, 50, 15, 175, 135, 0, 0, 237, 215, 242, 205, 58, 115, 0, 0, 83, 217, 57, 205, 186, 135, 0, 0, 34, 200, 140, 16, 53, 115, 0, 0, 75, 201, 48, 13, 205, 134, 0, 0, 102, 198, 243, 207, 96, 115, 0, 0, 143, 199, 152, 204, 248, 134, 0, 0, 186, 245, 97, 23, 82, 141, 0, 0, 56, 243, 240, 24, 19, 162, 0, 0, 34, 244, 52, 196, 33, 141, 0, 0, 160, 241, 194, 197, 226, 161, 0, 0, 67, 169, 54, 51, 223, 236, 0, 0, 202, 174, 79, 45, 255, 255, 0, 0, 246, 169, 121, 215, 215, 236, 0, 0, 125, 175, 146, 209, 247, 255, 0, 0, 148, 200, 103, 58, 229, 154, 0, 0, 48, 199, 230, 48, 200, 174, 0, 0, 217, 200, 226, 211, 26, 155, 0, 0, 117, 199, 97, 202, 254, 174, 0, 0, 84, 218, 121, 26, 217, 173, 0, 0, 32, 213, 97, 59, 114, 194, 0, 0, 124, 218, 102, 201, 36, 173, 0, 0, 71, 213, 79, 234, 189, 193, 0, 0, 137, 230, 90, 23, 218, 193, 0, 0, 59, 241, 28, 39, 212, 214, 0, 0, 15, 231, 172, 221, 62, 193, 0, 0, 193, 241, 110, 237, 56, 214, 0, 0, 37, 200, 173, 10, 199, 184, 0, 0, 236, 207, 92, 31, 5, 206, 0, 0, 233, 200, 108, 229, 252, 183, 0, 0, 176, 208, 27, 250, 59, 205, 0, 0, 0, 0, 54, 51, 106, 227, 0, 0, 135, 5, 79, 45, 138, 246, 0, 0, 178, 0, 121, 215, 99, 227, 0, 0, 57, 6, 146, 209, 131, 246, 0, 0, 80, 31, 103, 58, 112, 145, 0, 0, 237, 29, 230, 48, 84, 165, 0, 0, 149, 31, 226, 211, 166, 145, 0, 0, 50, 30, 97, 202, 138, 165, 0, 0, 17, 49, 121, 26, 101, 164, 0, 0, 220, 43, 97, 59, 253, 184, 0, 0, 56, 49, 102, 201, 176, 163, 0, 0, 4, 44, 79, 234, 72, 184, 0, 0, 69, 61, 90, 23, 102, 184, 0, 0, 248, 71, 28, 39, 96, 205, 0, 0, 203, 61, 172, 221, 202, 183, 0, 0, 126, 72, 110, 237, 196, 204, 0, 0, 226, 30, 173, 10, 82, 175, 0, 0, 169, 38, 92, 31, 145, 196, 0, 0, 165, 31, 108, 229, 136, 174, 0, 0, 108, 39, 27, 250, 199, 195, 0, 0)
161
+ }]
162
+ blend_shape_mode = 0
163
+
164
+ [sub_resource type="ArrayMesh" id="ArrayMesh_1dxiy"]
165
+ resource_name = "static_decorations_Plane_093"
166
+ _surfaces = [{
167
+ "aabb": AABB(-8.41681, -0.240389, -8.58835, 17.0486, 0.943132, 17.8912),
168
+ "attribute_data": PackedByteArray(0, 0, 255, 255, 255, 255, 255, 255, 0, 0, 0, 0, 255, 255, 0, 0, 0, 0, 255, 255, 255, 255, 255, 255, 0, 0, 0, 0, 255, 255, 0, 0, 0, 0, 255, 255, 255, 255, 255, 255, 0, 0, 0, 0, 255, 255, 0, 0, 0, 0, 255, 255, 255, 255, 255, 255, 0, 0, 0, 0, 255, 255, 0, 0, 0, 0, 255, 255, 255, 255, 255, 255, 0, 0, 0, 0, 255, 255, 0, 0, 0, 0, 255, 255, 255, 255, 255, 255, 0, 0, 0, 0, 255, 255, 0, 0, 0, 0, 255, 255, 255, 255, 255, 255, 0, 0, 0, 0, 255, 255, 0, 0, 0, 0, 255, 255, 255, 255, 255, 255, 0, 0, 0, 0, 255, 255, 0, 0, 0, 0, 255, 255, 255, 255, 255, 255, 0, 0, 0, 0, 255, 255, 0, 0, 0, 0, 255, 255, 255, 255, 255, 255, 0, 0, 0, 0, 255, 255, 0, 0, 0, 0, 255, 255, 255, 255, 255, 255, 0, 0, 0, 0, 255, 255, 0, 0, 0, 0, 255, 255, 255, 255, 255, 255, 0, 0, 0, 0, 255, 255, 0, 0, 0, 0, 255, 255, 255, 255, 255, 255, 0, 0, 0, 0, 255, 255, 0, 0, 0, 0, 255, 255, 255, 255, 255, 255, 0, 0, 0, 0, 255, 255, 0, 0, 0, 0, 255, 255, 255, 255, 255, 255, 0, 0, 0, 0, 255, 255, 0, 0, 0, 0, 255, 255, 255, 255, 255, 255, 0, 0, 0, 0, 255, 255, 0, 0, 0, 0, 255, 255, 255, 255, 255, 255, 0, 0, 0, 0, 255, 255, 0, 0, 0, 0, 255, 255, 255, 255, 255, 255, 0, 0, 0, 0, 255, 255, 0, 0, 0, 0, 255, 255, 255, 255, 255, 255, 0, 0, 0, 0, 255, 255, 0, 0, 0, 0, 255, 255, 255, 255, 255, 255, 0, 0, 0, 0, 255, 255, 0, 0, 0, 0, 255, 255, 255, 255, 255, 255, 0, 0, 0, 0, 255, 255, 0, 0, 0, 0, 255, 255, 255, 255, 255, 255, 0, 0, 0, 0, 255, 255, 0, 0, 0, 0, 255, 255, 255, 255, 255, 255, 0, 0, 0, 0, 255, 255, 0, 0, 0, 0, 255, 255, 255, 255, 255, 255, 0, 0, 0, 0, 255, 255, 0, 0, 0, 0, 255, 255, 255, 255, 255, 255, 0, 0, 0, 0, 255, 255, 0, 0, 0, 0, 255, 255, 255, 255, 255, 255, 0, 0, 0, 0, 255, 255, 0, 0, 0, 0, 255, 255, 255, 255, 255, 255, 0, 0, 0, 0, 255, 255, 0, 0, 0, 0, 255, 255, 255, 255, 255, 255, 0, 0, 0, 0, 255, 255, 0, 0, 0, 0, 255, 255, 255, 255, 255, 255, 0, 0, 0, 0, 255, 255, 0, 0, 0, 0, 255, 255, 255, 255, 255, 255, 0, 0, 0, 0, 255, 255, 0, 0, 0, 0, 255, 255, 255, 255, 255, 255, 0, 0, 0, 0, 255, 255, 0, 0, 0, 0, 255, 255, 255, 255, 255, 255, 0, 0, 0, 0, 255, 255, 0, 0, 0, 0, 255, 255, 255, 255, 255, 255, 0, 0, 0, 0, 255, 255, 0, 0, 0, 0, 255, 255, 255, 255, 255, 255, 0, 0, 0, 0, 255, 255, 0, 0, 0, 0, 255, 255, 255, 255, 255, 255, 0, 0, 0, 0, 255, 255, 0, 0),
169
+ "format": 34896613399,
170
+ "index_count": 210,
171
+ "index_data": PackedByteArray(0, 0, 3, 0, 1, 0, 0, 0, 2, 0, 3, 0, 4, 0, 7, 0, 5, 0, 4, 0, 6, 0, 7, 0, 8, 0, 11, 0, 9, 0, 8, 0, 10, 0, 11, 0, 12, 0, 15, 0, 13, 0, 12, 0, 14, 0, 15, 0, 16, 0, 19, 0, 17, 0, 16, 0, 18, 0, 19, 0, 20, 0, 23, 0, 21, 0, 20, 0, 22, 0, 23, 0, 24, 0, 27, 0, 25, 0, 24, 0, 26, 0, 27, 0, 28, 0, 31, 0, 29, 0, 28, 0, 30, 0, 31, 0, 32, 0, 35, 0, 33, 0, 32, 0, 34, 0, 35, 0, 36, 0, 39, 0, 37, 0, 36, 0, 38, 0, 39, 0, 40, 0, 43, 0, 41, 0, 40, 0, 42, 0, 43, 0, 44, 0, 47, 0, 45, 0, 44, 0, 46, 0, 47, 0, 48, 0, 51, 0, 49, 0, 48, 0, 50, 0, 51, 0, 52, 0, 55, 0, 53, 0, 52, 0, 54, 0, 55, 0, 56, 0, 59, 0, 57, 0, 56, 0, 58, 0, 59, 0, 60, 0, 63, 0, 61, 0, 60, 0, 62, 0, 63, 0, 64, 0, 67, 0, 65, 0, 64, 0, 66, 0, 67, 0, 68, 0, 71, 0, 69, 0, 68, 0, 70, 0, 71, 0, 72, 0, 75, 0, 73, 0, 72, 0, 74, 0, 75, 0, 76, 0, 79, 0, 77, 0, 76, 0, 78, 0, 79, 0, 80, 0, 83, 0, 81, 0, 80, 0, 82, 0, 83, 0, 84, 0, 87, 0, 85, 0, 84, 0, 86, 0, 87, 0, 88, 0, 91, 0, 89, 0, 88, 0, 90, 0, 91, 0, 92, 0, 95, 0, 93, 0, 92, 0, 94, 0, 95, 0, 96, 0, 99, 0, 97, 0, 96, 0, 98, 0, 99, 0, 100, 0, 103, 0, 101, 0, 100, 0, 102, 0, 103, 0, 104, 0, 107, 0, 105, 0, 104, 0, 106, 0, 107, 0, 108, 0, 111, 0, 109, 0, 108, 0, 110, 0, 111, 0, 112, 0, 115, 0, 113, 0, 112, 0, 114, 0, 115, 0, 116, 0, 119, 0, 117, 0, 116, 0, 118, 0, 119, 0, 120, 0, 123, 0, 121, 0, 120, 0, 122, 0, 123, 0, 124, 0, 127, 0, 125, 0, 124, 0, 126, 0, 127, 0, 128, 0, 131, 0, 129, 0, 128, 0, 130, 0, 131, 0, 132, 0, 135, 0, 133, 0, 132, 0, 134, 0, 135, 0, 136, 0, 139, 0, 137, 0, 136, 0, 138, 0, 139, 0),
172
+ "material": SubResource("ShaderMaterial_ie7u0"),
173
+ "name": "grass",
174
+ "primitive": 3,
175
+ "uv_scale": Vector4(0, 0, 0, 0),
176
+ "vertex_count": 140,
177
+ "vertex_data": PackedByteArray(20, 7, 14, 63, 220, 44, 19, 179, 19, 14, 96, 38, 34, 65, 19, 179, 186, 7, 104, 222, 49, 45, 19, 179, 186, 14, 187, 197, 120, 65, 19, 179, 202, 15, 78, 54, 220, 104, 108, 186, 241, 18, 129, 33, 165, 126, 108, 186, 24, 16, 71, 227, 71, 105, 108, 186, 63, 19, 122, 206, 16, 127, 108, 186, 208, 39, 72, 13, 226, 99, 201, 193, 238, 38, 253, 29, 158, 119, 201, 193, 55, 40, 203, 230, 99, 99, 201, 193, 86, 39, 129, 247, 31, 119, 201, 193, 198, 27, 202, 4, 191, 100, 44, 201, 92, 22, 246, 37, 60, 123, 44, 201, 80, 27, 211, 222, 192, 99, 44, 201, 229, 21, 255, 255, 61, 122, 44, 201, 139, 8, 226, 16, 33, 90, 71, 208, 0, 0, 240, 18, 105, 109, 71, 208, 179, 8, 216, 241, 32, 90, 71, 208, 40, 0, 230, 243, 104, 109, 71, 208, 35, 248, 144, 34, 107, 82, 182, 206, 80, 240, 0, 37, 46, 102, 182, 206, 146, 248, 200, 223, 130, 82, 182, 206, 191, 240, 57, 226, 69, 102, 182, 206, 239, 203, 137, 20, 19, 0, 7, 199, 51, 200, 135, 25, 142, 20, 7, 199, 90, 204, 66, 235, 0, 0, 7, 199, 158, 200, 63, 240, 123, 20, 7, 199, 114, 230, 112, 30, 33, 45, 224, 177, 125, 238, 240, 19, 66, 66, 224, 177, 101, 231, 216, 240, 23, 45, 224, 177, 112, 239, 89, 230, 57, 66, 224, 177, 113, 189, 78, 57, 250, 75, 236, 174, 141, 198, 103, 35, 109, 95, 236, 174, 25, 190, 98, 225, 58, 76, 236, 174, 53, 199, 122, 203, 172, 95, 236, 174, 208, 207, 247, 34, 190, 82, 196, 191, 242, 207, 213, 32, 204, 103, 196, 191, 128, 207, 244, 227, 205, 82, 196, 191, 162, 207, 209, 225, 218, 103, 196, 191, 249, 91, 144, 34, 141, 182, 182, 206, 38, 84, 0, 37, 80, 202, 182, 206, 104, 92, 200, 223, 165, 182, 182, 206, 149, 84, 57, 226, 104, 202, 182, 206, 120, 54, 137, 20, 174, 142, 7, 199, 188, 50, 135, 25, 42, 163, 7, 199, 228, 54, 66, 235, 155, 142, 7, 199, 39, 51, 63, 240, 22, 163, 7, 199, 202, 75, 112, 30, 62, 164, 224, 177, 213, 83, 240, 19, 95, 185, 224, 177, 189, 76, 216, 240, 52, 164, 224, 177, 200, 84, 89, 230, 86, 185, 224, 177, 62, 41, 78, 57, 125, 179, 236, 174, 90, 50, 103, 35, 239, 198, 236, 174, 230, 41, 98, 225, 188, 179, 236, 174, 2, 51, 122, 203, 46, 199, 236, 174, 124, 57, 247, 34, 98, 182, 196, 191, 158, 57, 213, 32, 112, 203, 196, 191, 44, 57, 244, 227, 113, 182, 196, 191, 77, 57, 209, 225, 126, 203, 196, 191, 79, 38, 5, 33, 206, 58, 59, 193, 166, 37, 30, 42, 255, 79, 59, 193, 143, 37, 170, 218, 144, 58, 59, 193, 230, 36, 195, 227, 193, 79, 59, 193, 187, 18, 24, 40, 124, 86, 244, 194, 40, 17, 45, 49, 95, 107, 244, 194, 14, 19, 156, 211, 77, 86, 244, 194, 122, 17, 176, 220, 47, 107, 244, 194, 117, 95, 61, 37, 239, 35, 240, 204, 137, 88, 110, 8, 60, 56, 240, 204, 140, 94, 91, 252, 129, 36, 240, 204, 160, 87, 140, 223, 205, 56, 240, 204, 54, 44, 63, 48, 43, 72, 234, 173, 244, 54, 25, 57, 167, 93, 234, 173, 101, 44, 175, 203, 232, 71, 234, 173, 35, 55, 138, 212, 100, 93, 234, 173, 162, 66, 128, 65, 191, 38, 79, 177, 241, 74, 32, 34, 106, 59, 79, 177, 103, 66, 168, 226, 131, 39, 79, 177, 182, 74, 72, 195, 46, 60, 79, 177, 76, 243, 0, 0, 227, 125, 71, 199, 49, 239, 195, 2, 188, 147, 71, 199, 63, 244, 14, 218, 249, 125, 71, 199, 36, 240, 210, 220, 210, 147, 71, 199, 44, 230, 24, 8, 36, 135, 249, 189, 76, 231, 225, 3, 192, 156, 249, 189, 125, 230, 240, 216, 61, 135, 249, 189, 157, 231, 185, 212, 218, 156, 249, 189, 119, 243, 121, 20, 120, 102, 160, 195, 116, 241, 120, 18, 90, 124, 160, 195, 96, 244, 89, 202, 152, 102, 160, 195, 93, 242, 88, 200, 121, 124, 160, 195, 242, 210, 47, 10, 56, 115, 103, 191, 84, 211, 141, 6, 13, 139, 103, 191, 165, 211, 68, 214, 75, 115, 103, 191, 7, 212, 162, 210, 33, 139, 103, 191, 166, 234, 16, 11, 119, 133, 78, 196, 69, 232, 203, 12, 48, 155, 78, 196, 139, 235, 6, 208, 131, 133, 78, 196, 41, 233, 193, 209, 60, 155, 78, 196, 188, 216, 132, 29, 178, 184, 249, 209, 155, 206, 83, 65, 21, 205, 249, 209, 129, 216, 117, 195, 200, 183, 249, 209, 95, 206, 68, 231, 43, 204, 249, 209, 130, 202, 6, 30, 89, 228, 222, 184, 95, 206, 208, 39, 45, 249, 222, 184, 97, 202, 249, 220, 30, 228, 222, 184, 63, 206, 195, 230, 242, 248, 222, 184, 124, 253, 67, 41, 97, 235, 79, 187, 255, 255, 213, 54, 255, 255, 79, 187, 214, 252, 243, 205, 38, 235, 79, 187, 89, 255, 134, 219, 196, 255, 79, 187, 213, 243, 207, 25, 67, 147, 162, 196, 121, 241, 37, 37, 66, 167, 162, 196, 140, 244, 163, 223, 7, 147, 162, 196, 49, 242, 249, 234, 6, 167, 162, 196, 66, 232, 182, 35, 187, 200, 76, 175, 234, 241, 152, 36, 202, 221, 76, 175, 131, 231, 48, 224, 5, 201, 76, 175, 43, 241, 19, 225, 20, 222, 76, 175, 105, 51, 132, 29, 236, 174, 249, 209, 71, 41, 83, 65, 80, 195, 249, 209, 45, 51, 117, 195, 2, 174, 249, 209, 12, 41, 68, 231, 101, 194, 249, 209, 46, 37, 6, 30, 147, 218, 222, 184, 12, 41, 208, 39, 103, 239, 222, 184, 14, 37, 249, 220, 89, 218, 222, 184, 235, 40, 195, 230, 45, 239, 222, 184, 41, 88, 67, 41, 156, 225, 79, 187, 171, 90, 213, 54, 57, 246, 79, 187, 131, 87, 243, 205, 97, 225, 79, 187, 5, 90, 134, 219, 254, 245, 79, 187, 129, 78, 207, 25, 125, 137, 162, 196, 38, 76, 37, 37, 124, 157, 162, 196, 57, 79, 163, 223, 65, 137, 162, 196, 222, 76, 249, 234, 64, 157, 162, 196, 238, 66, 182, 35, 246, 190, 76, 175, 151, 76, 152, 36, 5, 212, 76, 175, 47, 66, 48, 224, 64, 191, 76, 175, 216, 75, 19, 225, 79, 212, 76, 175, 26, 129, 124, 246, 26, 129, 124, 246, 26, 129, 124, 246, 26, 129, 124, 246, 186, 126, 181, 249, 186, 126, 181, 249, 186, 126, 181, 249, 186, 126, 181, 249, 69, 133, 104, 251, 69, 133, 104, 251, 69, 133, 104, 251, 69, 133, 104, 251, 203, 136, 42, 254, 203, 136, 42, 254, 203, 136, 42, 254, 203, 136, 42, 254, 207, 128, 172, 254, 207, 128, 172, 254, 207, 128, 172, 254, 207, 128, 172, 254, 42, 130, 128, 251, 42, 130, 128, 251, 42, 130, 128, 251, 42, 130, 128, 251, 137, 130, 8, 252, 137, 130, 8, 252, 137, 130, 8, 252, 137, 130, 8, 252, 1, 133, 108, 244, 1, 133, 108, 244, 1, 133, 108, 244, 1, 133, 108, 244, 163, 129, 68, 246, 163, 129, 68, 246, 163, 129, 68, 246, 163, 129, 68, 246, 88, 124, 212, 253, 88, 124, 212, 253, 88, 124, 212, 253, 88, 124, 212, 253, 42, 130, 128, 251, 42, 130, 128, 251, 42, 130, 128, 251, 42, 130, 128, 251, 137, 130, 8, 252, 137, 130, 8, 252, 137, 130, 8, 252, 137, 130, 8, 252, 1, 133, 108, 244, 1, 133, 108, 244, 1, 133, 108, 244, 1, 133, 108, 244, 163, 129, 68, 246, 163, 129, 68, 246, 163, 129, 68, 246, 163, 129, 68, 246, 88, 124, 212, 253, 88, 124, 212, 253, 88, 124, 212, 253, 88, 124, 212, 253, 98, 119, 21, 253, 98, 119, 21, 253, 98, 119, 21, 253, 98, 119, 21, 253, 73, 131, 4, 252, 73, 131, 4, 252, 73, 131, 4, 252, 73, 131, 4, 252, 228, 120, 53, 249, 228, 120, 53, 249, 228, 120, 53, 249, 228, 120, 53, 249, 116, 132, 104, 251, 116, 132, 104, 251, 116, 132, 104, 251, 116, 132, 104, 251, 243, 118, 236, 243, 243, 118, 236, 243, 243, 118, 236, 243, 243, 118, 236, 243, 81, 132, 78, 247, 81, 132, 78, 247, 81, 132, 78, 247, 81, 132, 78, 247, 30, 129, 134, 252, 30, 129, 134, 252, 30, 129, 134, 252, 30, 129, 134, 252, 162, 132, 187, 245, 162, 132, 187, 245, 162, 132, 187, 245, 162, 132, 187, 245, 79, 131, 116, 248, 79, 131, 116, 248, 79, 131, 116, 248, 79, 131, 116, 248, 158, 132, 191, 246, 158, 132, 191, 246, 158, 132, 191, 246, 158, 132, 191, 246, 140, 137, 145, 253, 140, 137, 145, 253, 140, 137, 145, 253, 140, 137, 145, 253, 61, 131, 17, 255, 61, 131, 17, 255, 61, 131, 17, 255, 61, 131, 17, 255, 50, 119, 135, 253, 50, 119, 135, 253, 50, 119, 135, 253, 50, 119, 135, 253, 41, 133, 168, 248, 41, 133, 168, 248, 41, 133, 168, 248, 41, 133, 168, 248, 146, 116, 62, 249, 146, 116, 62, 249, 146, 116, 62, 249, 146, 116, 62, 249, 140, 137, 145, 253, 140, 137, 145, 253, 140, 137, 145, 253, 140, 137, 145, 253, 61, 131, 17, 255, 61, 131, 17, 255, 61, 131, 17, 255, 61, 131, 17, 255, 50, 119, 135, 253, 50, 119, 135, 253, 50, 119, 135, 253, 50, 119, 135, 253, 41, 133, 168, 248, 41, 133, 168, 248, 41, 133, 168, 248, 41, 133, 168, 248, 146, 116, 62, 249, 146, 116, 62, 249, 146, 116, 62, 249, 146, 116, 62, 249)
178
+ }, {
179
+ "aabb": AABB(-8.36209, -0.222683, -9.15225, 16.4609, 0.919043, 18.7848),
180
+ "attribute_data": PackedByteArray(0, 0, 255, 255, 255, 255, 255, 255, 0, 0, 0, 0, 255, 255, 0, 0, 0, 0, 255, 255, 255, 255, 255, 255, 0, 0, 0, 0, 255, 255, 0, 0, 0, 0, 255, 255, 255, 255, 255, 255, 0, 0, 0, 0, 255, 255, 0, 0, 0, 0, 255, 255, 255, 255, 255, 255, 0, 0, 0, 0, 255, 255, 0, 0, 0, 0, 255, 255, 255, 255, 255, 255, 0, 0, 0, 0, 255, 255, 0, 0, 0, 0, 255, 255, 255, 255, 255, 255, 0, 0, 0, 0, 255, 255, 0, 0, 0, 0, 255, 255, 255, 255, 255, 255, 0, 0, 0, 0, 255, 255, 0, 0, 0, 0, 255, 255, 255, 255, 255, 255, 0, 0, 0, 0, 255, 255, 0, 0, 0, 0, 255, 255, 255, 255, 255, 255, 0, 0, 0, 0, 255, 255, 0, 0, 0, 0, 255, 255, 255, 255, 255, 255, 0, 0, 0, 0, 255, 255, 0, 0, 0, 0, 255, 255, 255, 255, 255, 255, 0, 0, 0, 0, 255, 255, 0, 0, 0, 0, 255, 255, 255, 255, 255, 255, 0, 0, 0, 0, 255, 255, 0, 0, 0, 0, 255, 255, 255, 255, 255, 255, 0, 0, 0, 0, 255, 255, 0, 0, 0, 0, 255, 255, 255, 255, 255, 255, 0, 0, 0, 0, 255, 255, 0, 0, 0, 0, 255, 255, 255, 255, 255, 255, 0, 0, 0, 0, 255, 255, 0, 0, 0, 0, 255, 255, 255, 255, 255, 255, 0, 0, 0, 0, 255, 255, 0, 0, 0, 0, 255, 255, 255, 255, 255, 255, 0, 0, 0, 0, 255, 255, 0, 0, 0, 0, 255, 255, 255, 255, 255, 255, 0, 0, 0, 0, 255, 255, 0, 0, 0, 0, 255, 255, 255, 255, 255, 255, 0, 0, 0, 0, 255, 255, 0, 0, 0, 0, 255, 255, 255, 255, 255, 255, 0, 0, 0, 0, 255, 255, 0, 0, 0, 0, 255, 255, 255, 255, 255, 255, 0, 0, 0, 0, 255, 255, 0, 0, 0, 0, 255, 255, 255, 255, 255, 255, 0, 0, 0, 0, 255, 255, 0, 0, 0, 0, 255, 255, 255, 255, 255, 255, 0, 0, 0, 0, 255, 255, 0, 0, 0, 0, 255, 255, 255, 255, 255, 255, 0, 0, 0, 0, 255, 255, 0, 0, 0, 0, 255, 255, 255, 255, 255, 255, 0, 0, 0, 0, 255, 255, 0, 0, 0, 0, 255, 255, 255, 255, 255, 255, 0, 0, 0, 0, 255, 255, 0, 0, 0, 0, 255, 255, 255, 255, 255, 255, 0, 0, 0, 0, 255, 255, 0, 0, 0, 0, 255, 255, 255, 255, 255, 255, 0, 0, 0, 0, 255, 255, 0, 0, 0, 0, 255, 255, 255, 255, 255, 255, 0, 0, 0, 0, 255, 255, 0, 0, 0, 0, 255, 255, 255, 255, 255, 255, 0, 0, 0, 0, 255, 255, 0, 0, 0, 0, 255, 255, 255, 255, 255, 255, 0, 0, 0, 0, 255, 255, 0, 0, 0, 0, 255, 255, 255, 255, 255, 255, 0, 0, 0, 0, 255, 255, 0, 0, 0, 0, 255, 255, 255, 255, 255, 255, 0, 0, 0, 0, 255, 255, 0, 0, 0, 0, 255, 255, 255, 255, 255, 255, 0, 0, 0, 0, 255, 255, 0, 0, 0, 0, 255, 255, 255, 255, 255, 255, 0, 0, 0, 0, 255, 255, 0, 0),
181
+ "format": 34896613399,
182
+ "index_count": 210,
183
+ "index_data": PackedByteArray(0, 0, 3, 0, 1, 0, 0, 0, 2, 0, 3, 0, 4, 0, 7, 0, 5, 0, 4, 0, 6, 0, 7, 0, 8, 0, 11, 0, 9, 0, 8, 0, 10, 0, 11, 0, 12, 0, 15, 0, 13, 0, 12, 0, 14, 0, 15, 0, 16, 0, 19, 0, 17, 0, 16, 0, 18, 0, 19, 0, 20, 0, 23, 0, 21, 0, 20, 0, 22, 0, 23, 0, 24, 0, 27, 0, 25, 0, 24, 0, 26, 0, 27, 0, 28, 0, 31, 0, 29, 0, 28, 0, 30, 0, 31, 0, 32, 0, 35, 0, 33, 0, 32, 0, 34, 0, 35, 0, 36, 0, 39, 0, 37, 0, 36, 0, 38, 0, 39, 0, 40, 0, 43, 0, 41, 0, 40, 0, 42, 0, 43, 0, 44, 0, 47, 0, 45, 0, 44, 0, 46, 0, 47, 0, 48, 0, 51, 0, 49, 0, 48, 0, 50, 0, 51, 0, 52, 0, 55, 0, 53, 0, 52, 0, 54, 0, 55, 0, 56, 0, 59, 0, 57, 0, 56, 0, 58, 0, 59, 0, 60, 0, 63, 0, 61, 0, 60, 0, 62, 0, 63, 0, 64, 0, 67, 0, 65, 0, 64, 0, 66, 0, 67, 0, 68, 0, 71, 0, 69, 0, 68, 0, 70, 0, 71, 0, 72, 0, 75, 0, 73, 0, 72, 0, 74, 0, 75, 0, 76, 0, 79, 0, 77, 0, 76, 0, 78, 0, 79, 0, 80, 0, 83, 0, 81, 0, 80, 0, 82, 0, 83, 0, 84, 0, 87, 0, 85, 0, 84, 0, 86, 0, 87, 0, 88, 0, 91, 0, 89, 0, 88, 0, 90, 0, 91, 0, 92, 0, 95, 0, 93, 0, 92, 0, 94, 0, 95, 0, 96, 0, 99, 0, 97, 0, 96, 0, 98, 0, 99, 0, 100, 0, 103, 0, 101, 0, 100, 0, 102, 0, 103, 0, 104, 0, 107, 0, 105, 0, 104, 0, 106, 0, 107, 0, 108, 0, 111, 0, 109, 0, 108, 0, 110, 0, 111, 0, 112, 0, 115, 0, 113, 0, 112, 0, 114, 0, 115, 0, 116, 0, 119, 0, 117, 0, 116, 0, 118, 0, 119, 0, 120, 0, 123, 0, 121, 0, 120, 0, 122, 0, 123, 0, 124, 0, 127, 0, 125, 0, 124, 0, 126, 0, 127, 0, 128, 0, 131, 0, 129, 0, 128, 0, 130, 0, 131, 0, 132, 0, 135, 0, 133, 0, 132, 0, 134, 0, 135, 0, 136, 0, 139, 0, 137, 0, 136, 0, 138, 0, 139, 0),
184
+ "material": SubResource("ShaderMaterial_pa0jt"),
185
+ "name": "grass2",
186
+ "primitive": 3,
187
+ "uv_scale": Vector4(0, 0, 0, 0),
188
+ "vertex_count": 140,
189
+ "vertex_data": PackedByteArray(115, 71, 218, 24, 55, 131, 1, 179, 215, 78, 214, 60, 164, 150, 1, 179, 60, 71, 235, 196, 131, 130, 1, 179, 160, 78, 231, 232, 241, 149, 1, 179, 73, 67, 14, 22, 105, 60, 91, 209, 176, 56, 92, 24, 225, 80, 91, 209, 224, 66, 101, 233, 49, 60, 91, 209, 71, 56, 179, 235, 168, 80, 91, 209, 64, 61, 133, 37, 117, 9, 130, 180, 251, 67, 225, 42, 189, 29, 130, 180, 155, 60, 224, 214, 130, 9, 130, 180, 86, 67, 60, 220, 202, 29, 130, 180, 12, 96, 9, 39, 14, 0, 184, 176, 27, 104, 129, 47, 252, 17, 184, 176, 167, 95, 64, 210, 0, 0, 184, 176, 182, 103, 184, 218, 238, 17, 184, 176, 47, 103, 137, 31, 75, 10, 132, 179, 233, 109, 180, 34, 238, 28, 132, 179, 75, 103, 13, 223, 48, 10, 132, 179, 5, 110, 56, 226, 210, 28, 132, 179, 75, 255, 98, 24, 152, 2, 187, 192, 223, 254, 129, 26, 114, 24, 187, 192, 255, 255, 64, 231, 142, 2, 187, 192, 146, 255, 95, 233, 104, 24, 187, 192, 123, 217, 246, 34, 195, 43, 37, 187, 151, 220, 113, 66, 240, 65, 37, 187, 194, 217, 80, 191, 52, 43, 37, 187, 221, 220, 203, 222, 96, 65, 37, 187, 127, 194, 227, 56, 189, 35, 30, 183, 28, 200, 72, 44, 241, 57, 30, 183, 172, 194, 121, 213, 235, 35, 30, 183, 73, 200, 222, 200, 31, 58, 30, 183, 172, 178, 255, 5, 95, 100, 224, 195, 147, 176, 88, 21, 50, 120, 224, 195, 151, 179, 105, 236, 5, 100, 224, 195, 125, 177, 194, 251, 216, 119, 224, 195, 165, 168, 6, 5, 122, 31, 9, 200, 66, 164, 218, 30, 36, 51, 9, 200, 183, 169, 231, 226, 246, 30, 9, 200, 85, 165, 187, 252, 160, 50, 9, 200, 15, 93, 98, 24, 121, 140, 187, 192, 163, 92, 129, 26, 83, 162, 187, 192, 194, 93, 64, 231, 111, 140, 187, 192, 86, 93, 95, 233, 73, 162, 187, 192, 2, 61, 246, 34, 99, 160, 37, 187, 30, 64, 113, 66, 144, 182, 37, 187, 73, 61, 80, 191, 211, 159, 37, 187, 100, 64, 203, 222, 0, 182, 37, 187, 124, 41, 227, 56, 81, 156, 30, 183, 25, 47, 72, 44, 133, 178, 30, 183, 169, 41, 121, 213, 127, 156, 30, 183, 70, 47, 222, 200, 179, 178, 30, 183, 187, 28, 255, 5, 65, 188, 224, 195, 161, 26, 88, 21, 20, 208, 224, 195, 166, 29, 105, 236, 231, 187, 224, 195, 140, 27, 194, 251, 186, 207, 224, 195, 119, 20, 6, 5, 24, 155, 9, 200, 20, 16, 218, 30, 194, 174, 9, 200, 138, 21, 231, 226, 149, 154, 9, 200, 39, 17, 187, 252, 63, 174, 9, 200, 69, 99, 89, 8, 63, 45, 151, 208, 220, 89, 129, 27, 130, 64, 151, 208, 77, 100, 64, 230, 27, 45, 151, 208, 228, 90, 104, 249, 94, 64, 151, 208, 136, 60, 229, 16, 33, 72, 231, 207, 11, 51, 16, 34, 89, 92, 231, 207, 200, 60, 177, 223, 205, 71, 231, 207, 76, 51, 220, 240, 5, 92, 231, 207, 50, 66, 106, 13, 150, 49, 89, 188, 77, 68, 184, 37, 47, 69, 89, 188, 235, 66, 9, 220, 234, 48, 89, 188, 6, 69, 87, 244, 130, 68, 89, 188, 178, 33, 149, 11, 251, 76, 141, 195, 203, 31, 201, 21, 58, 96, 141, 195, 35, 34, 248, 235, 186, 76, 141, 195, 59, 32, 44, 246, 249, 95, 141, 195, 58, 98, 240, 18, 167, 77, 163, 206, 96, 90, 95, 30, 0, 96, 163, 206, 167, 98, 98, 227, 124, 77, 163, 206, 206, 90, 209, 238, 212, 95, 163, 206, 72, 242, 0, 0, 57, 111, 152, 186, 56, 245, 115, 2, 202, 129, 152, 186, 154, 240, 75, 214, 92, 111, 152, 186, 138, 243, 190, 216, 237, 129, 152, 186, 133, 191, 39, 11, 239, 105, 159, 188, 129, 193, 226, 10, 187, 125, 159, 188, 246, 192, 219, 205, 212, 105, 159, 188, 242, 194, 151, 205, 160, 125, 159, 188, 172, 240, 4, 26, 48, 128, 247, 199, 11, 236, 146, 26, 31, 149, 247, 199, 90, 239, 44, 190, 244, 127, 247, 199, 186, 234, 186, 190, 227, 148, 247, 199, 131, 189, 179, 19, 171, 130, 241, 185, 130, 193, 123, 18, 243, 152, 241, 185, 246, 187, 66, 198, 232, 130, 241, 185, 245, 191, 11, 197, 47, 153, 241, 185, 33, 200, 203, 14, 32, 113, 111, 185, 44, 204, 5, 12, 75, 134, 111, 185, 220, 198, 185, 204, 95, 113, 111, 185, 231, 202, 243, 201, 138, 134, 111, 185, 101, 191, 88, 29, 161, 162, 201, 189, 188, 192, 195, 1, 47, 184, 201, 189, 39, 192, 255, 255, 73, 163, 201, 189, 126, 193, 105, 228, 216, 184, 201, 189, 40, 175, 223, 4, 200, 198, 126, 198, 58, 171, 246, 21, 147, 220, 126, 198, 36, 176, 203, 235, 124, 198, 126, 198, 54, 172, 226, 252, 71, 220, 126, 198, 97, 183, 124, 32, 76, 235, 2, 186, 251, 186, 249, 56, 255, 255, 2, 186, 246, 183, 200, 200, 190, 234, 2, 186, 144, 187, 69, 225, 113, 255, 2, 186, 204, 187, 230, 55, 170, 204, 75, 196, 133, 185, 3, 45, 233, 223, 75, 196, 43, 187, 190, 212, 210, 204, 75, 196, 228, 184, 219, 201, 16, 224, 75, 196, 22, 238, 125, 37, 95, 186, 196, 177, 160, 245, 201, 43, 132, 204, 196, 177, 227, 237, 248, 213, 74, 186, 196, 177, 109, 245, 69, 220, 111, 204, 196, 177, 43, 20, 88, 29, 82, 153, 201, 189, 129, 21, 195, 1, 225, 174, 201, 189, 237, 20, 254, 255, 250, 153, 201, 189, 68, 22, 105, 228, 137, 175, 201, 189, 237, 3, 223, 4, 121, 189, 126, 198, 0, 0, 246, 21, 68, 211, 126, 198, 233, 4, 203, 235, 45, 189, 126, 198, 252, 0, 226, 252, 248, 210, 126, 198, 39, 12, 124, 32, 254, 225, 2, 186, 193, 15, 249, 56, 176, 246, 2, 186, 188, 12, 200, 200, 112, 225, 2, 186, 86, 16, 69, 225, 34, 246, 2, 186, 145, 16, 230, 55, 92, 195, 75, 196, 74, 14, 3, 45, 154, 214, 75, 196, 241, 15, 190, 212, 131, 195, 75, 196, 170, 13, 219, 201, 194, 214, 75, 196, 219, 66, 124, 37, 17, 177, 196, 177, 102, 74, 201, 43, 54, 195, 196, 177, 168, 66, 248, 213, 251, 176, 196, 177, 51, 74, 69, 220, 32, 195, 196, 177, 254, 139, 153, 250, 254, 139, 153, 250, 254, 139, 153, 250, 254, 139, 153, 250, 255, 123, 178, 254, 255, 123, 178, 254, 255, 123, 178, 254, 255, 123, 178, 254, 229, 118, 172, 251, 229, 118, 172, 251, 229, 118, 172, 251, 229, 118, 172, 251, 249, 121, 22, 254, 249, 121, 22, 254, 249, 121, 22, 254, 249, 121, 22, 254, 158, 129, 60, 254, 158, 129, 60, 254, 158, 129, 60, 254, 158, 129, 60, 254, 223, 131, 192, 248, 223, 131, 192, 248, 223, 131, 192, 248, 223, 131, 192, 248, 7, 137, 51, 249, 7, 137, 51, 249, 7, 137, 51, 249, 7, 137, 51, 249, 113, 127, 110, 252, 113, 127, 110, 252, 113, 127, 110, 252, 113, 127, 110, 252, 250, 133, 255, 247, 250, 133, 255, 247, 250, 133, 255, 247, 250, 133, 255, 247, 116, 135, 31, 247, 116, 135, 31, 247, 116, 135, 31, 247, 116, 135, 31, 247, 223, 131, 192, 248, 223, 131, 192, 248, 223, 131, 192, 248, 223, 131, 192, 248, 7, 137, 51, 249, 7, 137, 51, 249, 7, 137, 51, 249, 7, 137, 51, 249, 113, 127, 110, 252, 113, 127, 110, 252, 113, 127, 110, 252, 113, 127, 110, 252, 250, 133, 255, 247, 250, 133, 255, 247, 250, 133, 255, 247, 250, 133, 255, 247, 116, 135, 31, 247, 116, 135, 31, 247, 116, 135, 31, 247, 116, 135, 31, 247, 129, 133, 249, 247, 129, 133, 249, 247, 129, 133, 249, 247, 129, 133, 249, 247, 210, 131, 73, 253, 210, 131, 73, 253, 210, 131, 73, 253, 210, 131, 73, 253, 26, 136, 195, 247, 26, 136, 195, 247, 26, 136, 195, 247, 26, 136, 195, 247, 118, 131, 246, 251, 118, 131, 246, 251, 118, 131, 246, 251, 118, 131, 246, 251, 0, 131, 114, 252, 0, 131, 114, 252, 0, 131, 114, 252, 0, 131, 114, 252, 50, 111, 102, 247, 50, 111, 102, 247, 50, 111, 102, 247, 50, 111, 102, 247, 21, 136, 109, 240, 21, 136, 109, 240, 21, 136, 109, 240, 21, 136, 109, 240, 242, 112, 66, 249, 242, 112, 66, 249, 242, 112, 66, 249, 242, 112, 66, 249, 101, 109, 207, 245, 101, 109, 207, 245, 101, 109, 207, 245, 101, 109, 207, 245, 5, 113, 126, 247, 5, 113, 126, 247, 5, 113, 126, 247, 5, 113, 126, 247, 211, 127, 114, 248, 211, 127, 114, 248, 211, 127, 114, 248, 211, 127, 114, 248, 231, 133, 197, 247, 231, 133, 197, 247, 231, 133, 197, 247, 231, 133, 197, 247, 87, 136, 97, 247, 87, 136, 97, 247, 87, 136, 97, 247, 87, 136, 97, 247, 250, 119, 158, 250, 250, 119, 158, 250, 250, 119, 158, 250, 250, 119, 158, 250, 46, 125, 151, 255, 46, 125, 151, 255, 46, 125, 151, 255, 46, 125, 151, 255, 211, 127, 114, 248, 211, 127, 114, 248, 211, 127, 114, 248, 211, 127, 114, 248, 231, 133, 197, 247, 231, 133, 197, 247, 231, 133, 197, 247, 231, 133, 197, 247, 87, 136, 97, 247, 87, 136, 97, 247, 87, 136, 97, 247, 87, 136, 97, 247, 250, 119, 158, 250, 250, 119, 158, 250, 250, 119, 158, 250, 250, 119, 158, 250, 46, 125, 151, 255, 46, 125, 151, 255, 46, 125, 151, 255, 46, 125, 151, 255)
190
+ }, {
191
+ "aabb": AABB(-8.38425, -0.244321, -8.59889, 16.6521, 0.950857, 18.4937),
192
+ "attribute_data": PackedByteArray(0, 0, 255, 255, 255, 255, 255, 255, 0, 0, 0, 0, 255, 255, 0, 0, 0, 0, 255, 255, 255, 255, 255, 255, 0, 0, 0, 0, 255, 255, 0, 0, 0, 0, 255, 255, 255, 255, 255, 255, 0, 0, 0, 0, 255, 255, 0, 0, 0, 0, 255, 255, 255, 255, 255, 255, 0, 0, 0, 0, 255, 255, 0, 0, 0, 0, 255, 255, 255, 255, 255, 255, 0, 0, 0, 0, 255, 255, 0, 0, 0, 0, 255, 255, 255, 255, 255, 255, 0, 0, 0, 0, 255, 255, 0, 0, 0, 0, 255, 255, 255, 255, 255, 255, 0, 0, 0, 0, 255, 255, 0, 0, 0, 0, 255, 255, 255, 255, 255, 255, 0, 0, 0, 0, 255, 255, 0, 0, 0, 0, 255, 255, 255, 255, 255, 255, 0, 0, 0, 0, 255, 255, 0, 0, 0, 0, 255, 255, 255, 255, 255, 255, 0, 0, 0, 0, 255, 255, 0, 0, 0, 0, 255, 255, 255, 255, 255, 255, 0, 0, 0, 0, 255, 255, 0, 0, 0, 0, 255, 255, 255, 255, 255, 255, 0, 0, 0, 0, 255, 255, 0, 0, 0, 0, 255, 255, 255, 255, 255, 255, 0, 0, 0, 0, 255, 255, 0, 0, 0, 0, 255, 255, 255, 255, 255, 255, 0, 0, 0, 0, 255, 255, 0, 0, 0, 0, 255, 255, 255, 255, 255, 255, 0, 0, 0, 0, 255, 255, 0, 0, 0, 0, 255, 255, 255, 255, 255, 255, 0, 0, 0, 0, 255, 255, 0, 0, 0, 0, 255, 255, 255, 255, 255, 255, 0, 0, 0, 0, 255, 255, 0, 0, 0, 0, 255, 255, 255, 255, 255, 255, 0, 0, 0, 0, 255, 255, 0, 0, 0, 0, 255, 255, 255, 255, 255, 255, 0, 0, 0, 0, 255, 255, 0, 0, 0, 0, 255, 255, 255, 255, 255, 255, 0, 0, 0, 0, 255, 255, 0, 0, 0, 0, 255, 255, 255, 255, 255, 255, 0, 0, 0, 0, 255, 255, 0, 0, 0, 0, 255, 255, 255, 255, 255, 255, 0, 0, 0, 0, 255, 255, 0, 0, 0, 0, 255, 255, 255, 255, 255, 255, 0, 0, 0, 0, 255, 255, 0, 0, 0, 0, 255, 255, 255, 255, 255, 255, 0, 0, 0, 0, 255, 255, 0, 0, 0, 0, 255, 255, 255, 255, 255, 255, 0, 0, 0, 0, 255, 255, 0, 0, 0, 0, 255, 255, 255, 255, 255, 255, 0, 0, 0, 0, 255, 255, 0, 0, 0, 0, 255, 255, 255, 255, 255, 255, 0, 0, 0, 0, 255, 255, 0, 0, 0, 0, 255, 255, 255, 255, 255, 255, 0, 0, 0, 0, 255, 255, 0, 0, 0, 0, 255, 255, 255, 255, 255, 255, 0, 0, 0, 0, 255, 255, 0, 0, 0, 0, 255, 255, 255, 255, 255, 255, 0, 0, 0, 0, 255, 255, 0, 0, 0, 0, 255, 255, 255, 255, 255, 255, 0, 0, 0, 0, 255, 255, 0, 0, 0, 0, 255, 255, 255, 255, 255, 255, 0, 0, 0, 0, 255, 255, 0, 0, 0, 0, 255, 255, 255, 255, 255, 255, 0, 0, 0, 0, 255, 255, 0, 0, 0, 0, 255, 255, 255, 255, 255, 255, 0, 0, 0, 0, 255, 255, 0, 0),
193
+ "format": 34896613399,
194
+ "index_count": 204,
195
+ "index_data": PackedByteArray(0, 0, 3, 0, 1, 0, 0, 0, 2, 0, 3, 0, 4, 0, 7, 0, 5, 0, 4, 0, 6, 0, 7, 0, 8, 0, 11, 0, 9, 0, 8, 0, 10, 0, 11, 0, 12, 0, 15, 0, 13, 0, 12, 0, 14, 0, 15, 0, 16, 0, 19, 0, 17, 0, 16, 0, 18, 0, 19, 0, 20, 0, 23, 0, 21, 0, 20, 0, 22, 0, 23, 0, 24, 0, 27, 0, 25, 0, 24, 0, 26, 0, 27, 0, 28, 0, 31, 0, 29, 0, 28, 0, 30, 0, 31, 0, 32, 0, 35, 0, 33, 0, 32, 0, 34, 0, 35, 0, 36, 0, 39, 0, 37, 0, 36, 0, 38, 0, 39, 0, 40, 0, 43, 0, 41, 0, 40, 0, 42, 0, 43, 0, 44, 0, 47, 0, 45, 0, 44, 0, 46, 0, 47, 0, 48, 0, 51, 0, 49, 0, 48, 0, 50, 0, 51, 0, 52, 0, 55, 0, 53, 0, 52, 0, 54, 0, 55, 0, 56, 0, 59, 0, 57, 0, 56, 0, 58, 0, 59, 0, 60, 0, 63, 0, 61, 0, 60, 0, 62, 0, 63, 0, 64, 0, 67, 0, 65, 0, 64, 0, 66, 0, 67, 0, 68, 0, 71, 0, 69, 0, 68, 0, 70, 0, 71, 0, 72, 0, 75, 0, 73, 0, 72, 0, 74, 0, 75, 0, 76, 0, 79, 0, 77, 0, 76, 0, 78, 0, 79, 0, 80, 0, 83, 0, 81, 0, 80, 0, 82, 0, 83, 0, 84, 0, 87, 0, 85, 0, 84, 0, 86, 0, 87, 0, 88, 0, 91, 0, 89, 0, 88, 0, 90, 0, 91, 0, 92, 0, 95, 0, 93, 0, 92, 0, 94, 0, 95, 0, 96, 0, 99, 0, 97, 0, 96, 0, 98, 0, 99, 0, 100, 0, 103, 0, 101, 0, 100, 0, 102, 0, 103, 0, 104, 0, 107, 0, 105, 0, 104, 0, 106, 0, 107, 0, 108, 0, 111, 0, 109, 0, 108, 0, 110, 0, 111, 0, 112, 0, 115, 0, 113, 0, 112, 0, 114, 0, 115, 0, 116, 0, 119, 0, 117, 0, 116, 0, 118, 0, 119, 0, 120, 0, 123, 0, 121, 0, 120, 0, 122, 0, 123, 0, 124, 0, 127, 0, 125, 0, 124, 0, 126, 0, 127, 0, 128, 0, 131, 0, 129, 0, 128, 0, 130, 0, 131, 0, 132, 0, 135, 0, 133, 0, 132, 0, 134, 0, 135, 0),
196
+ "material": SubResource("ShaderMaterial_og20f"),
197
+ "name": "grass3",
198
+ "primitive": 3,
199
+ "uv_scale": Vector4(0, 0, 0, 0),
200
+ "vertex_count": 136,
201
+ "vertex_data": PackedByteArray(51, 101, 23, 48, 255, 50, 16, 196, 255, 98, 49, 47, 215, 70, 16, 196, 123, 101, 151, 213, 11, 51, 16, 196, 71, 99, 177, 212, 226, 70, 16, 196, 187, 11, 28, 30, 151, 4, 174, 208, 218, 1, 76, 44, 37, 25, 174, 208, 71, 12, 123, 216, 119, 4, 174, 208, 102, 2, 172, 230, 5, 25, 174, 208, 141, 9, 185, 52, 51, 15, 53, 208, 90, 0, 154, 46, 233, 34, 53, 208, 230, 9, 46, 214, 118, 15, 53, 208, 178, 0, 15, 208, 45, 35, 53, 208, 15, 70, 195, 46, 197, 10, 114, 195, 7, 68, 205, 52, 135, 32, 114, 195, 119, 70, 250, 207, 174, 10, 114, 195, 111, 68, 4, 214, 113, 32, 114, 195, 224, 179, 73, 31, 253, 73, 82, 196, 48, 177, 118, 26, 188, 96, 82, 196, 199, 179, 82, 234, 24, 74, 82, 196, 22, 177, 126, 229, 215, 96, 82, 196, 241, 199, 196, 31, 54, 39, 236, 199, 148, 195, 174, 38, 52, 59, 236, 199, 63, 200, 26, 222, 23, 39, 236, 199, 225, 195, 4, 229, 21, 59, 236, 199, 122, 245, 123, 48, 0, 0, 252, 175, 52, 255, 179, 55, 20, 21, 252, 175, 250, 244, 21, 205, 11, 0, 252, 175, 179, 254, 76, 212, 32, 21, 252, 175, 212, 230, 119, 68, 24, 34, 125, 192, 152, 230, 74, 37, 9, 54, 125, 192, 216, 230, 126, 223, 188, 34, 125, 192, 156, 230, 81, 192, 173, 54, 125, 192, 255, 255, 247, 51, 140, 59, 142, 195, 202, 253, 166, 47, 62, 82, 142, 195, 234, 255, 34, 213, 159, 59, 142, 195, 181, 253, 209, 208, 81, 82, 142, 195, 82, 31, 73, 31, 248, 172, 82, 196, 161, 28, 118, 26, 182, 195, 82, 196, 57, 31, 82, 234, 18, 173, 82, 196, 136, 28, 126, 229, 209, 195, 82, 196, 76, 48, 196, 31, 245, 156, 236, 199, 239, 43, 174, 38, 243, 176, 236, 199, 154, 48, 26, 222, 214, 156, 236, 199, 61, 44, 4, 229, 212, 176, 236, 199, 139, 85, 123, 48, 183, 137, 252, 175, 68, 95, 179, 55, 203, 158, 252, 175, 10, 85, 21, 205, 194, 137, 252, 175, 196, 94, 76, 212, 215, 158, 252, 175, 248, 73, 119, 68, 78, 154, 125, 192, 188, 73, 74, 37, 63, 174, 125, 192, 252, 73, 126, 223, 242, 154, 125, 192, 192, 73, 81, 192, 227, 174, 125, 192, 77, 95, 247, 51, 5, 166, 142, 195, 24, 93, 166, 47, 183, 188, 142, 195, 56, 95, 34, 213, 24, 166, 142, 195, 3, 93, 209, 208, 202, 188, 142, 195, 117, 86, 218, 36, 147, 72, 24, 181, 86, 92, 201, 4, 208, 91, 24, 181, 93, 87, 255, 255, 80, 73, 24, 181, 63, 93, 238, 223, 142, 92, 24, 181, 237, 51, 91, 19, 49, 83, 9, 175, 241, 60, 64, 52, 118, 101, 9, 175, 79, 51, 136, 208, 138, 82, 9, 175, 83, 60, 109, 241, 207, 100, 9, 175, 120, 63, 204, 50, 60, 52, 16, 210, 80, 53, 203, 44, 125, 71, 16, 210, 119, 63, 252, 215, 94, 52, 16, 210, 78, 53, 252, 209, 159, 71, 16, 210, 86, 31, 242, 33, 205, 43, 204, 190, 18, 32, 111, 63, 74, 66, 204, 190, 151, 30, 89, 197, 65, 43, 204, 190, 83, 31, 214, 226, 190, 65, 204, 190, 146, 67, 88, 39, 156, 57, 78, 195, 224, 65, 218, 44, 155, 76, 78, 195, 200, 66, 238, 215, 107, 57, 78, 195, 22, 65, 112, 221, 105, 76, 78, 195, 0, 184, 63, 28, 89, 119, 50, 188, 38, 186, 22, 26, 241, 139, 50, 188, 183, 183, 14, 195, 107, 119, 50, 188, 221, 185, 229, 192, 3, 140, 50, 188, 203, 203, 0, 0, 136, 130, 230, 186, 250, 206, 244, 3, 57, 152, 230, 186, 132, 205, 48, 217, 57, 130, 230, 186, 179, 208, 36, 221, 234, 151, 230, 186, 86, 216, 235, 15, 48, 115, 130, 189, 189, 217, 50, 15, 175, 135, 130, 189, 237, 215, 242, 205, 58, 115, 130, 189, 83, 217, 57, 205, 186, 135, 130, 189, 34, 200, 140, 16, 53, 115, 31, 190, 75, 201, 48, 13, 205, 134, 31, 190, 102, 198, 243, 207, 96, 115, 31, 190, 143, 199, 152, 204, 248, 134, 31, 190, 186, 245, 97, 23, 82, 141, 163, 196, 56, 243, 240, 24, 19, 162, 163, 196, 34, 244, 52, 196, 33, 141, 163, 196, 160, 241, 194, 197, 226, 161, 163, 196, 67, 169, 54, 51, 223, 236, 172, 181, 202, 174, 79, 45, 255, 255, 172, 181, 246, 169, 121, 215, 215, 236, 172, 181, 125, 175, 146, 209, 247, 255, 172, 181, 148, 200, 103, 58, 229, 154, 141, 194, 48, 199, 230, 48, 200, 174, 141, 194, 217, 200, 226, 211, 26, 155, 141, 194, 117, 199, 97, 202, 254, 174, 141, 194, 84, 218, 121, 26, 217, 173, 41, 201, 32, 213, 97, 59, 114, 194, 41, 201, 124, 218, 102, 201, 36, 173, 41, 201, 71, 213, 79, 234, 189, 193, 41, 201, 137, 230, 90, 23, 218, 193, 153, 174, 59, 241, 28, 39, 212, 214, 153, 174, 15, 231, 172, 221, 62, 193, 153, 174, 193, 241, 110, 237, 56, 214, 153, 174, 37, 200, 173, 10, 199, 184, 56, 179, 236, 207, 92, 31, 5, 206, 56, 179, 233, 200, 108, 229, 252, 183, 56, 179, 176, 208, 27, 250, 59, 205, 56, 179, 0, 0, 54, 51, 106, 227, 172, 181, 135, 5, 79, 45, 138, 246, 172, 181, 178, 0, 121, 215, 99, 227, 172, 181, 57, 6, 146, 209, 131, 246, 172, 181, 80, 31, 103, 58, 112, 145, 141, 194, 237, 29, 230, 48, 84, 165, 141, 194, 149, 31, 226, 211, 166, 145, 141, 194, 50, 30, 97, 202, 138, 165, 141, 194, 17, 49, 121, 26, 101, 164, 41, 201, 220, 43, 97, 59, 253, 184, 41, 201, 56, 49, 102, 201, 176, 163, 41, 201, 4, 44, 79, 234, 72, 184, 41, 201, 69, 61, 90, 23, 102, 184, 153, 174, 248, 71, 28, 39, 96, 205, 153, 174, 203, 61, 172, 221, 202, 183, 153, 174, 126, 72, 110, 237, 196, 204, 153, 174, 226, 30, 173, 10, 82, 175, 56, 179, 169, 38, 92, 31, 145, 196, 56, 179, 165, 31, 108, 229, 136, 174, 56, 179, 108, 39, 27, 250, 199, 195, 56, 179, 140, 129, 112, 252, 140, 129, 112, 252, 140, 129, 112, 252, 140, 129, 112, 252, 178, 131, 6, 251, 178, 131, 6, 251, 178, 131, 6, 251, 178, 131, 6, 251, 1, 129, 127, 251, 1, 129, 127, 251, 1, 129, 127, 251, 1, 129, 127, 251, 81, 131, 209, 250, 81, 131, 209, 250, 81, 131, 209, 250, 81, 131, 209, 250, 229, 126, 188, 254, 229, 126, 188, 254, 229, 126, 188, 254, 229, 126, 188, 254, 96, 130, 241, 252, 96, 130, 241, 252, 96, 130, 241, 252, 96, 130, 241, 252, 110, 119, 30, 252, 110, 119, 30, 252, 110, 119, 30, 252, 110, 119, 30, 252, 99, 123, 136, 246, 99, 123, 136, 246, 99, 123, 136, 246, 99, 123, 136, 246, 234, 126, 218, 254, 234, 126, 218, 254, 234, 126, 218, 254, 234, 126, 218, 254, 229, 126, 188, 254, 229, 126, 188, 254, 229, 126, 188, 254, 229, 126, 188, 254, 96, 130, 241, 252, 96, 130, 241, 252, 96, 130, 241, 252, 96, 130, 241, 252, 110, 119, 30, 252, 110, 119, 30, 252, 110, 119, 30, 252, 110, 119, 30, 252, 98, 123, 136, 246, 98, 123, 136, 246, 98, 123, 136, 246, 98, 123, 136, 246, 234, 126, 218, 254, 234, 126, 218, 254, 234, 126, 218, 254, 234, 126, 218, 254, 48, 127, 184, 245, 48, 127, 184, 245, 48, 127, 184, 245, 48, 127, 184, 245, 176, 139, 83, 253, 176, 139, 83, 253, 176, 139, 83, 253, 176, 139, 83, 253, 83, 127, 92, 254, 83, 127, 92, 254, 83, 127, 92, 254, 83, 127, 92, 254, 135, 118, 63, 255, 135, 118, 63, 255, 135, 118, 63, 255, 135, 118, 63, 255, 244, 118, 130, 252, 244, 118, 130, 252, 244, 118, 130, 252, 244, 118, 130, 252, 21, 124, 153, 253, 21, 124, 153, 253, 21, 124, 153, 253, 21, 124, 153, 253, 115, 137, 76, 239, 115, 137, 76, 239, 115, 137, 76, 239, 115, 137, 76, 239, 41, 123, 99, 253, 41, 123, 99, 253, 41, 123, 99, 253, 41, 123, 99, 253, 26, 110, 79, 246, 26, 110, 79, 246, 26, 110, 79, 246, 26, 110, 79, 246, 1, 111, 42, 248, 1, 111, 42, 248, 1, 111, 42, 248, 1, 111, 42, 248, 165, 132, 226, 245, 165, 132, 226, 245, 165, 132, 226, 245, 165, 132, 226, 245, 90, 128, 53, 252, 90, 128, 53, 252, 90, 128, 53, 252, 90, 128, 53, 252, 156, 136, 86, 251, 156, 136, 86, 251, 156, 136, 86, 251, 156, 136, 86, 251, 73, 136, 251, 246, 73, 136, 251, 246, 73, 136, 251, 246, 73, 136, 251, 246, 76, 137, 220, 245, 76, 137, 220, 245, 76, 137, 220, 245, 76, 137, 220, 245, 165, 132, 226, 245, 165, 132, 226, 245, 165, 132, 226, 245, 165, 132, 226, 245, 90, 128, 53, 252, 90, 128, 53, 252, 90, 128, 53, 252, 90, 128, 53, 252, 156, 136, 86, 251, 156, 136, 86, 251, 156, 136, 86, 251, 156, 136, 86, 251, 73, 136, 251, 246, 73, 136, 251, 246, 73, 136, 251, 246, 73, 136, 251, 246, 76, 137, 220, 245, 76, 137, 220, 245, 76, 137, 220, 245, 76, 137, 220, 245)
202
+ }]
203
+ blend_shape_mode = 0
204
+ shadow_mesh = SubResource("ArrayMesh_askja")
205
+
206
+ [sub_resource type="PhysicsMaterial" id="PhysicsMaterial_7eqbu"]
207
+ friction = 0.0
208
+ bounce = 1.0
209
+
210
+ [sub_resource type="StandardMaterial3D" id="StandardMaterial3D_5bx48"]
211
+ albedo_color = Color(1, 0.94902, 0, 1)
212
+
213
+ [sub_resource type="SphereMesh" id="SphereMesh_3ng7x"]
214
+ radius = 0.235
215
+ height = 0.469
216
+
217
+ [sub_resource type="SphereShape3D" id="SphereShape3D_sg3a8"]
218
+ margin = 0.455
219
+ radius = 0.235
220
+
221
+ [node name="GameScene" type="Node3D" node_paths=PackedStringArray("players")]
222
+ script = ExtResource("1_g4wvl")
223
+ players = [NodePath("Robot"), NodePath("Robot2")]
224
+
225
+ [node name="Field" type="Node3D" parent="."]
226
+
227
+ [node name="Floor" type="CSGBox3D" parent="Field"]
228
+ transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 0, -0.0820313, 0)
229
+ size = Vector3(6, 0.164, 2)
230
+ material = SubResource("StandardMaterial3D_si1yy")
231
+
232
+ [node name="Net" type="CSGPolygon3D" parent="Field/Floor"]
233
+ transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 0, 0.0451662, 1)
234
+ polygon = PackedVector2Array(-0.05, 0, -0.05, 1, -0.05, 1.03, -0.001, 1.04, 0.05, 1.03, 0.05, 1, 0.05, 0)
235
+ depth = 2.0
236
+ material = SubResource("StandardMaterial3D_v4edw")
237
+
238
+ [node name="Floor2" type="CSGBox3D" parent="Field"]
239
+ transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 1)
240
+ material_override = SubResource("StandardMaterial3D_v4edw")
241
+ size = Vector3(6, 0.1, 0.1)
242
+
243
+ [node name="Floor3" type="CSGBox3D" parent="Field"]
244
+ transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 0, 0, -1)
245
+ material_override = SubResource("StandardMaterial3D_v4edw")
246
+ size = Vector3(6, 0.1, 0.1)
247
+
248
+ [node name="Floor4" type="CSGBox3D" parent="Field"]
249
+ transform = Transform3D(-4.37114e-08, 0, -1, 0, 1, 0, 1, 0, -4.37114e-08, 3, 0, 0)
250
+ material_override = SubResource("StandardMaterial3D_v4edw")
251
+ size = Vector3(2.1, 0.1, 0.1)
252
+
253
+ [node name="Floor5" type="CSGBox3D" parent="Field"]
254
+ transform = Transform3D(-4.37114e-08, 0, -1, 0, 1, 0, 1, 0, -4.37114e-08, -3, 0, 0)
255
+ material_override = SubResource("StandardMaterial3D_v4edw")
256
+ size = Vector3(2.1, 0.1, 0.1)
257
+
258
+ [node name="Wall" type="CSGBox3D" parent="Field"]
259
+ transform = Transform3D(-4.37114e-08, 0, -1, 0, 1, 0, 1, 0, -4.37114e-08, 3, 1.95, 0)
260
+ material_override = SubResource("StandardMaterial3D_tsppj")
261
+ size = Vector3(2.1, 4, 0.1)
262
+
263
+ [node name="Wall2" type="CSGBox3D" parent="Field"]
264
+ transform = Transform3D(-4.37114e-08, 0, -1, 0, 1, 0, 1, 0, -4.37114e-08, -3, 1.95, -2.62268e-07)
265
+ material_override = SubResource("StandardMaterial3D_tsppj")
266
+ size = Vector3(2.1, 4, 0.1)
267
+
268
+ [node name="Wall3" type="CSGBox3D" parent="Field"]
269
+ transform = Transform3D(-4.37114e-08, 1, 4.37114e-08, 0, -4.37114e-08, 1, 1, 4.37114e-08, 0, 8.74228e-08, 3.95, 0)
270
+ material_override = SubResource("StandardMaterial3D_tsppj")
271
+ size = Vector3(2.1, 6.1, 0.1)
272
+
273
+ [node name="FieldColliders" type="StaticBody3D" parent="Field"]
274
+
275
+ [node name="CollisionShape3D" type="CollisionShape3D" parent="Field/FieldColliders"]
276
+ transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, -8, 0.5, 0)
277
+ shape = SubResource("BoxShape3D_20bsr")
278
+
279
+ [node name="CollisionShape3D2" type="CollisionShape3D" parent="Field/FieldColliders"]
280
+ transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 8, 1.17, 0)
281
+ shape = SubResource("BoxShape3D_nucsm")
282
+
283
+ [node name="CollisionShape3D5" type="CollisionShape3D" parent="Field/FieldColliders"]
284
+ transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 0, 14, 0)
285
+ shape = SubResource("BoxShape3D_7q7xm")
286
+
287
+ [node name="CollisionShape3D6" type="CollisionShape3D" parent="Field/FieldColliders"]
288
+ transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 0, -10, 0)
289
+ shape = SubResource("BoxShape3D_7q7xm")
290
+
291
+ [node name="CollisionShape3D7" type="CollisionShape3D" parent="Field/FieldColliders"]
292
+ transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 0, 0.418945, 0)
293
+ shape = SubResource("BoxShape3D_u865r")
294
+
295
+ [node name="CollisionShape3D8" type="CollisionShape3D" parent="Field/FieldColliders"]
296
+ transform = Transform3D(1.91069e-15, 4.37114e-08, 1, 1, -4.37114e-08, 0, 4.37114e-08, 1, -4.37114e-08, 0, 0.9985, 0)
297
+ shape = SubResource("CylinderShape3D_ho4bs")
298
+
299
+ [node name="Goal" type="Area3D" parent="Field"]
300
+ process_mode = 1
301
+ collision_layer = 0
302
+ collision_mask = 4
303
+ monitorable = false
304
+ script = ExtResource("2_ypwf4")
305
+
306
+ [node name="CollisionShape3D" type="CollisionShape3D" parent="Field/Goal"]
307
+ transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, -1.5, -0.4, 0)
308
+ shape = SubResource("BoxShape3D_efmyo")
309
+
310
+ [node name="Goal2" type="Area3D" parent="Field"]
311
+ process_mode = 1
312
+ transform = Transform3D(-1, 0, -8.74228e-08, 0, 1, 0, 8.74228e-08, 0, -1, 0, 0, 0)
313
+ collision_layer = 0
314
+ collision_mask = 4
315
+ monitorable = false
316
+ script = ExtResource("2_ypwf4")
317
+
318
+ [node name="CollisionShape3D" type="CollisionShape3D" parent="Field/Goal2"]
319
+ transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, -1.5, -0.4, 0)
320
+ shape = SubResource("BoxShape3D_efmyo")
321
+
322
+ [node name="Decorations" type="Node3D" parent="Field"]
323
+ transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 0, 0.0384959, 0)
324
+
325
+ [node name="MeshInstance3D" type="MeshInstance3D" parent="Field/Decorations"]
326
+ transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 0, -0.0506201, 0)
327
+ material_override = SubResource("StandardMaterial3D_unsk7")
328
+ mesh = SubResource("PlaneMesh_o0rtt")
329
+ skeleton = NodePath("../../..")
330
+
331
+ [node name="static_decorations" parent="Field/Decorations" instance=ExtResource("5_5d1h1")]
332
+ transform = Transform3D(-4.37114e-08, 0, 1, 0, 1, 0, -1, 0, -4.37114e-08, 0, 0, 0)
333
+
334
+ [node name="grass" parent="Field/Decorations/static_decorations" index="2"]
335
+ mesh = SubResource("ArrayMesh_1dxiy")
336
+
337
+ [node name="Robot" parent="." node_paths=PackedStringArray("other_player", "goal") instance=ExtResource("3_y4pr4")]
338
+ transform = Transform3D(-4.37114e-08, 0, -1, 0, 1, 0, 1, 0, -4.37114e-08, -1.5, 0.2, 0)
339
+ other_player = NodePath("../Robot2")
340
+ goal = NodePath("../Field/Goal")
341
+
342
+ [node name="Robot2" parent="." node_paths=PackedStringArray("other_player", "goal") instance=ExtResource("3_y4pr4")]
343
+ transform = Transform3D(-4.37114e-08, 0, 1, 0, 1, 0, -1, 0, -4.37114e-08, 1.5, 0.2, 0)
344
+ other_player = NodePath("../Robot")
345
+ goal = NodePath("../Field/Goal2")
346
+
347
+ [node name="Ball" type="RigidBody3D" parent="."]
348
+ transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, -0.560747, 1.45254, 0)
349
+ collision_layer = 4
350
+ collision_mask = 3
351
+ axis_lock_linear_z = true
352
+ mass = 0.1
353
+ physics_material_override = SubResource("PhysicsMaterial_7eqbu")
354
+ gravity_scale = 1.25
355
+ sleeping = true
356
+ lock_rotation = true
357
+ continuous_cd = true
358
+ max_contacts_reported = 1
359
+ contact_monitor = true
360
+ linear_damp_mode = 1
361
+ angular_damp_mode = 1
362
+ script = ExtResource("5_xjnfp")
363
+ max_velocity = 9.0
364
+
365
+ [node name="MeshInstance3D" type="MeshInstance3D" parent="Ball"]
366
+ material_override = SubResource("StandardMaterial3D_5bx48")
367
+ mesh = SubResource("SphereMesh_3ng7x")
368
+
369
+ [node name="CollisionShape3D" type="CollisionShape3D" parent="Ball"]
370
+ shape = SubResource("SphereShape3D_sg3a8")
371
+
372
+ [connection signal="ball_entered" from="Field/Goal" to="." method="_on_goal_ball_entered"]
373
+ [connection signal="ball_entered" from="Field/Goal2" to="." method="_on_goal_ball_entered"]
374
+ [connection signal="body_entered" from="Ball" to="." method="_on_ball_body_entered"]
375
+ [connection signal="body_entered" from="Ball" to="Ball" method="_on_body_entered"]
376
+
377
+ [editable path="Field/Decorations/static_decorations"]
scenes/game_scene/goal.gd ADDED
@@ -0,0 +1,13 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ extends Area3D
2
+ class_name Goal
3
+
4
+ signal ball_entered(goal: Goal)
5
+
6
+
7
+ func _ready():
8
+ connect("body_entered", on_body_entered)
9
+
10
+
11
+ func on_body_entered(body):
12
+ if body is Ball:
13
+ ball_entered.emit(self)
scenes/robot/RobotAIController.gd ADDED
@@ -0,0 +1,79 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ extends AIController3D
2
+ class_name RobotAIController
3
+
4
+ @onready var robot: Robot = get_parent()
5
+ @onready var sensors: Array[Node] = $"../Sensors".get_children()
6
+
7
+ var steps_without_ball_hit_while_serving: int
8
+ var is_serving: bool
9
+
10
+
11
+ func reset():
12
+ super.reset()
13
+
14
+
15
+ func _physics_process(_delta):
16
+ n_steps += 1
17
+
18
+ if is_serving:
19
+ steps_without_ball_hit_while_serving += 1
20
+
21
+ if steps_without_ball_hit_while_serving > 400:
22
+ reward -= 1
23
+ robot.other_player.score += 1
24
+ robot.game_manager.reset_ball(robot.other_player)
25
+
26
+
27
+ func get_obs() -> Dictionary:
28
+ var ball_position = robot.to_local(robot.ball.global_position) / 8.0
29
+ var ball_goal_position = robot.goal.to_local(robot.ball.global_position) / 5.0
30
+ var robot_velocity = (
31
+ (robot.global_transform.basis.inverse() * robot.linear_velocity.limit_length(10.0)) / 10.0
32
+ )
33
+ var ball_velocity = (
34
+ (robot.global_transform.basis.inverse() * robot.ball.linear_velocity.limit_length(8.0))
35
+ / 8.0
36
+ )
37
+
38
+ var observations: Array[float] = [
39
+ ball_position.y,
40
+ ball_position.z,
41
+ ball_goal_position.x,
42
+ ball_goal_position.z,
43
+ robot_velocity.y,
44
+ robot_velocity.z,
45
+ ball_velocity.y,
46
+ ball_velocity.z,
47
+ float(robot.jump_sensor.is_colliding()),
48
+ float(float(is_serving)),
49
+ float(robot.ball.ball_served),
50
+ robot.game_manager.get_hit_ball_count(robot),
51
+ steps_without_ball_hit_while_serving / 400.0
52
+ ]
53
+
54
+ observations.append_array(get_raycast_sensor_obs())
55
+
56
+ return {"obs": observations}
57
+
58
+
59
+ func get_reward() -> float:
60
+ return reward
61
+
62
+
63
+ func get_action_space() -> Dictionary:
64
+ return {
65
+ "jump": {"size": 1, "action_type": "continuous"},
66
+ "movement": {"size": 1, "action_type": "continuous"}
67
+ }
68
+
69
+
70
+ func set_action(action) -> void:
71
+ robot.requested_movement = clamp(action.movement[0], -1.0, 1.0)
72
+ robot.jump_requested = action.jump[0] > 0
73
+
74
+
75
+ func get_raycast_sensor_obs():
76
+ var all_raycast_sensor_obs: Array[float] = []
77
+ for raycast_sensor in sensors:
78
+ all_raycast_sensor_obs.append_array(raycast_sensor.get_observation())
79
+ return all_raycast_sensor_obs
scenes/robot/robot.gd ADDED
@@ -0,0 +1,131 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ extends RigidBody3D
2
+ class_name Robot
3
+
4
+ @export var other_player: Robot
5
+ @export var goal: Area3D
6
+
7
+ @export var wheels: Array[Node3D]
8
+
9
+ @export var acceleration: float = 100.0
10
+ @export var rotation_speed: float = 15.0
11
+ @export var jump_force: float = 290
12
+
13
+ @export var gravity := Vector3.DOWN * 60.0
14
+
15
+ @onready var robot_visual: Node3D = $robot
16
+ @onready var jump_sensor: RayCast3D = $JumpSensor
17
+ @onready var ai_controller: RobotAIController = $AIController3D
18
+ @onready var particles: GPUParticles3D = $GPUParticles3D
19
+ @onready var initial_position = global_position
20
+
21
+ var game_manager: GameManager
22
+ var ball: Ball
23
+
24
+ var requested_movement: float
25
+ var jump_requested: bool
26
+ var velocity: Vector3
27
+ var last_movement_direction: float = 1
28
+
29
+ ## If set, the score from this Robot will be displayed in the label
30
+ var score_label: Label
31
+ var score : int:
32
+ set(value):
33
+ score = value
34
+ if score_label:
35
+ score_label.text = str(value)
36
+
37
+
38
+ func _ready():
39
+ score = 0
40
+ reset()
41
+
42
+
43
+ func reset():
44
+ linear_velocity = Vector3.ZERO
45
+ global_position = initial_position
46
+
47
+
48
+ func _physics_process(delta):
49
+ reset_on_needs_reset()
50
+ handle_movement(delta)
51
+
52
+
53
+ func reset_on_needs_reset():
54
+ if ai_controller.needs_reset:
55
+ reset()
56
+ ai_controller.reset()
57
+ pass
58
+
59
+
60
+ func handle_movement(delta):
61
+ var movement := Vector3()
62
+
63
+ if ai_controller.heuristic == "human":
64
+ if Input.is_action_pressed("move_left"):
65
+ movement.x = -1
66
+ if Input.is_action_pressed("move_right"):
67
+ movement.x = 1
68
+ if Input.is_action_pressed("jump"):
69
+ if jump_sensor.is_colliding():
70
+ apply_force(Vector3.UP * jump_force)
71
+ else:
72
+ movement = global_basis.z * requested_movement
73
+ if jump_sensor.is_colliding() and jump_requested:
74
+ apply_force(Vector3.UP * jump_force)
75
+
76
+ if movement:
77
+ last_movement_direction = sign(movement.x)
78
+ apply_acceleration(movement.normalized())
79
+
80
+ update_particle_effects()
81
+ update_wheels_and_visual_rotation(delta)
82
+ rotate_toward_movement(delta)
83
+ apply_gravity()
84
+
85
+
86
+ func apply_acceleration(direction):
87
+ apply_force(direction * acceleration)
88
+
89
+
90
+ func apply_gravity():
91
+ apply_force(gravity)
92
+
93
+
94
+ func rotate_toward_movement(delta):
95
+ if abs(last_movement_direction) > 0.005:
96
+ robot_visual.global_transform = (
97
+ robot_visual
98
+ . global_transform
99
+ . interpolate_with(
100
+ robot_visual.global_transform.looking_at(
101
+ (
102
+ robot_visual.global_transform.origin
103
+ + Vector3(last_movement_direction, 0, +0.01)
104
+ )
105
+ ),
106
+ rotation_speed * delta
107
+ )
108
+ . orthonormalized()
109
+ )
110
+
111
+
112
+ func update_wheels_and_visual_rotation(delta):
113
+ var abs_movement = abs(linear_velocity.x)
114
+
115
+ for wheel in wheels:
116
+ wheel.rotate_object_local(Vector3.LEFT, abs_movement * 1.3 * delta)
117
+ robot_visual.rotation.x = -0.01 * abs_movement
118
+
119
+
120
+ func update_particle_effects():
121
+ if linear_velocity.x > 0.25 and jump_sensor.is_colliding():
122
+ particles.emitting = true
123
+ else:
124
+ particles.emitting = false
125
+
126
+
127
+ func end_episode(reward: float):
128
+ ai_controller.reward += reward
129
+ ai_controller.done = true
130
+ ai_controller.needs_reset = true
131
+ pass
scenes/robot/robot.tscn ADDED
@@ -0,0 +1,131 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ [gd_scene load_steps=16 format=3 uid="uid://3gt386v3b1ej"]
2
+
3
+ [ext_resource type="Script" path="res://scenes/robot/robot.gd" id="1_jpfj0"]
4
+ [ext_resource type="PackedScene" uid="uid://bp76uev4ua5uy" path="res://blender/robot.blend" id="1_kysqn"]
5
+ [ext_resource type="Script" path="res://addons/godot_rl_agents/sensors/sensors_3d/RaycastSensor3D.gd" id="3_k05bk"]
6
+ [ext_resource type="Script" path="res://scenes/robot/RobotAIController.gd" id="4_f5vwx"]
7
+
8
+ [sub_resource type="PhysicsMaterial" id="PhysicsMaterial_3x7cx"]
9
+ friction = 0.0
10
+
11
+ [sub_resource type="CapsuleShape3D" id="CapsuleShape3D_jp65j"]
12
+ radius = 0.339085
13
+ height = 0.744042
14
+
15
+ [sub_resource type="Gradient" id="Gradient_4bcu7"]
16
+ offsets = PackedFloat32Array(0, 0.998211)
17
+ colors = PackedColorArray(0.6, 0.388235, 0, 1, 0.6, 0.278431, 0, 0)
18
+
19
+ [sub_resource type="GradientTexture1D" id="GradientTexture1D_qcbs8"]
20
+ gradient = SubResource("Gradient_4bcu7")
21
+
22
+ [sub_resource type="Curve" id="Curve_qrfli"]
23
+ _data = [Vector2(0.00851789, 0.59552), 0.0, 0.0, 0, 0, Vector2(1, 1), 0.0, 0.0, 0, 0]
24
+ point_count = 2
25
+
26
+ [sub_resource type="CurveTexture" id="CurveTexture_w84kp"]
27
+ curve = SubResource("Curve_qrfli")
28
+
29
+ [sub_resource type="ParticleProcessMaterial" id="ParticleProcessMaterial_imhhe"]
30
+ emission_shape = 3
31
+ emission_box_extents = Vector3(0.2, 0, 0)
32
+ gravity = Vector3(0, 0, 0)
33
+ scale_curve = SubResource("CurveTexture_w84kp")
34
+ color_ramp = SubResource("GradientTexture1D_qcbs8")
35
+
36
+ [sub_resource type="Gradient" id="Gradient_beaai"]
37
+ offsets = PackedFloat32Array(0, 0.552398)
38
+ colors = PackedColorArray(1, 1, 1, 0.65098, 1, 1, 1, 0)
39
+
40
+ [sub_resource type="GradientTexture2D" id="GradientTexture2D_u8cd4"]
41
+ gradient = SubResource("Gradient_beaai")
42
+ fill = 1
43
+ fill_from = Vector2(0.5, 0.5)
44
+
45
+ [sub_resource type="StandardMaterial3D" id="StandardMaterial3D_jrh46"]
46
+ transparency = 1
47
+ vertex_color_use_as_albedo = true
48
+ albedo_texture = SubResource("GradientTexture2D_u8cd4")
49
+ billboard_mode = 3
50
+ particles_anim_h_frames = 1
51
+ particles_anim_v_frames = 1
52
+ particles_anim_loop = false
53
+
54
+ [sub_resource type="QuadMesh" id="QuadMesh_aiaq2"]
55
+ material = SubResource("StandardMaterial3D_jrh46")
56
+ size = Vector2(0.5, 0.5)
57
+
58
+ [node name="Robot" type="RigidBody3D" node_paths=PackedStringArray("wheels")]
59
+ collision_layer = 2
60
+ collision_mask = 5
61
+ axis_lock_linear_z = true
62
+ axis_lock_angular_x = true
63
+ axis_lock_angular_y = true
64
+ axis_lock_angular_z = true
65
+ physics_material_override = SubResource("PhysicsMaterial_3x7cx")
66
+ gravity_scale = 0.0
67
+ continuous_cd = true
68
+ linear_damp_mode = 1
69
+ linear_damp = 20.0
70
+ script = ExtResource("1_jpfj0")
71
+ wheels = [NodePath("robot/Robot/Wheels")]
72
+
73
+ [node name="robot" parent="." instance=ExtResource("1_kysqn")]
74
+
75
+ [node name="CollisionShape3D" type="CollisionShape3D" parent="."]
76
+ transform = Transform3D(-1, 3.89414e-07, 0, -3.89414e-07, -1, 0, 0, 0, 1, 0, 0.212432, 0)
77
+ shape = SubResource("CapsuleShape3D_jp65j")
78
+
79
+ [node name="Node3D" type="Node3D" parent="."]
80
+ transform = Transform3D(-0.0218088, -0.607985, 0.793649, 0, 0.793838, 0.608129, -0.999762, 0.0132626, -0.0173126, 13.2659, 11.8416, -0.404609)
81
+
82
+ [node name="Sensors" type="Node3D" parent="."]
83
+ transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, -0.004, 0, 0)
84
+
85
+ [node name="WallSensor" type="Node3D" parent="Sensors"]
86
+ transform = Transform3D(1, 0, 0, 0, -4.37114e-08, -1, 0, 1, -4.37114e-08, 0, 0, 0)
87
+ visible = false
88
+ script = ExtResource("3_k05bk")
89
+ boolean_class_mask = 0
90
+ n_rays_width = 1.0
91
+ n_rays_height = 2.0
92
+ ray_length = 5.0
93
+ cone_width = 0.0
94
+ cone_height = 360.0
95
+
96
+ [node name="@RayCast3D@60222" type="RayCast3D" parent="Sensors/WallSensor"]
97
+ target_position = Vector3(0, -5, 3.06152e-16)
98
+
99
+ [node name="@RayCast3D@60223" type="RayCast3D" parent="Sensors/WallSensor"]
100
+ target_position = Vector3(0, 5, 3.06152e-16)
101
+
102
+ [node name="FloorSensor" type="Node3D" parent="Sensors"]
103
+ transform = Transform3D(1, 0, 0, 0, -4.37114e-08, -1, 0, 1, -4.37114e-08, 0, 0, 0)
104
+ visible = false
105
+ script = ExtResource("3_k05bk")
106
+ boolean_class_mask = 0
107
+ n_rays_width = 1.0
108
+ n_rays_height = 2.0
109
+ ray_length = 2.0
110
+ cone_width = 0.0
111
+ cone_height = 182.56
112
+
113
+ [node name="@RayCast3D@60442" type="RayCast3D" parent="Sensors/FloorSensor"]
114
+ target_position = Vector3(0, -1.42992, 1.39833)
115
+
116
+ [node name="@RayCast3D@60443" type="RayCast3D" parent="Sensors/FloorSensor"]
117
+ target_position = Vector3(0, 1.42992, 1.39833)
118
+
119
+ [node name="AIController3D" type="Node3D" parent="."]
120
+ script = ExtResource("4_f5vwx")
121
+
122
+ [node name="JumpSensor" type="RayCast3D" parent="."]
123
+ target_position = Vector3(0, -0.34, 0)
124
+ hit_back_faces = false
125
+
126
+ [node name="GPUParticles3D" type="GPUParticles3D" parent="."]
127
+ transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 0, -0.0624974, 0)
128
+ amount = 128
129
+ lifetime = 3.0
130
+ process_material = SubResource("ParticleProcessMaterial_imhhe")
131
+ draw_pass_1 = SubResource("QuadMesh_aiaq2")
scenes/testing_scenes/ai_vs_ai.tscn ADDED
@@ -0,0 +1,55 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ [gd_scene load_steps=9 format=3 uid="uid://gouk55fdvkhe"]
2
+
3
+ [ext_resource type="PackedScene" uid="uid://dacey0tgdvp5k" path="res://scenes/ui/ui.tscn" id="1_f286a"]
4
+ [ext_resource type="PackedScene" uid="uid://2x5filmso32a" path="res://scenes/game_scene/game_scene.tscn" id="1_qjmmd"]
5
+ [ext_resource type="Script" path="res://addons/godot_rl_agents/sync.gd" id="2_bbtpr"]
6
+ [ext_resource type="Texture2D" uid="uid://sub808a7bcjm" path="res://textures/sky.exr" id="4_bdeqy"]
7
+ [ext_resource type="Shader" uid="uid://cqqclvnx22nd1" path="res://shaders/sky_shader.tres" id="4_jrt8d"]
8
+
9
+ [sub_resource type="ShaderMaterial" id="ShaderMaterial_kpn2t"]
10
+ shader = ExtResource("4_jrt8d")
11
+ shader_parameter/cloud_rotation_speed = 0.001
12
+ shader_parameter/source_panorama = ExtResource("4_bdeqy")
13
+
14
+ [sub_resource type="Sky" id="Sky_a1n77"]
15
+ sky_material = SubResource("ShaderMaterial_kpn2t")
16
+
17
+ [sub_resource type="Environment" id="Environment_38ijg"]
18
+ background_mode = 2
19
+ sky = SubResource("Sky_a1n77")
20
+ ambient_light_color = Color(0.266667, 0.266667, 0.266667, 1)
21
+ ambient_light_sky_contribution = 0.9
22
+ ambient_light_energy = 6.14
23
+ tonemap_mode = 2
24
+ tonemap_white = 0.8
25
+ glow_enabled = true
26
+
27
+ [node name="AiVsAIInference" type="Node3D"]
28
+
29
+ [node name="UI" parent="." node_paths=PackedStringArray("left_score_robot", "right_score_robot") instance=ExtResource("1_f286a")]
30
+ left_score_robot = NodePath("../GameScene/Robot")
31
+ right_score_robot = NodePath("../GameScene/Robot2")
32
+
33
+ [node name="GameScene" parent="." node_paths=PackedStringArray("ui") instance=ExtResource("1_qjmmd")]
34
+ training_mode = false
35
+ infinite_game = false
36
+ victory_at_score = 3
37
+ ui = NodePath("../UI")
38
+
39
+ [node name="Sync" type="Node" parent="."]
40
+ script = ExtResource("2_bbtpr")
41
+ control_mode = 2
42
+ onnx_model_path = "onnx/volleyball.onnx"
43
+
44
+ [node name="Camera3D" type="Camera3D" parent="."]
45
+ transform = Transform3D(1, 0, 0, 0, 0.979926, 0.199368, 0, -0.199368, 0.979926, 0, 2.83, 4.948)
46
+ fov = 53.3
47
+ size = 6.0
48
+
49
+ [node name="DirectionalLight3D" type="DirectionalLight3D" parent="."]
50
+ transform = Transform3D(1, 0, 0, 0, 0.469472, 0.882948, 0, -0.882948, 0.469472, 0, 0, 0)
51
+ shadow_enabled = true
52
+ shadow_blur = 3.446
53
+
54
+ [node name="WorldEnvironment" type="WorldEnvironment" parent="."]
55
+ environment = SubResource("Environment_38ijg")
scenes/testing_scenes/human_vs_ai.tscn ADDED
@@ -0,0 +1,454 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ [gd_scene load_steps=32 format=3 uid="uid://dovly4f5od4jb"]
2
+
3
+ [ext_resource type="PackedScene" uid="uid://2x5filmso32a" path="res://scenes/game_scene/game_scene.tscn" id="1_wdhtf"]
4
+ [ext_resource type="Script" path="res://addons/godot_rl_agents/sync.gd" id="2_emffh"]
5
+ [ext_resource type="PackedScene" uid="uid://dacey0tgdvp5k" path="res://scenes/ui/ui.tscn" id="3_udi5o"]
6
+ [ext_resource type="Shader" uid="uid://cqqclvnx22nd1" path="res://shaders/sky_shader.tres" id="4_u6ijw"]
7
+ [ext_resource type="Texture2D" uid="uid://sub808a7bcjm" path="res://textures/sky.exr" id="5_e1e13"]
8
+
9
+ [sub_resource type="StandardMaterial3D" id="StandardMaterial3D_jbi3e"]
10
+ resource_name = "Material_0"
11
+ albedo_color = Color(0, 0.501961, 0.00784314, 1)
12
+ roughness = 0.9
13
+
14
+ [sub_resource type="ArrayMesh" id="ArrayMesh_jik8h"]
15
+ _surfaces = [{
16
+ "aabb": AABB(-0.734406, 1.18518, -0.706856, 1.48594, 1.42564, 1.35576),
17
+ "format": 34896613377,
18
+ "index_count": 60,
19
+ "index_data": PackedByteArray(0, 0, 2, 0, 1, 0, 1, 0, 5, 0, 0, 0, 0, 0, 3, 0, 2, 0, 0, 0, 4, 0, 3, 0, 0, 0, 5, 0, 4, 0, 1, 0, 10, 0, 5, 0, 2, 0, 6, 0, 1, 0, 3, 0, 7, 0, 2, 0, 4, 0, 8, 0, 3, 0, 5, 0, 9, 0, 4, 0, 1, 0, 6, 0, 10, 0, 2, 0, 7, 0, 6, 0, 3, 0, 8, 0, 7, 0, 4, 0, 9, 0, 8, 0, 5, 0, 10, 0, 9, 0, 6, 0, 11, 0, 10, 0, 7, 0, 11, 0, 6, 0, 8, 0, 11, 0, 7, 0, 9, 0, 11, 0, 8, 0, 10, 0, 11, 0, 9, 0),
20
+ "name": "Material_0",
21
+ "primitive": 3,
22
+ "uv_scale": Vector4(0, 0, 0, 0),
23
+ "vertex_count": 12,
24
+ "vertex_data": PackedByteArray(15, 128, 0, 0, 195, 149, 0, 0, 171, 218, 75, 47, 214, 222, 0, 0, 1, 90, 104, 62, 255, 255, 0, 0, 0, 0, 181, 82, 29, 131, 0, 0, 40, 72, 193, 72, 190, 28, 0, 0, 69, 229, 218, 54, 145, 63, 0, 0, 255, 148, 119, 197, 148, 249, 0, 0, 55, 26, 167, 188, 201, 204, 0, 0, 85, 7, 5, 183, 130, 43, 0, 0, 123, 155, 216, 187, 0, 0, 0, 0, 255, 255, 63, 202, 138, 143, 0, 0, 199, 112, 255, 255, 187, 134, 0, 0)
25
+ }]
26
+ blend_shape_mode = 0
27
+
28
+ [sub_resource type="ArrayMesh" id="ArrayMesh_qinsc"]
29
+ resource_name = "static_decorations_Icosphere"
30
+ _surfaces = [{
31
+ "aabb": AABB(-0.734406, 1.18518, -0.706856, 1.48594, 1.42564, 1.35576),
32
+ "attribute_data": PackedByteArray(185, 232, 255, 255, 45, 186, 255, 255, 162, 139, 255, 255, 139, 46, 255, 255, 22, 93, 255, 255, 209, 69, 175, 215, 209, 69, 175, 215, 209, 69, 175, 215, 209, 69, 175, 215, 209, 69, 175, 215, 255, 255, 175, 215, 255, 255, 175, 215, 69, 23, 175, 215, 69, 23, 175, 215, 69, 23, 175, 215, 115, 209, 175, 215, 115, 209, 175, 215, 115, 209, 175, 215, 115, 209, 175, 215, 115, 209, 175, 215, 232, 162, 175, 215, 232, 162, 175, 215, 232, 162, 175, 215, 232, 162, 175, 215, 232, 162, 175, 215, 92, 116, 175, 215, 92, 116, 175, 215, 92, 116, 175, 215, 92, 116, 175, 215, 92, 116, 175, 215, 139, 46, 96, 175, 139, 46, 96, 175, 139, 46, 96, 175, 139, 46, 96, 175, 139, 46, 96, 175, 185, 232, 96, 175, 185, 232, 96, 175, 185, 232, 96, 175, 0, 0, 96, 175, 0, 0, 96, 175, 45, 186, 96, 175, 45, 186, 96, 175, 45, 186, 96, 175, 45, 186, 96, 175, 45, 186, 96, 175, 162, 139, 96, 175, 162, 139, 96, 175, 162, 139, 96, 175, 162, 139, 96, 175, 162, 139, 96, 175, 22, 93, 96, 175, 22, 93, 96, 175, 22, 93, 96, 175, 22, 93, 96, 175, 22, 93, 96, 175, 115, 209, 17, 135, 69, 23, 17, 135, 232, 162, 17, 135, 209, 69, 17, 135, 92, 116, 17, 135),
33
+ "format": 34896613399,
34
+ "index_count": 60,
35
+ "index_data": PackedByteArray(3, 0, 13, 0, 5, 0, 7, 0, 27, 0, 4, 0, 0, 0, 18, 0, 11, 0, 1, 0, 21, 0, 19, 0, 2, 0, 25, 0, 23, 0, 9, 0, 54, 0, 29, 0, 14, 0, 32, 0, 6, 0, 16, 0, 36, 0, 10, 0, 20, 0, 41, 0, 17, 0, 26, 0, 47, 0, 24, 0, 8, 0, 34, 0, 52, 0, 12, 0, 38, 0, 30, 0, 15, 0, 40, 0, 35, 0, 22, 0, 45, 0, 43, 0, 28, 0, 53, 0, 49, 0, 33, 0, 58, 0, 50, 0, 39, 0, 56, 0, 31, 0, 42, 0, 55, 0, 37, 0, 46, 0, 57, 0, 44, 0, 51, 0, 59, 0, 48, 0),
36
+ "material": SubResource("StandardMaterial3D_jbi3e"),
37
+ "name": "Material_0",
38
+ "primitive": 3,
39
+ "uv_scale": Vector4(0, 0, 0, 0),
40
+ "vertex_count": 60,
41
+ "vertex_data": PackedByteArray(15, 128, 0, 0, 195, 149, 252, 181, 15, 128, 0, 0, 195, 149, 2, 222, 15, 128, 0, 0, 195, 149, 253, 250, 15, 128, 0, 0, 195, 149, 18, 170, 15, 128, 0, 0, 195, 149, 3, 202, 171, 218, 75, 47, 214, 222, 18, 170, 171, 218, 75, 47, 214, 222, 140, 138, 171, 218, 75, 47, 214, 222, 3, 202, 171, 218, 75, 47, 214, 222, 212, 158, 171, 218, 75, 47, 214, 222, 201, 189, 1, 90, 104, 62, 255, 255, 93, 166, 1, 90, 104, 62, 255, 255, 252, 181, 1, 90, 104, 62, 255, 255, 161, 143, 1, 90, 104, 62, 255, 255, 18, 170, 1, 90, 104, 62, 255, 255, 140, 138, 0, 0, 181, 82, 29, 131, 74, 187, 0, 0, 181, 82, 29, 131, 93, 166, 0, 0, 181, 82, 29, 131, 250, 218, 0, 0, 181, 82, 29, 131, 252, 181, 0, 0, 181, 82, 29, 131, 2, 222, 40, 72, 193, 72, 190, 28, 250, 218, 40, 72, 193, 72, 190, 28, 2, 222, 40, 72, 193, 72, 190, 28, 90, 245, 40, 72, 193, 72, 190, 28, 253, 250, 40, 72, 193, 72, 190, 28, 189, 248, 69, 229, 218, 54, 145, 63, 253, 250, 69, 229, 218, 54, 145, 63, 189, 248, 69, 229, 218, 54, 145, 63, 3, 202, 69, 229, 218, 54, 145, 63, 35, 219, 69, 229, 218, 54, 145, 63, 201, 189, 255, 148, 119, 197, 148, 249, 161, 143, 255, 148, 119, 197, 148, 249, 232, 169, 255, 148, 119, 197, 148, 249, 140, 138, 255, 148, 119, 197, 148, 249, 239, 179, 255, 148, 119, 197, 148, 249, 212, 158, 55, 26, 167, 188, 201, 204, 74, 187, 55, 26, 167, 188, 201, 204, 93, 166, 55, 26, 167, 188, 201, 204, 35, 197, 55, 26, 167, 188, 201, 204, 161, 143, 55, 26, 167, 188, 201, 204, 232, 169, 85, 7, 5, 183, 130, 43, 74, 187, 85, 7, 5, 183, 130, 43, 250, 218, 85, 7, 5, 183, 130, 43, 35, 197, 85, 7, 5, 183, 130, 43, 90, 245, 85, 7, 5, 183, 130, 43, 19, 246, 123, 155, 216, 187, 0, 0, 90, 245, 123, 155, 216, 187, 0, 0, 19, 246, 123, 155, 216, 187, 0, 0, 189, 248, 123, 155, 216, 187, 0, 0, 236, 225, 123, 155, 216, 187, 0, 0, 35, 219, 255, 255, 63, 202, 138, 143, 239, 179, 255, 255, 63, 202, 138, 143, 236, 225, 255, 255, 63, 202, 138, 143, 212, 158, 255, 255, 63, 202, 138, 143, 35, 219, 255, 255, 63, 202, 138, 143, 201, 189, 199, 112, 255, 255, 187, 134, 35, 197, 199, 112, 255, 255, 187, 134, 232, 169, 199, 112, 255, 255, 187, 134, 19, 246, 199, 112, 255, 255, 187, 134, 239, 179, 199, 112, 255, 255, 187, 134, 236, 225, 196, 53, 58, 200, 133, 71, 211, 239, 156, 119, 147, 50, 181, 34, 128, 113, 172, 89, 41, 71, 181, 34, 128, 113, 57, 113, 225, 52, 172, 89, 41, 71, 245, 162, 11, 22, 43, 113, 105, 23, 120, 102, 81, 226, 196, 53, 58, 200, 68, 181, 129, 210, 181, 34, 128, 113, 57, 113, 225, 52, 175, 140, 27, 236, 120, 102, 81, 226, 172, 99, 7, 250, 196, 53, 58, 200, 133, 71, 211, 239, 172, 99, 7, 250, 133, 71, 211, 239, 237, 123, 215, 253, 156, 119, 147, 50, 176, 120, 173, 24, 156, 119, 147, 50, 176, 120, 173, 24, 172, 89, 41, 71, 144, 144, 87, 9, 43, 113, 105, 23, 68, 181, 129, 210, 29, 217, 12, 158, 57, 113, 225, 52, 101, 216, 110, 62, 245, 162, 11, 22, 175, 140, 27, 236, 120, 102, 81, 226, 183, 164, 49, 189, 68, 181, 129, 210, 29, 217, 12, 158, 175, 140, 27, 236, 172, 99, 7, 250, 183, 164, 49, 189, 237, 123, 215, 253, 149, 132, 82, 207, 237, 123, 215, 253, 149, 132, 82, 207, 176, 120, 173, 24, 136, 188, 79, 22, 144, 144, 87, 9, 101, 216, 110, 62, 136, 188, 79, 22, 245, 162, 11, 22, 144, 144, 87, 9, 43, 113, 105, 23, 183, 164, 49, 189, 29, 217, 12, 158, 149, 132, 82, 207, 101, 216, 110, 62, 136, 188, 79, 22)
42
+ }]
43
+ blend_shape_mode = 0
44
+ shadow_mesh = SubResource("ArrayMesh_jik8h")
45
+
46
+ [sub_resource type="StandardMaterial3D" id="StandardMaterial3D_tntfc"]
47
+ resource_name = "Wood"
48
+ cull_mode = 2
49
+ albedo_color = Color(0.701008, 0.356079, 0, 1)
50
+ roughness = 0.5
51
+
52
+ [sub_resource type="ArrayMesh" id="ArrayMesh_5o3ys"]
53
+ _surfaces = [{
54
+ "aabb": AABB(-1.32336, -1.02297, -1.39197, 2.70016, 7.73788, 2.58575),
55
+ "format": 34896613377,
56
+ "index_count": 60,
57
+ "index_data": PackedByteArray(10, 0, 3, 0, 1, 0, 10, 0, 11, 0, 3, 0, 11, 0, 5, 0, 3, 0, 11, 0, 12, 0, 5, 0, 12, 0, 7, 0, 5, 0, 12, 0, 13, 0, 7, 0, 13, 0, 9, 0, 7, 0, 13, 0, 14, 0, 9, 0, 14, 0, 1, 0, 9, 0, 14, 0, 10, 0, 1, 0, 8, 0, 10, 0, 14, 0, 8, 0, 0, 0, 10, 0, 6, 0, 14, 0, 13, 0, 6, 0, 8, 0, 14, 0, 4, 0, 13, 0, 12, 0, 4, 0, 6, 0, 13, 0, 2, 0, 12, 0, 11, 0, 2, 0, 4, 0, 12, 0, 0, 0, 11, 0, 10, 0, 0, 0, 2, 0, 11, 0),
58
+ "name": "Wood",
59
+ "primitive": 3,
60
+ "uv_scale": Vector4(0, 0, 0, 0),
61
+ "vertex_count": 15,
62
+ "vertex_data": PackedByteArray(55, 120, 31, 1, 0, 0, 0, 0, 18, 130, 185, 254, 14, 7, 0, 0, 107, 239, 103, 0, 22, 99, 0, 0, 201, 254, 255, 255, 207, 90, 0, 0, 199, 207, 0, 0, 255, 255, 0, 0, 42, 189, 54, 255, 229, 239, 0, 0, 109, 47, 145, 3, 107, 241, 0, 0, 254, 39, 29, 255, 120, 247, 0, 0, 53, 2, 0, 2, 78, 90, 0, 0, 2, 10, 121, 254, 175, 99, 0, 0, 103, 125, 112, 127, 62, 7, 0, 0, 255, 255, 229, 127, 134, 94, 0, 0, 59, 196, 50, 127, 169, 242, 0, 0, 185, 42, 131, 127, 112, 237, 0, 0, 0, 0, 118, 127, 3, 91, 0, 0)
63
+ }]
64
+ blend_shape_mode = 0
65
+
66
+ [sub_resource type="ArrayMesh" id="ArrayMesh_8wst3"]
67
+ resource_name = "static_decorations_Cylinder"
68
+ _surfaces = [{
69
+ "aabb": AABB(-1.32336, -1.02297, -1.39197, 2.70016, 7.73788, 2.58575),
70
+ "attribute_data": PackedByteArray(0, 0, 255, 255, 255, 255, 255, 255, 0, 0, 0, 0, 255, 255, 0, 0, 204, 204, 255, 255, 204, 204, 255, 255, 204, 204, 0, 0, 204, 204, 0, 0, 153, 153, 255, 255, 153, 153, 255, 255, 153, 153, 0, 0, 153, 153, 0, 0, 102, 102, 255, 255, 102, 102, 255, 255, 102, 102, 0, 0, 102, 102, 0, 0, 51, 51, 255, 255, 51, 51, 255, 255, 51, 51, 0, 0, 51, 51, 0, 0, 0, 0, 255, 127, 0, 0, 255, 127, 255, 255, 255, 127, 255, 255, 255, 127, 203, 204, 255, 127, 203, 204, 255, 127, 203, 204, 255, 127, 203, 204, 255, 127, 152, 153, 255, 127, 152, 153, 255, 127, 152, 153, 255, 127, 152, 153, 255, 127, 102, 102, 255, 127, 102, 102, 255, 127, 102, 102, 255, 127, 102, 102, 255, 127, 51, 51, 255, 127, 51, 51, 255, 127, 51, 51, 255, 127, 51, 51, 255, 127),
71
+ "format": 34896613399,
72
+ "index_count": 60,
73
+ "index_data": PackedByteArray(22, 0, 6, 0, 3, 0, 22, 0, 24, 0, 6, 0, 26, 0, 11, 0, 7, 0, 26, 0, 30, 0, 11, 0, 29, 0, 15, 0, 10, 0, 29, 0, 35, 0, 15, 0, 32, 0, 18, 0, 14, 0, 32, 0, 36, 0, 18, 0, 38, 0, 2, 0, 19, 0, 38, 0, 20, 0, 2, 0, 17, 0, 21, 0, 39, 0, 17, 0, 0, 0, 21, 0, 12, 0, 37, 0, 33, 0, 12, 0, 16, 0, 37, 0, 8, 0, 34, 0, 28, 0, 8, 0, 13, 0, 34, 0, 5, 0, 31, 0, 27, 0, 5, 0, 9, 0, 31, 0, 1, 0, 25, 0, 23, 0, 1, 0, 4, 0, 25, 0),
74
+ "material": SubResource("StandardMaterial3D_tntfc"),
75
+ "name": "Wood",
76
+ "primitive": 3,
77
+ "uv_scale": Vector4(0, 0, 0, 0),
78
+ "vertex_count": 40,
79
+ "vertex_data": PackedByteArray(55, 120, 31, 1, 0, 0, 136, 231, 55, 120, 31, 1, 0, 0, 184, 230, 18, 130, 185, 254, 14, 7, 112, 231, 18, 130, 185, 254, 14, 7, 194, 232, 107, 239, 103, 0, 22, 99, 184, 230, 107, 239, 103, 0, 22, 99, 164, 179, 201, 254, 255, 255, 207, 90, 193, 232, 201, 254, 255, 255, 207, 90, 23, 175, 199, 207, 0, 0, 255, 255, 175, 131, 199, 207, 0, 0, 255, 255, 164, 179, 42, 189, 54, 255, 229, 239, 125, 128, 42, 189, 54, 255, 229, 239, 23, 175, 109, 47, 145, 3, 107, 241, 208, 179, 109, 47, 145, 3, 107, 241, 73, 131, 254, 39, 29, 255, 120, 247, 181, 181, 254, 39, 29, 255, 120, 247, 124, 128, 53, 2, 0, 2, 78, 90, 206, 179, 53, 2, 0, 2, 78, 90, 136, 231, 2, 10, 121, 254, 175, 99, 181, 181, 2, 10, 121, 254, 175, 99, 112, 231, 103, 125, 112, 127, 62, 7, 112, 231, 103, 125, 112, 127, 62, 7, 136, 231, 103, 125, 112, 127, 62, 7, 193, 232, 103, 125, 112, 127, 62, 7, 185, 230, 255, 255, 229, 127, 134, 94, 193, 232, 255, 255, 229, 127, 134, 94, 185, 230, 255, 255, 229, 127, 134, 94, 23, 175, 255, 255, 229, 127, 134, 94, 165, 179, 59, 196, 50, 127, 169, 242, 185, 130, 59, 196, 50, 127, 169, 242, 130, 128, 59, 196, 50, 127, 169, 242, 23, 175, 59, 196, 50, 127, 169, 242, 164, 179, 185, 42, 131, 127, 112, 237, 181, 181, 185, 42, 131, 127, 112, 237, 204, 179, 185, 42, 131, 127, 112, 237, 151, 130, 185, 42, 131, 127, 112, 237, 137, 128, 0, 0, 118, 127, 3, 91, 181, 181, 0, 0, 118, 127, 3, 91, 203, 179, 0, 0, 118, 127, 3, 91, 112, 231, 0, 0, 118, 127, 3, 91, 137, 231, 83, 129, 81, 254, 206, 126, 209, 1, 37, 128, 119, 254, 106, 129, 76, 2, 46, 127, 144, 1, 169, 126, 136, 0, 40, 129, 247, 1, 164, 130, 111, 0, 108, 145, 83, 181, 220, 126, 115, 0, 213, 51, 209, 65, 163, 130, 114, 0, 34, 132, 212, 254, 198, 147, 13, 187, 119, 129, 24, 255, 173, 57, 131, 72, 29, 131, 68, 255, 13, 129, 129, 254, 221, 129, 236, 254, 52, 128, 108, 254, 83, 128, 87, 254, 125, 128, 227, 254, 168, 128, 81, 1, 234, 127, 18, 1, 104, 128, 255, 0, 72, 128, 100, 1, 159, 130, 121, 0, 17, 126, 201, 0, 53, 154, 187, 202, 183, 69, 216, 81, 157, 130, 124, 0, 68, 126, 179, 0, 92, 128, 129, 255, 162, 126, 215, 255, 139, 159, 185, 215, 75, 74, 101, 85, 161, 128, 117, 255, 203, 126, 98, 255, 98, 128, 77, 254, 55, 128, 20, 255)
80
+ }]
81
+ blend_shape_mode = 0
82
+ shadow_mesh = SubResource("ArrayMesh_5o3ys")
83
+
84
+ [sub_resource type="ArrayMesh" id="ArrayMesh_qe4sj"]
85
+ _surfaces = [{
86
+ "aabb": AABB(-0.650625, 1.38642, -0.707565, 1.40335, 1.59104, 1.41326),
87
+ "format": 34896613377,
88
+ "index_count": 60,
89
+ "index_data": PackedByteArray(0, 0, 2, 0, 1, 0, 1, 0, 5, 0, 0, 0, 0, 0, 3, 0, 2, 0, 0, 0, 4, 0, 3, 0, 0, 0, 5, 0, 4, 0, 1, 0, 10, 0, 5, 0, 2, 0, 6, 0, 1, 0, 3, 0, 7, 0, 2, 0, 4, 0, 8, 0, 3, 0, 5, 0, 9, 0, 4, 0, 1, 0, 6, 0, 10, 0, 2, 0, 7, 0, 6, 0, 3, 0, 8, 0, 7, 0, 4, 0, 9, 0, 8, 0, 5, 0, 10, 0, 9, 0, 6, 0, 11, 0, 10, 0, 7, 0, 11, 0, 6, 0, 8, 0, 11, 0, 7, 0, 9, 0, 11, 0, 8, 0, 10, 0, 11, 0, 9, 0),
90
+ "name": "Material_0",
91
+ "primitive": 3,
92
+ "uv_scale": Vector4(0, 0, 0, 0),
93
+ "vertex_count": 12,
94
+ "vertex_data": PackedByteArray(6, 116, 0, 0, 40, 126, 0, 0, 164, 229, 91, 72, 228, 208, 0, 0, 67, 74, 179, 73, 255, 255, 0, 0, 0, 0, 215, 78, 232, 122, 0, 0, 225, 79, 156, 81, 189, 10, 0, 0, 100, 213, 126, 81, 164, 49, 0, 0, 190, 151, 202, 196, 46, 241, 0, 0, 76, 0, 248, 190, 230, 203, 0, 0, 67, 11, 58, 198, 58, 44, 0, 0, 67, 163, 58, 196, 0, 0, 0, 0, 255, 255, 135, 199, 234, 131, 0, 0, 79, 120, 255, 255, 207, 123, 0, 0)
95
+ }]
96
+ blend_shape_mode = 0
97
+
98
+ [sub_resource type="ArrayMesh" id="ArrayMesh_arqs5"]
99
+ resource_name = "static_decorations_Icosphere_002"
100
+ _surfaces = [{
101
+ "aabb": AABB(-0.650625, 1.38642, -0.707565, 1.40335, 1.59104, 1.41326),
102
+ "attribute_data": PackedByteArray(185, 232, 255, 255, 45, 186, 255, 255, 139, 46, 255, 255, 162, 139, 255, 255, 22, 93, 255, 255, 209, 69, 175, 215, 209, 69, 175, 215, 209, 69, 175, 215, 209, 69, 175, 215, 209, 69, 175, 215, 255, 255, 175, 215, 255, 255, 175, 215, 69, 23, 175, 215, 69, 23, 175, 215, 69, 23, 175, 215, 115, 209, 175, 215, 115, 209, 175, 215, 115, 209, 175, 215, 115, 209, 175, 215, 115, 209, 175, 215, 232, 162, 175, 215, 232, 162, 175, 215, 232, 162, 175, 215, 232, 162, 175, 215, 232, 162, 175, 215, 92, 116, 175, 215, 92, 116, 175, 215, 92, 116, 175, 215, 92, 116, 175, 215, 92, 116, 175, 215, 139, 46, 96, 175, 139, 46, 96, 175, 139, 46, 96, 175, 139, 46, 96, 175, 139, 46, 96, 175, 185, 232, 96, 175, 185, 232, 96, 175, 185, 232, 96, 175, 0, 0, 96, 175, 0, 0, 96, 175, 45, 186, 96, 175, 45, 186, 96, 175, 45, 186, 96, 175, 45, 186, 96, 175, 45, 186, 96, 175, 162, 139, 96, 175, 162, 139, 96, 175, 162, 139, 96, 175, 162, 139, 96, 175, 162, 139, 96, 175, 22, 93, 96, 175, 22, 93, 96, 175, 22, 93, 96, 175, 22, 93, 96, 175, 22, 93, 96, 175, 115, 209, 17, 135, 69, 23, 17, 135, 232, 162, 17, 135, 209, 69, 17, 135, 92, 116, 17, 135),
103
+ "format": 34896613399,
104
+ "index_count": 60,
105
+ "index_data": PackedByteArray(2, 0, 13, 0, 5, 0, 7, 0, 27, 0, 4, 0, 0, 0, 18, 0, 11, 0, 1, 0, 21, 0, 19, 0, 3, 0, 25, 0, 23, 0, 9, 0, 54, 0, 29, 0, 14, 0, 32, 0, 6, 0, 16, 0, 36, 0, 10, 0, 20, 0, 41, 0, 17, 0, 26, 0, 47, 0, 24, 0, 8, 0, 34, 0, 52, 0, 12, 0, 38, 0, 30, 0, 15, 0, 40, 0, 35, 0, 22, 0, 45, 0, 43, 0, 28, 0, 53, 0, 49, 0, 33, 0, 58, 0, 50, 0, 39, 0, 56, 0, 31, 0, 42, 0, 55, 0, 37, 0, 46, 0, 57, 0, 44, 0, 51, 0, 59, 0, 48, 0),
106
+ "material": SubResource("StandardMaterial3D_jbi3e"),
107
+ "name": "Material_0",
108
+ "primitive": 3,
109
+ "uv_scale": Vector4(0, 0, 0, 0),
110
+ "vertex_count": 60,
111
+ "vertex_data": PackedByteArray(6, 116, 0, 0, 40, 126, 20, 183, 6, 116, 0, 0, 40, 126, 221, 220, 6, 116, 0, 0, 40, 126, 224, 167, 6, 116, 0, 0, 40, 126, 96, 245, 6, 116, 0, 0, 40, 126, 210, 203, 164, 229, 91, 72, 228, 208, 224, 167, 164, 229, 91, 72, 228, 208, 77, 140, 164, 229, 91, 72, 228, 208, 210, 203, 164, 229, 91, 72, 228, 208, 76, 162, 164, 229, 91, 72, 228, 208, 252, 196, 67, 74, 179, 73, 255, 255, 23, 173, 67, 74, 179, 73, 255, 255, 20, 183, 67, 74, 179, 73, 255, 255, 25, 142, 67, 74, 179, 73, 255, 255, 224, 167, 67, 74, 179, 73, 255, 255, 77, 140, 0, 0, 215, 78, 232, 122, 196, 194, 0, 0, 215, 78, 232, 122, 23, 173, 0, 0, 215, 78, 232, 122, 147, 217, 0, 0, 215, 78, 232, 122, 20, 183, 0, 0, 215, 78, 232, 122, 221, 220, 225, 79, 156, 81, 189, 10, 147, 217, 225, 79, 156, 81, 189, 10, 221, 220, 225, 79, 156, 81, 189, 10, 109, 244, 225, 79, 156, 81, 189, 10, 96, 245, 225, 79, 156, 81, 189, 10, 119, 244, 100, 213, 126, 81, 164, 49, 96, 245, 100, 213, 126, 81, 164, 49, 119, 244, 100, 213, 126, 81, 164, 49, 210, 203, 100, 213, 126, 81, 164, 49, 235, 216, 100, 213, 126, 81, 164, 49, 252, 196, 190, 151, 202, 196, 46, 241, 25, 142, 190, 151, 202, 196, 46, 241, 222, 169, 190, 151, 202, 196, 46, 241, 77, 140, 190, 151, 202, 196, 46, 241, 139, 179, 190, 151, 202, 196, 46, 241, 76, 162, 76, 0, 248, 190, 230, 203, 196, 194, 76, 0, 248, 190, 230, 203, 23, 173, 76, 0, 248, 190, 230, 203, 49, 203, 76, 0, 248, 190, 230, 203, 25, 142, 76, 0, 248, 190, 230, 203, 222, 169, 67, 11, 58, 198, 58, 44, 196, 194, 67, 11, 58, 198, 58, 44, 147, 217, 67, 11, 58, 198, 58, 44, 49, 203, 67, 11, 58, 198, 58, 44, 109, 244, 67, 11, 58, 198, 58, 44, 36, 246, 67, 163, 58, 196, 0, 0, 109, 244, 67, 163, 58, 196, 0, 0, 36, 246, 67, 163, 58, 196, 0, 0, 119, 244, 67, 163, 58, 196, 0, 0, 143, 222, 67, 163, 58, 196, 0, 0, 235, 216, 255, 255, 135, 199, 234, 131, 139, 179, 255, 255, 135, 199, 234, 131, 143, 222, 255, 255, 135, 199, 234, 131, 76, 162, 255, 255, 135, 199, 234, 131, 235, 216, 255, 255, 135, 199, 234, 131, 252, 196, 79, 120, 255, 255, 207, 123, 49, 203, 79, 120, 255, 255, 207, 123, 222, 169, 79, 120, 255, 255, 207, 123, 36, 246, 79, 120, 255, 255, 207, 123, 139, 179, 79, 120, 255, 255, 207, 123, 143, 222, 71, 58, 141, 210, 26, 77, 232, 237, 170, 39, 89, 102, 144, 122, 245, 42, 134, 97, 218, 59, 170, 39, 89, 102, 32, 108, 28, 26, 134, 97, 218, 59, 14, 165, 29, 24, 100, 113, 22, 24, 120, 92, 31, 231, 71, 58, 141, 210, 12, 193, 61, 194, 170, 39, 89, 102, 32, 108, 28, 26, 109, 127, 205, 249, 120, 92, 31, 231, 223, 105, 114, 247, 71, 58, 141, 210, 26, 77, 232, 237, 223, 105, 114, 247, 26, 77, 232, 237, 184, 129, 104, 248, 144, 122, 245, 42, 228, 125, 100, 16, 144, 122, 245, 42, 228, 125, 100, 16, 134, 97, 218, 59, 52, 137, 77, 4, 100, 113, 22, 24, 12, 193, 61, 194, 105, 224, 153, 151, 32, 108, 28, 26, 102, 211, 109, 57, 14, 165, 29, 24, 109, 127, 205, 249, 120, 92, 31, 231, 232, 158, 215, 188, 12, 193, 61, 194, 105, 224, 153, 151, 109, 127, 205, 249, 223, 105, 114, 247, 232, 158, 215, 188, 184, 129, 104, 248, 199, 134, 237, 205, 184, 129, 104, 248, 199, 134, 237, 205, 228, 125, 100, 16, 211, 186, 212, 20, 52, 137, 77, 4, 102, 211, 109, 57, 211, 186, 212, 20, 14, 165, 29, 24, 52, 137, 77, 4, 100, 113, 22, 24, 232, 158, 215, 188, 105, 224, 153, 151, 199, 134, 237, 205, 102, 211, 109, 57, 211, 186, 212, 20)
112
+ }]
113
+ blend_shape_mode = 0
114
+ shadow_mesh = SubResource("ArrayMesh_qe4sj")
115
+
116
+ [sub_resource type="ArrayMesh" id="ArrayMesh_sprv5"]
117
+ _surfaces = [{
118
+ "aabb": AABB(-1.5533, -1.05375, -1.58476, 3.1426, 7.81174, 2.84883),
119
+ "format": 34896613377,
120
+ "index_count": 60,
121
+ "index_data": PackedByteArray(10, 0, 3, 0, 1, 0, 10, 0, 11, 0, 3, 0, 11, 0, 5, 0, 3, 0, 11, 0, 12, 0, 5, 0, 12, 0, 7, 0, 5, 0, 12, 0, 13, 0, 7, 0, 13, 0, 9, 0, 7, 0, 13, 0, 14, 0, 9, 0, 14, 0, 1, 0, 9, 0, 14, 0, 10, 0, 1, 0, 8, 0, 10, 0, 14, 0, 8, 0, 0, 0, 10, 0, 6, 0, 14, 0, 13, 0, 6, 0, 8, 0, 14, 0, 4, 0, 13, 0, 12, 0, 4, 0, 6, 0, 13, 0, 2, 0, 12, 0, 11, 0, 2, 0, 4, 0, 12, 0, 0, 0, 11, 0, 10, 0, 0, 0, 2, 0, 11, 0),
122
+ "name": "Wood",
123
+ "primitive": 3,
124
+ "uv_scale": Vector4(0, 0, 0, 0),
125
+ "vertex_count": 15,
126
+ "vertex_data": PackedByteArray(205, 126, 0, 0, 251, 2, 0, 0, 144, 127, 168, 252, 161, 6, 0, 0, 164, 235, 97, 0, 62, 105, 0, 0, 255, 255, 52, 254, 10, 92, 0, 0, 214, 200, 137, 4, 230, 254, 0, 0, 11, 190, 146, 254, 36, 243, 0, 0, 40, 50, 248, 2, 223, 236, 0, 0, 131, 43, 175, 251, 179, 251, 0, 0, 0, 0, 252, 2, 97, 92, 0, 0, 63, 16, 255, 255, 246, 100, 0, 0, 229, 124, 122, 125, 0, 0, 0, 0, 205, 242, 221, 126, 80, 95, 0, 0, 112, 199, 31, 128, 255, 255, 0, 0, 254, 43, 219, 127, 145, 252, 0, 0, 23, 5, 26, 129, 5, 96, 0, 0)
127
+ }]
128
+ blend_shape_mode = 0
129
+
130
+ [sub_resource type="ArrayMesh" id="ArrayMesh_o3gxj"]
131
+ resource_name = "static_decorations_Cylinder_002"
132
+ _surfaces = [{
133
+ "aabb": AABB(-1.5533, -1.05375, -1.58476, 3.1426, 7.81174, 2.84883),
134
+ "attribute_data": PackedByteArray(0, 0, 255, 255, 255, 255, 255, 255, 0, 0, 0, 0, 255, 255, 0, 0, 204, 204, 255, 255, 204, 204, 255, 255, 204, 204, 0, 0, 204, 204, 0, 0, 153, 153, 255, 255, 153, 153, 255, 255, 153, 153, 0, 0, 153, 153, 0, 0, 102, 102, 255, 255, 102, 102, 255, 255, 102, 102, 0, 0, 102, 102, 0, 0, 51, 51, 255, 255, 51, 51, 255, 255, 51, 51, 0, 0, 51, 51, 0, 0, 0, 0, 255, 127, 0, 0, 255, 127, 255, 255, 255, 127, 255, 255, 255, 127, 203, 204, 255, 127, 203, 204, 255, 127, 203, 204, 255, 127, 203, 204, 255, 127, 152, 153, 255, 127, 152, 153, 255, 127, 152, 153, 255, 127, 152, 153, 255, 127, 102, 102, 255, 127, 102, 102, 255, 127, 102, 102, 255, 127, 102, 102, 255, 127, 51, 51, 255, 127, 51, 51, 255, 127, 51, 51, 255, 127, 51, 51, 255, 127),
135
+ "format": 34896613399,
136
+ "index_count": 60,
137
+ "index_data": PackedByteArray(22, 0, 6, 0, 3, 0, 22, 0, 24, 0, 6, 0, 26, 0, 11, 0, 7, 0, 26, 0, 30, 0, 11, 0, 29, 0, 15, 0, 10, 0, 29, 0, 35, 0, 15, 0, 32, 0, 18, 0, 14, 0, 32, 0, 36, 0, 18, 0, 38, 0, 2, 0, 19, 0, 38, 0, 20, 0, 2, 0, 17, 0, 21, 0, 39, 0, 17, 0, 0, 0, 21, 0, 12, 0, 37, 0, 33, 0, 12, 0, 16, 0, 37, 0, 8, 0, 34, 0, 28, 0, 8, 0, 13, 0, 34, 0, 5, 0, 31, 0, 27, 0, 5, 0, 9, 0, 31, 0, 1, 0, 25, 0, 23, 0, 1, 0, 4, 0, 25, 0),
138
+ "material": SubResource("StandardMaterial3D_tntfc"),
139
+ "name": "Wood",
140
+ "primitive": 3,
141
+ "uv_scale": Vector4(0, 0, 0, 0),
142
+ "vertex_count": 40,
143
+ "vertex_data": PackedByteArray(205, 126, 0, 0, 251, 2, 162, 231, 205, 126, 0, 0, 251, 2, 191, 228, 144, 127, 168, 252, 161, 6, 233, 229, 144, 127, 168, 252, 161, 6, 21, 232, 164, 235, 97, 0, 62, 105, 192, 228, 164, 235, 97, 0, 62, 105, 7, 181, 255, 255, 52, 254, 10, 92, 21, 232, 255, 255, 52, 254, 10, 92, 246, 176, 214, 200, 137, 4, 230, 254, 252, 130, 214, 200, 137, 4, 230, 254, 255, 180, 11, 190, 146, 254, 36, 243, 68, 130, 11, 190, 146, 254, 36, 243, 246, 176, 40, 50, 248, 2, 223, 236, 38, 179, 40, 50, 248, 2, 223, 236, 228, 130, 131, 43, 175, 251, 179, 251, 137, 182, 131, 43, 175, 251, 179, 251, 205, 129, 0, 0, 252, 2, 97, 92, 38, 179, 0, 0, 252, 2, 97, 92, 162, 231, 63, 16, 255, 255, 246, 100, 145, 182, 63, 16, 255, 255, 246, 100, 233, 229, 229, 124, 122, 125, 0, 0, 233, 229, 229, 124, 122, 125, 0, 0, 162, 231, 229, 124, 122, 125, 0, 0, 21, 232, 229, 124, 122, 125, 0, 0, 193, 228, 205, 242, 221, 126, 80, 95, 21, 232, 205, 242, 221, 126, 80, 95, 194, 228, 205, 242, 221, 126, 80, 95, 247, 176, 205, 242, 221, 126, 80, 95, 247, 180, 112, 199, 31, 128, 255, 255, 205, 130, 112, 199, 31, 128, 255, 255, 58, 129, 112, 199, 31, 128, 255, 255, 247, 176, 112, 199, 31, 128, 255, 255, 244, 180, 254, 43, 219, 127, 145, 252, 122, 182, 254, 43, 219, 127, 145, 252, 38, 179, 254, 43, 219, 127, 145, 252, 197, 130, 254, 43, 219, 127, 145, 252, 8, 129, 23, 5, 26, 129, 5, 96, 126, 182, 23, 5, 26, 129, 5, 96, 38, 179, 23, 5, 26, 129, 5, 96, 233, 229, 23, 5, 26, 129, 5, 96, 162, 231, 214, 131, 222, 252, 239, 127, 115, 1, 57, 132, 92, 251, 114, 129, 144, 2, 66, 128, 194, 1, 236, 131, 249, 9, 101, 129, 127, 2, 164, 128, 13, 1, 57, 70, 206, 228, 22, 131, 14, 8, 207, 232, 221, 29, 229, 128, 172, 1, 119, 126, 12, 255, 151, 74, 208, 226, 115, 125, 214, 247, 187, 228, 154, 35, 153, 126, 177, 254, 24, 132, 172, 252, 148, 124, 231, 245, 52, 132, 95, 251, 69, 132, 85, 251, 127, 132, 93, 252, 80, 129, 101, 2, 198, 128, 115, 2, 67, 129, 83, 2, 21, 129, 220, 2, 69, 129, 155, 2, 182, 129, 228, 4, 160, 81, 153, 223, 233, 218, 109, 49, 133, 129, 55, 3, 212, 128, 221, 2, 235, 127, 83, 253, 37, 126, 119, 253, 105, 87, 245, 220, 205, 206, 120, 66, 249, 126, 57, 251, 211, 125, 177, 252, 64, 132, 87, 251, 193, 132, 43, 252)
144
+ }]
145
+ blend_shape_mode = 0
146
+ shadow_mesh = SubResource("ArrayMesh_sprv5")
147
+
148
+ [sub_resource type="ArrayMesh" id="ArrayMesh_2ioaq"]
149
+ _surfaces = [{
150
+ "aabb": AABB(-0.698454, 1.45857, -0.655445, 1.44864, 1.52916, 1.36703),
151
+ "format": 34896613377,
152
+ "index_count": 60,
153
+ "index_data": PackedByteArray(0, 0, 2, 0, 1, 0, 1, 0, 5, 0, 0, 0, 0, 0, 3, 0, 2, 0, 0, 0, 4, 0, 3, 0, 0, 0, 5, 0, 4, 0, 1, 0, 10, 0, 5, 0, 2, 0, 6, 0, 1, 0, 3, 0, 7, 0, 2, 0, 4, 0, 8, 0, 3, 0, 5, 0, 9, 0, 4, 0, 1, 0, 6, 0, 10, 0, 2, 0, 7, 0, 6, 0, 3, 0, 8, 0, 7, 0, 4, 0, 9, 0, 8, 0, 5, 0, 10, 0, 9, 0, 6, 0, 11, 0, 10, 0, 7, 0, 11, 0, 6, 0, 8, 0, 11, 0, 7, 0, 9, 0, 11, 0, 8, 0, 10, 0, 11, 0, 9, 0),
154
+ "name": "Material_0",
155
+ "primitive": 3,
156
+ "uv_scale": Vector4(0, 0, 0, 0),
157
+ "vertex_count": 12,
158
+ "vertex_data": PackedByteArray(66, 121, 0, 0, 32, 125, 0, 0, 220, 222, 86, 76, 171, 186, 0, 0, 24, 83, 182, 74, 78, 241, 0, 0, 0, 0, 255, 68, 86, 126, 0, 0, 234, 85, 226, 77, 0, 0, 0, 0, 250, 221, 252, 59, 53, 32, 0, 0, 26, 163, 215, 191, 255, 255, 0, 0, 106, 14, 215, 186, 94, 209, 0, 0, 46, 23, 55, 187, 192, 42, 0, 0, 91, 162, 255, 186, 43, 1, 0, 0, 255, 255, 13, 193, 184, 114, 0, 0, 167, 109, 255, 255, 162, 125, 0, 0)
159
+ }]
160
+ blend_shape_mode = 0
161
+
162
+ [sub_resource type="ArrayMesh" id="ArrayMesh_05428"]
163
+ resource_name = "static_decorations_Icosphere_001"
164
+ _surfaces = [{
165
+ "aabb": AABB(-0.698454, 1.45857, -0.655445, 1.44864, 1.52916, 1.36703),
166
+ "attribute_data": PackedByteArray(45, 186, 255, 255, 185, 232, 255, 255, 162, 139, 255, 255, 139, 46, 255, 255, 22, 93, 255, 255, 209, 69, 175, 215, 209, 69, 175, 215, 209, 69, 175, 215, 209, 69, 175, 215, 209, 69, 175, 215, 255, 255, 175, 215, 255, 255, 175, 215, 69, 23, 175, 215, 69, 23, 175, 215, 69, 23, 175, 215, 115, 209, 175, 215, 115, 209, 175, 215, 115, 209, 175, 215, 115, 209, 175, 215, 115, 209, 175, 215, 232, 162, 175, 215, 232, 162, 175, 215, 232, 162, 175, 215, 232, 162, 175, 215, 232, 162, 175, 215, 92, 116, 175, 215, 92, 116, 175, 215, 92, 116, 175, 215, 92, 116, 175, 215, 92, 116, 175, 215, 139, 46, 96, 175, 139, 46, 96, 175, 139, 46, 96, 175, 139, 46, 96, 175, 139, 46, 96, 175, 185, 232, 96, 175, 185, 232, 96, 175, 185, 232, 96, 175, 0, 0, 96, 175, 0, 0, 96, 175, 45, 186, 96, 175, 45, 186, 96, 175, 45, 186, 96, 175, 45, 186, 96, 175, 45, 186, 96, 175, 162, 139, 96, 175, 162, 139, 96, 175, 162, 139, 96, 175, 162, 139, 96, 175, 162, 139, 96, 175, 22, 93, 96, 175, 22, 93, 96, 175, 22, 93, 96, 175, 22, 93, 96, 175, 22, 93, 96, 175, 115, 209, 17, 135, 69, 23, 17, 135, 232, 162, 17, 135, 92, 116, 17, 135, 209, 69, 17, 135),
167
+ "format": 34896613399,
168
+ "index_count": 60,
169
+ "index_data": PackedByteArray(3, 0, 13, 0, 5, 0, 7, 0, 27, 0, 4, 0, 1, 0, 19, 0, 11, 0, 0, 0, 21, 0, 18, 0, 2, 0, 25, 0, 23, 0, 9, 0, 54, 0, 29, 0, 14, 0, 32, 0, 6, 0, 17, 0, 36, 0, 10, 0, 20, 0, 41, 0, 16, 0, 26, 0, 47, 0, 24, 0, 8, 0, 34, 0, 53, 0, 12, 0, 38, 0, 30, 0, 15, 0, 40, 0, 35, 0, 22, 0, 45, 0, 43, 0, 28, 0, 52, 0, 49, 0, 33, 0, 59, 0, 51, 0, 39, 0, 56, 0, 31, 0, 42, 0, 55, 0, 37, 0, 46, 0, 57, 0, 44, 0, 50, 0, 58, 0, 48, 0),
170
+ "material": SubResource("StandardMaterial3D_jbi3e"),
171
+ "name": "Material_0",
172
+ "primitive": 3,
173
+ "uv_scale": Vector4(0, 0, 0, 0),
174
+ "vertex_count": 60,
175
+ "vertex_data": PackedByteArray(66, 121, 0, 0, 32, 125, 173, 222, 66, 121, 0, 0, 32, 125, 5, 179, 66, 121, 0, 0, 32, 125, 167, 250, 66, 121, 0, 0, 32, 125, 49, 165, 66, 121, 0, 0, 32, 125, 207, 198, 220, 222, 86, 76, 171, 186, 49, 165, 220, 222, 86, 76, 171, 186, 111, 147, 220, 222, 86, 76, 171, 186, 207, 198, 220, 222, 86, 76, 171, 186, 93, 167, 220, 222, 86, 76, 171, 186, 108, 192, 24, 83, 182, 74, 78, 241, 219, 166, 24, 83, 182, 74, 78, 241, 5, 179, 24, 83, 182, 74, 78, 241, 68, 140, 24, 83, 182, 74, 78, 241, 49, 165, 24, 83, 182, 74, 78, 241, 111, 147, 0, 0, 255, 68, 86, 126, 121, 194, 0, 0, 255, 68, 86, 126, 3, 218, 0, 0, 255, 68, 86, 126, 219, 166, 0, 0, 255, 68, 86, 126, 173, 222, 0, 0, 255, 68, 86, 126, 5, 179, 234, 85, 226, 77, 0, 0, 3, 218, 234, 85, 226, 77, 0, 0, 173, 222, 234, 85, 226, 77, 0, 0, 219, 244, 234, 85, 226, 77, 0, 0, 167, 250, 234, 85, 226, 77, 0, 0, 107, 247, 250, 221, 252, 59, 53, 32, 167, 250, 250, 221, 252, 59, 53, 32, 107, 247, 250, 221, 252, 59, 53, 32, 207, 198, 250, 221, 252, 59, 53, 32, 152, 221, 250, 221, 252, 59, 53, 32, 108, 192, 26, 163, 215, 191, 255, 255, 68, 140, 26, 163, 215, 191, 255, 255, 65, 169, 26, 163, 215, 191, 255, 255, 111, 147, 26, 163, 215, 191, 255, 255, 84, 184, 26, 163, 215, 191, 255, 255, 93, 167, 106, 14, 215, 186, 94, 209, 121, 194, 106, 14, 215, 186, 94, 209, 219, 166, 106, 14, 215, 186, 94, 209, 129, 201, 106, 14, 215, 186, 94, 209, 68, 140, 106, 14, 215, 186, 94, 209, 65, 169, 46, 23, 55, 187, 192, 42, 121, 194, 46, 23, 55, 187, 192, 42, 3, 218, 46, 23, 55, 187, 192, 42, 129, 201, 46, 23, 55, 187, 192, 42, 219, 244, 46, 23, 55, 187, 192, 42, 10, 246, 91, 162, 255, 186, 43, 1, 219, 244, 91, 162, 255, 186, 43, 1, 10, 246, 91, 162, 255, 186, 43, 1, 107, 247, 91, 162, 255, 186, 43, 1, 224, 226, 91, 162, 255, 186, 43, 1, 152, 221, 255, 255, 13, 193, 184, 114, 224, 226, 255, 255, 13, 193, 184, 114, 84, 184, 255, 255, 13, 193, 184, 114, 152, 221, 255, 255, 13, 193, 184, 114, 93, 167, 255, 255, 13, 193, 184, 114, 108, 192, 167, 109, 255, 255, 162, 125, 129, 201, 167, 109, 255, 255, 162, 125, 65, 169, 167, 109, 255, 255, 162, 125, 10, 246, 167, 109, 255, 255, 162, 125, 224, 226, 167, 109, 255, 255, 162, 125, 84, 184, 126, 73, 153, 235, 156, 50, 28, 206, 63, 118, 37, 50, 92, 46, 35, 95, 23, 99, 149, 65, 92, 46, 35, 95, 10, 71, 11, 65, 23, 99, 149, 65, 223, 143, 185, 9, 30, 121, 238, 25, 49, 87, 241, 231, 156, 50, 28, 206, 11, 162, 76, 229, 92, 46, 35, 95, 10, 71, 11, 65, 196, 135, 185, 239, 245, 107, 88, 246, 49, 87, 241, 231, 126, 73, 153, 235, 156, 50, 28, 206, 245, 107, 88, 246, 126, 73, 153, 235, 150, 129, 149, 243, 63, 118, 37, 50, 147, 119, 168, 14, 63, 118, 37, 50, 147, 119, 168, 14, 23, 99, 149, 65, 107, 144, 52, 7, 30, 121, 238, 25, 11, 162, 76, 229, 59, 219, 138, 154, 10, 71, 11, 65, 53, 208, 101, 52, 223, 143, 185, 9, 196, 135, 185, 239, 49, 87, 241, 231, 245, 157, 48, 194, 11, 162, 76, 229, 59, 219, 138, 154, 196, 135, 185, 239, 245, 107, 88, 246, 245, 157, 48, 194, 150, 129, 149, 243, 189, 133, 52, 209, 150, 129, 149, 243, 189, 133, 52, 209, 147, 119, 168, 14, 11, 186, 108, 19, 107, 144, 52, 7, 11, 186, 108, 19, 53, 208, 101, 52, 107, 144, 52, 7, 223, 143, 185, 9, 30, 121, 238, 25, 245, 157, 48, 194, 59, 219, 138, 154, 189, 133, 52, 209, 11, 186, 108, 19, 53, 208, 101, 52)
176
+ }]
177
+ blend_shape_mode = 0
178
+ shadow_mesh = SubResource("ArrayMesh_2ioaq")
179
+
180
+ [sub_resource type="ArrayMesh" id="ArrayMesh_4h8qv"]
181
+ _surfaces = [{
182
+ "aabb": AABB(-1.72892, -1.05539, -1.89207, 3.62682, 7.81242, 3.48241),
183
+ "format": 34896613377,
184
+ "index_count": 60,
185
+ "index_data": PackedByteArray(10, 0, 3, 0, 1, 0, 10, 0, 11, 0, 3, 0, 11, 0, 5, 0, 3, 0, 11, 0, 12, 0, 5, 0, 12, 0, 7, 0, 5, 0, 12, 0, 13, 0, 7, 0, 13, 0, 9, 0, 7, 0, 13, 0, 14, 0, 9, 0, 14, 0, 1, 0, 9, 0, 14, 0, 10, 0, 1, 0, 8, 0, 10, 0, 14, 0, 8, 0, 0, 0, 10, 0, 6, 0, 14, 0, 13, 0, 6, 0, 8, 0, 14, 0, 4, 0, 13, 0, 12, 0, 4, 0, 6, 0, 13, 0, 2, 0, 12, 0, 11, 0, 2, 0, 4, 0, 12, 0, 0, 0, 11, 0, 10, 0, 0, 0, 2, 0, 11, 0),
186
+ "name": "Wood",
187
+ "primitive": 3,
188
+ "uv_scale": Vector4(0, 0, 0, 0),
189
+ "vertex_count": 15,
190
+ "vertex_data": PackedByteArray(235, 115, 0, 0, 0, 0, 0, 0, 44, 131, 220, 252, 240, 10, 0, 0, 177, 235, 32, 0, 2, 107, 0, 0, 255, 255, 255, 255, 251, 93, 0, 0, 161, 202, 8, 3, 255, 255, 0, 0, 181, 197, 155, 254, 191, 239, 0, 0, 134, 49, 14, 4, 216, 235, 0, 0, 10, 39, 161, 253, 245, 240, 0, 0, 0, 0, 234, 1, 176, 94, 0, 0, 214, 18, 195, 254, 57, 103, 0, 0, 222, 125, 153, 125, 158, 9, 0, 0, 253, 250, 61, 127, 95, 97, 0, 0, 161, 198, 151, 128, 191, 249, 0, 0, 104, 45, 144, 127, 161, 237, 0, 0, 204, 8, 49, 128, 173, 98, 0, 0)
191
+ }]
192
+ blend_shape_mode = 0
193
+
194
+ [sub_resource type="ArrayMesh" id="ArrayMesh_qwl6c"]
195
+ resource_name = "static_decorations_Cylinder_001"
196
+ _surfaces = [{
197
+ "aabb": AABB(-1.72892, -1.05539, -1.89207, 3.62682, 7.81242, 3.48241),
198
+ "attribute_data": PackedByteArray(0, 0, 255, 255, 255, 255, 255, 255, 0, 0, 0, 0, 255, 255, 0, 0, 204, 204, 255, 255, 204, 204, 255, 255, 204, 204, 0, 0, 204, 204, 0, 0, 153, 153, 255, 255, 153, 153, 255, 255, 153, 153, 0, 0, 153, 153, 0, 0, 102, 102, 255, 255, 102, 102, 255, 255, 102, 102, 0, 0, 102, 102, 0, 0, 51, 51, 255, 255, 51, 51, 255, 255, 51, 51, 0, 0, 51, 51, 0, 0, 0, 0, 255, 127, 0, 0, 255, 127, 255, 255, 255, 127, 255, 255, 255, 127, 204, 204, 255, 127, 204, 204, 255, 127, 204, 204, 255, 127, 204, 204, 255, 127, 153, 153, 255, 127, 153, 153, 255, 127, 153, 153, 255, 127, 153, 153, 255, 127, 102, 102, 255, 127, 102, 102, 255, 127, 102, 102, 255, 127, 102, 102, 255, 127, 51, 51, 255, 127, 51, 51, 255, 127, 51, 51, 255, 127, 51, 51, 255, 127),
199
+ "format": 34896613399,
200
+ "index_count": 60,
201
+ "index_data": PackedByteArray(22, 0, 6, 0, 3, 0, 22, 0, 24, 0, 6, 0, 26, 0, 11, 0, 7, 0, 26, 0, 30, 0, 11, 0, 29, 0, 15, 0, 10, 0, 29, 0, 35, 0, 15, 0, 32, 0, 18, 0, 14, 0, 32, 0, 36, 0, 18, 0, 38, 0, 2, 0, 19, 0, 38, 0, 20, 0, 2, 0, 17, 0, 21, 0, 39, 0, 17, 0, 0, 0, 21, 0, 12, 0, 37, 0, 33, 0, 12, 0, 16, 0, 37, 0, 8, 0, 34, 0, 28, 0, 8, 0, 13, 0, 34, 0, 5, 0, 31, 0, 27, 0, 5, 0, 9, 0, 31, 0, 1, 0, 25, 0, 23, 0, 1, 0, 4, 0, 25, 0),
202
+ "material": SubResource("StandardMaterial3D_tntfc"),
203
+ "name": "Wood",
204
+ "primitive": 3,
205
+ "uv_scale": Vector4(0, 0, 0, 0),
206
+ "vertex_count": 40,
207
+ "vertex_data": PackedByteArray(235, 115, 0, 0, 0, 0, 160, 229, 235, 115, 0, 0, 0, 0, 105, 229, 44, 131, 220, 252, 240, 10, 145, 229, 44, 131, 220, 252, 240, 10, 85, 232, 177, 235, 32, 0, 2, 107, 107, 229, 177, 235, 32, 0, 2, 107, 80, 180, 255, 255, 255, 255, 251, 93, 86, 232, 255, 255, 255, 255, 251, 93, 250, 176, 161, 202, 8, 3, 255, 255, 39, 132, 161, 202, 8, 3, 255, 255, 82, 180, 181, 197, 155, 254, 191, 239, 140, 129, 181, 197, 155, 254, 191, 239, 248, 176, 134, 49, 14, 4, 216, 235, 96, 179, 134, 49, 14, 4, 216, 235, 30, 132, 10, 39, 161, 253, 245, 240, 106, 183, 10, 39, 161, 253, 245, 240, 140, 129, 0, 0, 234, 1, 176, 94, 98, 179, 0, 0, 234, 1, 176, 94, 161, 229, 214, 18, 195, 254, 57, 103, 106, 183, 214, 18, 195, 254, 57, 103, 145, 229, 222, 125, 153, 125, 158, 9, 144, 229, 222, 125, 153, 125, 158, 9, 159, 229, 222, 125, 153, 125, 158, 9, 84, 232, 222, 125, 153, 125, 158, 9, 108, 229, 253, 250, 61, 127, 95, 97, 84, 232, 253, 250, 61, 127, 95, 97, 110, 229, 253, 250, 61, 127, 95, 97, 248, 176, 253, 250, 61, 127, 95, 97, 75, 180, 161, 198, 151, 128, 191, 249, 29, 132, 161, 198, 151, 128, 191, 249, 140, 129, 161, 198, 151, 128, 191, 249, 249, 176, 161, 198, 151, 128, 191, 249, 77, 180, 104, 45, 144, 127, 161, 237, 105, 183, 104, 45, 144, 127, 161, 237, 96, 179, 104, 45, 144, 127, 161, 237, 39, 132, 104, 45, 144, 127, 161, 237, 140, 129, 204, 8, 49, 128, 173, 98, 105, 183, 204, 8, 49, 128, 173, 98, 95, 179, 204, 8, 49, 128, 173, 98, 145, 229, 204, 8, 49, 128, 173, 98, 160, 229, 198, 130, 103, 251, 104, 127, 93, 2, 131, 130, 148, 252, 39, 130, 180, 3, 233, 127, 9, 2, 42, 129, 202, 4, 149, 130, 64, 4, 3, 125, 24, 1, 250, 133, 112, 234, 170, 129, 241, 5, 169, 182, 219, 230, 229, 126, 83, 0, 5, 131, 85, 254, 1, 135, 247, 242, 32, 127, 117, 253, 186, 182, 224, 230, 207, 132, 149, 253, 153, 130, 132, 251, 74, 127, 211, 253, 87, 130, 176, 252, 228, 130, 84, 252, 39, 131, 39, 251, 53, 129, 123, 2, 118, 128, 151, 2, 164, 129, 11, 3, 248, 128, 67, 3, 136, 128, 4, 1, 31, 128, 101, 2, 192, 140, 103, 248, 204, 182, 230, 230, 77, 129, 234, 2, 157, 128, 135, 3, 133, 127, 85, 254, 207, 127, 158, 254, 90, 150, 133, 248, 222, 182, 235, 230, 174, 127, 178, 254, 167, 128, 77, 255, 185, 130, 112, 252, 250, 130, 69, 251)
208
+ }]
209
+ blend_shape_mode = 0
210
+ shadow_mesh = SubResource("ArrayMesh_4h8qv")
211
+
212
+ [sub_resource type="StandardMaterial3D" id="StandardMaterial3D_p3fqt"]
213
+ resource_name = "Material.001"
214
+ cull_mode = 2
215
+ albedo_color = Color(0.395713, 0.395713, 0.395713, 1)
216
+ roughness = 0.5
217
+
218
+ [sub_resource type="ArrayMesh" id="ArrayMesh_atsku"]
219
+ _surfaces = [{
220
+ "aabb": AABB(-0.664906, -0.565771, -1.54335, 1.33038, 1.10636, 2.87792),
221
+ "format": 34896613377,
222
+ "index_count": 120,
223
+ "index_data": PackedByteArray(24, 0, 3, 0, 10, 0, 24, 0, 11, 0, 3, 0, 23, 0, 7, 0, 13, 0, 23, 0, 14, 0, 7, 0, 22, 0, 5, 0, 16, 0, 22, 0, 17, 0, 5, 0, 21, 0, 1, 0, 19, 0, 21, 0, 9, 0, 1, 0, 20, 0, 1, 0, 10, 0, 20, 0, 19, 0, 1, 0, 16, 0, 19, 0, 20, 0, 16, 0, 5, 0, 19, 0, 7, 0, 20, 0, 13, 0, 7, 0, 16, 0, 20, 0, 13, 0, 10, 0, 3, 0, 13, 0, 20, 0, 10, 0, 18, 0, 9, 0, 21, 0, 18, 0, 0, 0, 9, 0, 4, 0, 21, 0, 17, 0, 4, 0, 18, 0, 21, 0, 17, 0, 19, 0, 5, 0, 17, 0, 21, 0, 19, 0, 15, 0, 17, 0, 22, 0, 15, 0, 4, 0, 17, 0, 6, 0, 22, 0, 14, 0, 6, 0, 15, 0, 22, 0, 14, 0, 16, 0, 7, 0, 14, 0, 22, 0, 16, 0, 12, 0, 14, 0, 23, 0, 12, 0, 6, 0, 14, 0, 2, 0, 23, 0, 11, 0, 2, 0, 12, 0, 23, 0, 11, 0, 13, 0, 3, 0, 11, 0, 23, 0, 13, 0, 8, 0, 11, 0, 24, 0, 8, 0, 2, 0, 11, 0, 0, 0, 24, 0, 9, 0, 0, 0, 8, 0, 24, 0, 9, 0, 10, 0, 1, 0, 9, 0, 24, 0, 10, 0),
224
+ "name": "Material.001",
225
+ "primitive": 3,
226
+ "uv_scale": Vector4(0, 0, 0, 0),
227
+ "vertex_count": 25,
228
+ "vertex_data": PackedByteArray(195, 24, 0, 0, 200, 209, 0, 0, 161, 28, 138, 243, 175, 209, 0, 0, 178, 24, 0, 0, 167, 64, 0, 0, 220, 21, 195, 187, 140, 58, 0, 0, 117, 221, 0, 0, 65, 213, 0, 0, 40, 226, 152, 248, 32, 208, 0, 0, 97, 223, 0, 0, 171, 63, 0, 0, 123, 222, 107, 248, 93, 61, 0, 0, 99, 14, 0, 0, 81, 137, 0, 0, 107, 12, 134, 154, 10, 220, 0, 0, 132, 14, 43, 240, 198, 134, 0, 0, 36, 4, 154, 97, 22, 42, 0, 0, 58, 127, 0, 0, 135, 48, 0, 0, 222, 127, 38, 190, 94, 48, 0, 0, 228, 243, 57, 121, 69, 40, 0, 0, 24, 235, 0, 0, 216, 131, 0, 0, 198, 243, 238, 254, 52, 140, 0, 0, 217, 228, 56, 129, 251, 232, 0, 0, 57, 127, 0, 0, 221, 225, 0, 0, 134, 120, 255, 255, 143, 228, 0, 0, 255, 127, 128, 242, 127, 141, 0, 0, 13, 126, 55, 96, 255, 255, 0, 0, 255, 255, 194, 114, 17, 129, 0, 0, 170, 114, 187, 143, 0, 0, 0, 0, 0, 0, 117, 142, 171, 131, 0, 0)
229
+ }]
230
+ blend_shape_mode = 0
231
+
232
+ [sub_resource type="ArrayMesh" id="ArrayMesh_4i1hc"]
233
+ resource_name = "static_decorations_Cube_003"
234
+ _surfaces = [{
235
+ "aabb": AABB(-0.664906, -0.565771, -1.54335, 1.33038, 1.10636, 2.87792),
236
+ "attribute_data": PackedByteArray(255, 95, 255, 255, 255, 95, 0, 0, 255, 159, 255, 255, 255, 159, 0, 0, 255, 223, 255, 63, 255, 95, 255, 191, 255, 95, 255, 191, 255, 159, 255, 191, 255, 159, 255, 191, 255, 223, 255, 127, 255, 95, 255, 63, 255, 95, 255, 63, 255, 159, 255, 63, 255, 159, 255, 63, 255, 159, 255, 63, 255, 95, 255, 127, 255, 95, 255, 127, 255, 159, 255, 127, 255, 159, 255, 127, 255, 159, 255, 127, 255, 95, 255, 223, 255, 95, 255, 223, 255, 127, 255, 255, 255, 127, 255, 255, 255, 127, 0, 0, 255, 127, 0, 0, 255, 159, 255, 223, 255, 159, 255, 223, 255, 223, 255, 95, 255, 223, 255, 95, 255, 127, 255, 191, 255, 127, 255, 191, 255, 127, 255, 191, 255, 127, 255, 191, 255, 95, 255, 159, 255, 95, 255, 159, 255, 159, 255, 159, 255, 191, 255, 127, 255, 191, 255, 127, 255, 159, 255, 159, 255, 127, 255, 127, 255, 127, 255, 127, 255, 127, 255, 127, 255, 127, 255, 127, 255, 95, 255, 95, 255, 95, 255, 95, 255, 159, 255, 95, 255, 159, 255, 95, 255, 159, 255, 95, 255, 159, 255, 95, 255, 127, 255, 63, 255, 127, 255, 63, 255, 127, 255, 63, 255, 127, 255, 63, 255, 95, 255, 31, 255, 95, 255, 31, 255, 159, 255, 31, 255, 191, 255, 63, 255, 191, 255, 63, 255, 159, 255, 31, 255, 191, 255, 95, 255, 191, 255, 95, 255, 191, 255, 95, 255, 191, 255, 95, 255, 127, 255, 31, 255, 127, 255, 31, 255, 127, 255, 31, 255, 127, 255, 31, 255, 127, 255, 95, 255, 127, 255, 95, 255, 127, 255, 95, 255, 127, 255, 95, 255, 127, 255, 159, 255, 127, 255, 159, 255, 127, 255, 159, 255, 127, 255, 159, 255, 127, 255, 223, 255, 127, 255, 223, 255, 127, 255, 223, 255, 127, 255, 223),
237
+ "format": 34896613399,
238
+ "index_count": 120,
239
+ "index_data": PackedByteArray(79, 0, 7, 0, 27, 0, 79, 0, 31, 0, 7, 0, 74, 0, 18, 0, 39, 0, 74, 0, 40, 0, 18, 0, 71, 0, 14, 0, 49, 0, 71, 0, 53, 0, 14, 0, 65, 0, 3, 0, 56, 0, 65, 0, 25, 0, 3, 0, 61, 0, 4, 0, 28, 0, 61, 0, 57, 0, 4, 0, 47, 0, 58, 0, 63, 0, 47, 0, 12, 0, 58, 0, 17, 0, 60, 0, 37, 0, 17, 0, 46, 0, 60, 0, 38, 0, 29, 0, 9, 0, 38, 0, 62, 0, 29, 0, 54, 0, 24, 0, 64, 0, 54, 0, 1, 0, 24, 0, 10, 0, 67, 0, 51, 0, 10, 0, 55, 0, 67, 0, 50, 0, 59, 0, 13, 0, 50, 0, 66, 0, 59, 0, 45, 0, 52, 0, 70, 0, 45, 0, 11, 0, 52, 0, 16, 0, 68, 0, 42, 0, 16, 0, 44, 0, 68, 0, 43, 0, 48, 0, 19, 0, 43, 0, 69, 0, 48, 0, 35, 0, 41, 0, 75, 0, 35, 0, 15, 0, 41, 0, 6, 0, 73, 0, 33, 0, 6, 0, 34, 0, 73, 0, 32, 0, 36, 0, 8, 0, 32, 0, 72, 0, 36, 0, 21, 0, 30, 0, 77, 0, 21, 0, 5, 0, 30, 0, 0, 0, 76, 0, 22, 0, 0, 0, 20, 0, 76, 0, 23, 0, 26, 0, 2, 0, 23, 0, 78, 0, 26, 0),
240
+ "material": SubResource("StandardMaterial3D_p3fqt"),
241
+ "name": "Material.001",
242
+ "primitive": 3,
243
+ "uv_scale": Vector4(0, 0, 0, 0),
244
+ "vertex_count": 80,
245
+ "vertex_data": PackedByteArray(195, 24, 0, 0, 200, 209, 161, 212, 195, 24, 0, 0, 200, 209, 45, 195, 161, 28, 138, 243, 175, 209, 173, 211, 161, 28, 138, 243, 175, 209, 251, 189, 161, 28, 138, 243, 175, 209, 70, 248, 178, 24, 0, 0, 167, 64, 24, 228, 178, 24, 0, 0, 167, 64, 243, 248, 220, 21, 195, 187, 140, 58, 239, 203, 220, 21, 195, 187, 140, 58, 235, 214, 220, 21, 195, 187, 140, 58, 203, 252, 117, 221, 0, 0, 65, 213, 181, 195, 117, 221, 0, 0, 65, 213, 222, 213, 40, 226, 152, 248, 32, 208, 169, 247, 40, 226, 152, 248, 32, 208, 151, 192, 40, 226, 152, 248, 32, 208, 88, 205, 97, 223, 0, 0, 171, 63, 86, 227, 97, 223, 0, 0, 171, 63, 204, 203, 123, 222, 107, 248, 93, 61, 240, 253, 123, 222, 107, 248, 93, 61, 96, 244, 123, 222, 107, 248, 93, 61, 167, 227, 99, 14, 0, 0, 81, 137, 38, 217, 99, 14, 0, 0, 81, 137, 176, 220, 107, 12, 134, 154, 10, 220, 71, 210, 107, 12, 134, 154, 10, 220, 225, 213, 107, 12, 134, 154, 10, 220, 223, 199, 107, 12, 134, 154, 10, 220, 218, 195, 132, 14, 43, 240, 198, 134, 56, 205, 132, 14, 43, 240, 198, 134, 201, 208, 132, 14, 43, 240, 198, 134, 211, 253, 132, 14, 43, 240, 198, 134, 147, 253, 36, 4, 154, 97, 22, 42, 203, 231, 36, 4, 154, 97, 22, 42, 186, 202, 36, 4, 154, 97, 22, 42, 12, 216, 36, 4, 154, 97, 22, 42, 95, 247, 58, 127, 0, 0, 135, 48, 93, 247, 58, 127, 0, 0, 135, 48, 229, 227, 222, 127, 38, 190, 94, 48, 149, 216, 222, 127, 38, 190, 94, 48, 79, 255, 222, 127, 38, 190, 94, 48, 69, 250, 222, 127, 38, 190, 94, 48, 159, 239, 228, 243, 57, 121, 69, 40, 164, 240, 228, 243, 57, 121, 69, 40, 243, 227, 228, 243, 57, 121, 69, 40, 242, 201, 228, 243, 57, 121, 69, 40, 71, 229, 24, 235, 0, 0, 216, 131, 228, 208, 24, 235, 0, 0, 216, 131, 120, 205, 198, 243, 238, 254, 52, 140, 202, 247, 198, 243, 238, 254, 52, 140, 176, 254, 198, 243, 238, 254, 52, 140, 143, 224, 198, 243, 238, 254, 52, 140, 59, 218, 217, 228, 56, 129, 251, 232, 107, 193, 217, 228, 56, 129, 251, 232, 63, 199, 217, 228, 56, 129, 251, 232, 208, 216, 217, 228, 56, 129, 251, 232, 226, 200, 57, 127, 0, 0, 221, 225, 223, 187, 57, 127, 0, 0, 221, 225, 43, 199, 134, 120, 255, 255, 143, 228, 153, 196, 134, 120, 255, 255, 143, 228, 154, 245, 134, 120, 255, 255, 143, 228, 6, 244, 134, 120, 255, 255, 143, 228, 79, 193, 255, 127, 128, 242, 127, 141, 211, 250, 255, 127, 128, 242, 127, 141, 19, 251, 255, 127, 128, 242, 127, 141, 124, 255, 255, 127, 128, 242, 127, 141, 135, 250, 13, 126, 55, 96, 255, 255, 135, 194, 13, 126, 55, 96, 255, 255, 74, 200, 13, 126, 55, 96, 255, 255, 13, 194, 13, 126, 55, 96, 255, 255, 154, 202, 255, 255, 194, 114, 17, 129, 8, 206, 255, 255, 194, 114, 17, 129, 60, 226, 255, 255, 194, 114, 17, 129, 47, 209, 255, 255, 194, 114, 17, 129, 234, 210, 170, 114, 187, 143, 0, 0, 166, 217, 170, 114, 187, 143, 0, 0, 64, 246, 170, 114, 187, 143, 0, 0, 142, 236, 170, 114, 187, 143, 0, 0, 132, 228, 0, 0, 117, 142, 171, 131, 19, 214, 0, 0, 117, 142, 171, 131, 88, 224, 0, 0, 117, 142, 171, 131, 155, 207, 0, 0, 117, 142, 171, 131, 59, 207, 201, 210, 121, 218, 227, 215, 131, 250, 238, 222, 39, 206, 11, 250, 48, 218, 172, 196, 44, 11, 113, 220, 18, 212, 39, 81, 107, 74, 251, 203, 85, 210, 234, 193, 115, 181, 159, 130, 24, 198, 43, 4, 27, 216, 63, 31, 187, 48, 140, 135, 230, 188, 110, 219, 110, 5, 183, 50, 36, 34, 51, 63, 196, 69, 92, 51, 222, 45, 135, 114, 204, 187, 170, 172, 216, 181, 222, 37, 59, 44, 143, 215, 227, 215, 60, 213, 98, 216, 14, 208, 243, 219, 113, 225, 48, 205, 122, 218, 102, 248, 34, 253, 51, 219, 181, 214, 79, 209, 9, 213, 139, 206, 159, 193, 123, 5, 95, 187, 21, 5, 203, 223, 16, 210, 56, 201, 125, 211, 81, 185, 165, 185, 66, 78, 244, 76, 62, 78, 248, 76, 68, 70, 121, 65, 89, 182, 24, 187, 9, 198, 47, 16, 251, 133, 64, 196, 41, 181, 253, 174, 69, 179, 131, 176, 208, 70, 36, 65, 156, 55, 28, 44, 67, 36, 55, 45, 19, 42, 182, 49, 3, 41, 227, 44, 11, 121, 22, 192, 253, 127, 159, 192, 6, 41, 77, 42, 188, 36, 93, 41, 144, 219, 255, 4, 210, 5, 6, 218, 54, 28, 237, 49, 63, 57, 196, 30, 20, 211, 110, 254, 201, 5, 252, 217, 130, 253, 82, 219, 19, 198, 203, 13, 54, 139, 23, 187, 139, 219, 14, 5, 189, 117, 232, 189, 41, 195, 89, 8, 222, 126, 234, 198, 140, 132, 97, 190, 129, 215, 211, 250, 81, 255, 234, 219, 169, 219, 172, 4, 65, 7, 177, 219, 245, 46, 177, 47, 75, 39, 92, 43, 111, 36, 176, 46, 16, 44, 147, 37, 99, 177, 132, 189, 44, 76, 200, 78, 57, 187, 24, 170, 169, 75, 50, 62, 94, 212, 157, 217, 230, 216, 49, 214, 238, 217, 18, 208, 102, 210, 166, 207)
246
+ }]
247
+ blend_shape_mode = 0
248
+ shadow_mesh = SubResource("ArrayMesh_atsku")
249
+
250
+ [sub_resource type="ArrayMesh" id="ArrayMesh_kiyb0"]
251
+ _surfaces = [{
252
+ "aabb": AABB(-0.755208, -0.633134, -1.62582, 1.45911, 1.29348, 3.06774),
253
+ "format": 34896613377,
254
+ "index_count": 120,
255
+ "index_data": PackedByteArray(24, 0, 3, 0, 10, 0, 24, 0, 11, 0, 3, 0, 23, 0, 7, 0, 13, 0, 23, 0, 14, 0, 7, 0, 22, 0, 5, 0, 16, 0, 22, 0, 17, 0, 5, 0, 21, 0, 1, 0, 19, 0, 21, 0, 9, 0, 1, 0, 20, 0, 1, 0, 10, 0, 20, 0, 19, 0, 1, 0, 16, 0, 19, 0, 20, 0, 16, 0, 5, 0, 19, 0, 7, 0, 20, 0, 13, 0, 7, 0, 16, 0, 20, 0, 13, 0, 10, 0, 3, 0, 13, 0, 20, 0, 10, 0, 18, 0, 9, 0, 21, 0, 18, 0, 0, 0, 9, 0, 4, 0, 21, 0, 17, 0, 4, 0, 18, 0, 21, 0, 17, 0, 19, 0, 5, 0, 17, 0, 21, 0, 19, 0, 15, 0, 17, 0, 22, 0, 15, 0, 4, 0, 17, 0, 6, 0, 22, 0, 14, 0, 6, 0, 15, 0, 22, 0, 14, 0, 16, 0, 7, 0, 14, 0, 22, 0, 16, 0, 12, 0, 14, 0, 23, 0, 12, 0, 6, 0, 14, 0, 2, 0, 23, 0, 11, 0, 2, 0, 12, 0, 23, 0, 11, 0, 13, 0, 3, 0, 11, 0, 23, 0, 13, 0, 8, 0, 11, 0, 24, 0, 8, 0, 2, 0, 11, 0, 0, 0, 24, 0, 9, 0, 0, 0, 8, 0, 24, 0, 9, 0, 10, 0, 1, 0, 9, 0, 24, 0, 10, 0),
256
+ "name": "Material.001",
257
+ "primitive": 3,
258
+ "uv_scale": Vector4(0, 0, 0, 0),
259
+ "vertex_count": 25,
260
+ "vertex_data": PackedByteArray(224, 63, 200, 25, 206, 203, 0, 0, 65, 38, 240, 237, 28, 204, 0, 0, 196, 50, 244, 5, 13, 76, 0, 0, 225, 63, 233, 175, 216, 65, 0, 0, 24, 224, 216, 4, 70, 211, 0, 0, 173, 204, 122, 223, 97, 199, 0, 0, 181, 212, 234, 27, 93, 67, 0, 0, 47, 213, 255, 255, 91, 69, 0, 0, 176, 10, 162, 13, 227, 136, 0, 0, 170, 38, 124, 129, 146, 211, 0, 0, 213, 30, 243, 242, 118, 131, 0, 0, 129, 22, 219, 85, 195, 54, 0, 0, 241, 117, 85, 2, 184, 46, 0, 0, 4, 120, 54, 197, 244, 44, 0, 0, 255, 255, 122, 114, 111, 42, 0, 0, 134, 248, 0, 0, 236, 130, 0, 0, 253, 229, 89, 216, 185, 145, 0, 0, 69, 220, 161, 111, 70, 213, 0, 0, 133, 126, 170, 2, 208, 221, 0, 0, 78, 132, 203, 213, 253, 216, 0, 0, 165, 135, 73, 190, 158, 143, 0, 0, 11, 114, 143, 101, 255, 255, 0, 0, 129, 238, 226, 109, 203, 132, 0, 0, 107, 125, 129, 138, 0, 0, 0, 0, 0, 0, 213, 116, 138, 131, 0, 0)
261
+ }]
262
+ blend_shape_mode = 0
263
+
264
+ [sub_resource type="ArrayMesh" id="ArrayMesh_otkcq"]
265
+ resource_name = "static_decorations_Cube_004"
266
+ _surfaces = [{
267
+ "aabb": AABB(-0.755208, -0.633134, -1.62582, 1.45911, 1.29348, 3.06774),
268
+ "attribute_data": PackedByteArray(255, 95, 255, 255, 255, 95, 0, 0, 255, 159, 255, 255, 255, 159, 0, 0, 255, 223, 255, 63, 255, 95, 255, 191, 255, 95, 255, 191, 255, 159, 255, 191, 255, 159, 255, 191, 255, 223, 255, 127, 255, 95, 255, 63, 255, 95, 255, 63, 255, 159, 255, 63, 255, 159, 255, 63, 255, 159, 255, 63, 255, 95, 255, 127, 255, 95, 255, 127, 255, 159, 255, 127, 255, 159, 255, 127, 255, 159, 255, 127, 255, 95, 255, 223, 255, 95, 255, 223, 255, 127, 255, 255, 255, 127, 255, 255, 255, 127, 0, 0, 255, 127, 0, 0, 255, 159, 255, 223, 255, 159, 255, 223, 255, 223, 255, 95, 255, 223, 255, 95, 255, 127, 255, 191, 255, 127, 255, 191, 255, 127, 255, 191, 255, 127, 255, 191, 255, 95, 255, 159, 255, 95, 255, 159, 255, 159, 255, 159, 255, 191, 255, 127, 255, 191, 255, 127, 255, 159, 255, 159, 255, 127, 255, 127, 255, 127, 255, 127, 255, 127, 255, 127, 255, 127, 255, 127, 255, 95, 255, 95, 255, 95, 255, 95, 255, 159, 255, 95, 255, 159, 255, 95, 255, 159, 255, 95, 255, 159, 255, 95, 255, 127, 255, 63, 255, 127, 255, 63, 255, 127, 255, 63, 255, 127, 255, 63, 255, 95, 255, 31, 255, 95, 255, 31, 255, 159, 255, 31, 255, 191, 255, 63, 255, 191, 255, 63, 255, 159, 255, 31, 255, 191, 255, 95, 255, 191, 255, 95, 255, 191, 255, 95, 255, 191, 255, 95, 255, 127, 255, 31, 255, 127, 255, 31, 255, 127, 255, 31, 255, 127, 255, 31, 255, 127, 255, 95, 255, 127, 255, 95, 255, 127, 255, 95, 255, 127, 255, 95, 255, 127, 255, 159, 255, 127, 255, 159, 255, 127, 255, 159, 255, 127, 255, 159, 255, 127, 255, 223, 255, 127, 255, 223, 255, 127, 255, 223, 255, 127, 255, 223),
269
+ "format": 34896613399,
270
+ "index_count": 120,
271
+ "index_data": PackedByteArray(79, 0, 7, 0, 27, 0, 79, 0, 31, 0, 7, 0, 74, 0, 18, 0, 39, 0, 74, 0, 40, 0, 18, 0, 70, 0, 14, 0, 49, 0, 70, 0, 52, 0, 14, 0, 65, 0, 3, 0, 56, 0, 65, 0, 25, 0, 3, 0, 63, 0, 4, 0, 29, 0, 63, 0, 58, 0, 4, 0, 47, 0, 57, 0, 61, 0, 47, 0, 12, 0, 57, 0, 17, 0, 60, 0, 37, 0, 17, 0, 46, 0, 60, 0, 38, 0, 28, 0, 9, 0, 38, 0, 62, 0, 28, 0, 54, 0, 24, 0, 64, 0, 54, 0, 1, 0, 24, 0, 10, 0, 66, 0, 50, 0, 10, 0, 55, 0, 66, 0, 51, 0, 59, 0, 13, 0, 51, 0, 67, 0, 59, 0, 45, 0, 53, 0, 71, 0, 45, 0, 11, 0, 53, 0, 16, 0, 68, 0, 42, 0, 16, 0, 44, 0, 68, 0, 43, 0, 48, 0, 19, 0, 43, 0, 69, 0, 48, 0, 35, 0, 41, 0, 75, 0, 35, 0, 15, 0, 41, 0, 6, 0, 73, 0, 33, 0, 6, 0, 34, 0, 73, 0, 32, 0, 36, 0, 8, 0, 32, 0, 72, 0, 36, 0, 20, 0, 30, 0, 77, 0, 20, 0, 5, 0, 30, 0, 0, 0, 78, 0, 23, 0, 0, 0, 21, 0, 78, 0, 22, 0, 26, 0, 2, 0, 22, 0, 76, 0, 26, 0),
272
+ "material": SubResource("StandardMaterial3D_p3fqt"),
273
+ "name": "Material.001",
274
+ "primitive": 3,
275
+ "uv_scale": Vector4(0, 0, 0, 0),
276
+ "vertex_count": 80,
277
+ "vertex_data": PackedByteArray(224, 63, 200, 25, 206, 203, 113, 210, 224, 63, 200, 25, 206, 203, 109, 201, 65, 38, 240, 237, 28, 204, 9, 209, 65, 38, 240, 237, 28, 204, 47, 195, 65, 38, 240, 237, 28, 204, 89, 239, 196, 50, 244, 5, 13, 76, 122, 233, 196, 50, 244, 5, 13, 76, 234, 253, 225, 63, 233, 175, 216, 65, 220, 210, 225, 63, 233, 175, 216, 65, 122, 212, 225, 63, 233, 175, 216, 65, 181, 248, 24, 224, 216, 4, 70, 211, 167, 194, 24, 224, 216, 4, 70, 211, 72, 213, 173, 204, 122, 223, 97, 199, 58, 242, 173, 204, 122, 223, 97, 199, 157, 200, 173, 204, 122, 223, 97, 199, 31, 206, 181, 212, 234, 27, 93, 67, 73, 222, 181, 212, 234, 27, 93, 67, 117, 203, 47, 213, 255, 255, 91, 69, 119, 253, 47, 213, 255, 255, 91, 69, 225, 249, 47, 213, 255, 255, 91, 69, 223, 227, 176, 10, 162, 13, 227, 136, 104, 227, 176, 10, 162, 13, 227, 136, 71, 215, 170, 38, 124, 129, 146, 211, 228, 210, 170, 38, 124, 129, 146, 211, 95, 208, 170, 38, 124, 129, 146, 211, 245, 208, 170, 38, 124, 129, 146, 211, 82, 197, 213, 30, 243, 242, 118, 131, 235, 205, 213, 30, 243, 242, 118, 131, 171, 212, 213, 30, 243, 242, 118, 131, 229, 246, 213, 30, 243, 242, 118, 131, 113, 240, 129, 22, 219, 85, 195, 54, 71, 236, 129, 22, 219, 85, 195, 54, 233, 209, 129, 22, 219, 85, 195, 54, 174, 210, 129, 22, 219, 85, 195, 54, 99, 254, 241, 117, 85, 2, 184, 46, 53, 254, 241, 117, 85, 2, 184, 46, 212, 222, 4, 120, 54, 197, 244, 44, 188, 210, 4, 120, 54, 197, 244, 44, 125, 255, 4, 120, 54, 197, 244, 44, 254, 242, 4, 120, 54, 197, 244, 44, 227, 245, 255, 255, 122, 114, 111, 42, 119, 246, 255, 255, 122, 114, 111, 42, 206, 222, 255, 255, 122, 114, 111, 42, 26, 201, 255, 255, 122, 114, 111, 42, 252, 228, 134, 248, 0, 0, 236, 130, 249, 210, 134, 248, 0, 0, 236, 130, 88, 213, 253, 229, 89, 216, 185, 145, 76, 245, 253, 229, 89, 216, 185, 145, 155, 251, 253, 229, 89, 216, 185, 145, 116, 225, 253, 229, 89, 216, 185, 145, 167, 215, 69, 220, 161, 111, 70, 213, 222, 201, 69, 220, 161, 111, 70, 213, 221, 190, 69, 220, 161, 111, 70, 213, 89, 212, 69, 220, 161, 111, 70, 213, 64, 213, 133, 126, 170, 2, 208, 221, 151, 193, 133, 126, 170, 2, 208, 221, 67, 203, 78, 132, 203, 213, 253, 216, 66, 197, 78, 132, 203, 213, 253, 216, 152, 237, 78, 132, 203, 213, 253, 216, 164, 238, 78, 132, 203, 213, 253, 216, 178, 191, 165, 135, 73, 190, 158, 143, 52, 249, 165, 135, 73, 190, 158, 143, 129, 246, 165, 135, 73, 190, 158, 143, 253, 251, 165, 135, 73, 190, 158, 143, 201, 239, 11, 114, 143, 101, 255, 255, 37, 202, 11, 114, 143, 101, 255, 255, 11, 199, 11, 114, 143, 101, 255, 255, 186, 208, 11, 114, 143, 101, 255, 255, 125, 184, 129, 238, 226, 109, 203, 132, 57, 207, 129, 238, 226, 109, 203, 132, 238, 226, 129, 238, 226, 109, 203, 132, 184, 220, 129, 238, 226, 109, 203, 132, 80, 213, 107, 125, 129, 138, 0, 0, 132, 211, 107, 125, 129, 138, 0, 0, 164, 251, 107, 125, 129, 138, 0, 0, 153, 242, 107, 125, 129, 138, 0, 0, 100, 223, 0, 0, 213, 116, 138, 131, 175, 207, 0, 0, 213, 116, 138, 131, 126, 230, 0, 0, 213, 116, 138, 131, 189, 212, 0, 0, 213, 116, 138, 131, 180, 211, 199, 213, 255, 223, 40, 208, 50, 244, 160, 220, 165, 209, 235, 254, 216, 213, 168, 65, 229, 2, 180, 216, 45, 212, 131, 204, 0, 211, 107, 211, 80, 199, 179, 209, 219, 187, 127, 145, 75, 186, 51, 8, 224, 35, 151, 40, 153, 39, 9, 131, 70, 195, 112, 40, 157, 5, 210, 49, 247, 32, 8, 56, 123, 74, 49, 53, 144, 44, 168, 108, 160, 176, 43, 170, 127, 183, 25, 36, 222, 41, 113, 210, 125, 216, 209, 217, 202, 221, 168, 222, 221, 208, 235, 211, 3, 225, 86, 213, 61, 240, 215, 255, 163, 41, 254, 216, 11, 211, 144, 215, 148, 197, 135, 187, 29, 1, 199, 64, 40, 4, 112, 219, 75, 210, 5, 209, 81, 200, 188, 186, 40, 197, 201, 77, 190, 81, 136, 77, 254, 81, 3, 66, 240, 68, 217, 182, 157, 198, 222, 208, 122, 21, 45, 151, 211, 182, 190, 176, 219, 177, 198, 175, 175, 178, 182, 65, 27, 69, 250, 58, 30, 42, 33, 35, 118, 42, 230, 39, 47, 50, 134, 40, 161, 39, 189, 114, 252, 180, 182, 119, 87, 191, 62, 38, 142, 40, 187, 39, 86, 38, 139, 4, 32, 35, 156, 46, 28, 0, 241, 42, 160, 36, 159, 40, 149, 39, 96, 201, 97, 249, 224, 3, 253, 34, 224, 255, 172, 41, 175, 136, 207, 192, 60, 66, 16, 2, 1, 46, 166, 0, 194, 111, 217, 178, 163, 125, 26, 195, 198, 65, 64, 5, 77, 65, 103, 3, 179, 208, 200, 243, 228, 254, 179, 40, 83, 1, 120, 34, 144, 207, 85, 4, 224, 45, 168, 47, 236, 36, 93, 41, 49, 35, 192, 40, 142, 40, 157, 39, 75, 171, 244, 202, 221, 73, 164, 85, 103, 182, 255, 172, 133, 71, 226, 65, 22, 219, 60, 210, 179, 213, 62, 214, 191, 215, 235, 222, 104, 213, 123, 198)
278
+ }]
279
+ blend_shape_mode = 0
280
+ shadow_mesh = SubResource("ArrayMesh_kiyb0")
281
+
282
+ [sub_resource type="ArrayMesh" id="ArrayMesh_xfa4y"]
283
+ _surfaces = [{
284
+ "aabb": AABB(-0.827483, -0.561679, -0.939866, 1.15614, 1.088, 2.41989),
285
+ "format": 34896613377,
286
+ "index_count": 120,
287
+ "index_data": PackedByteArray(24, 0, 3, 0, 10, 0, 24, 0, 11, 0, 3, 0, 23, 0, 7, 0, 13, 0, 23, 0, 14, 0, 7, 0, 22, 0, 5, 0, 16, 0, 22, 0, 17, 0, 5, 0, 21, 0, 1, 0, 19, 0, 21, 0, 9, 0, 1, 0, 20, 0, 1, 0, 10, 0, 20, 0, 19, 0, 1, 0, 16, 0, 19, 0, 20, 0, 16, 0, 5, 0, 19, 0, 7, 0, 20, 0, 13, 0, 7, 0, 16, 0, 20, 0, 13, 0, 10, 0, 3, 0, 13, 0, 20, 0, 10, 0, 18, 0, 9, 0, 21, 0, 18, 0, 0, 0, 9, 0, 4, 0, 21, 0, 17, 0, 4, 0, 18, 0, 21, 0, 17, 0, 19, 0, 5, 0, 17, 0, 21, 0, 19, 0, 15, 0, 17, 0, 22, 0, 15, 0, 4, 0, 17, 0, 6, 0, 22, 0, 14, 0, 6, 0, 15, 0, 22, 0, 14, 0, 16, 0, 7, 0, 14, 0, 22, 0, 16, 0, 12, 0, 14, 0, 23, 0, 12, 0, 6, 0, 14, 0, 2, 0, 23, 0, 11, 0, 2, 0, 12, 0, 23, 0, 11, 0, 13, 0, 3, 0, 11, 0, 23, 0, 13, 0, 8, 0, 11, 0, 24, 0, 8, 0, 2, 0, 11, 0, 0, 0, 24, 0, 9, 0, 0, 0, 8, 0, 24, 0, 9, 0, 10, 0, 1, 0, 9, 0, 24, 0, 10, 0),
288
+ "name": "Material.001",
289
+ "primitive": 3,
290
+ "uv_scale": Vector4(0, 0, 0, 0),
291
+ "vertex_count": 25,
292
+ "vertex_data": PackedByteArray(29, 48, 20, 16, 242, 200, 0, 0, 209, 55, 183, 209, 248, 203, 0, 0, 7, 23, 16, 13, 108, 60, 0, 0, 166, 8, 206, 194, 107, 63, 0, 0, 144, 242, 234, 17, 92, 218, 0, 0, 180, 236, 180, 233, 253, 218, 0, 0, 192, 245, 29, 16, 42, 64, 0, 0, 212, 220, 51, 232, 7, 70, 0, 0, 0, 0, 183, 19, 77, 137, 0, 0, 191, 27, 82, 128, 200, 217, 0, 0, 217, 34, 176, 216, 157, 136, 0, 0, 2, 13, 147, 110, 181, 47, 0, 0, 91, 119, 2, 45, 19, 34, 0, 0, 102, 120, 220, 197, 141, 48, 0, 0, 162, 231, 96, 122, 47, 50, 0, 0, 255, 255, 0, 0, 56, 140, 0, 0, 202, 223, 132, 222, 131, 142, 0, 0, 242, 252, 6, 120, 163, 233, 0, 0, 71, 149, 148, 12, 10, 240, 0, 0, 61, 140, 69, 230, 217, 232, 0, 0, 102, 118, 255, 255, 15, 152, 0, 0, 145, 150, 26, 109, 255, 255, 0, 0, 255, 247, 21, 121, 205, 136, 0, 0, 66, 133, 47, 127, 0, 0, 0, 0, 128, 5, 231, 130, 41, 136, 0, 0)
293
+ }]
294
+ blend_shape_mode = 0
295
+
296
+ [sub_resource type="ArrayMesh" id="ArrayMesh_udoue"]
297
+ resource_name = "static_decorations_Cube_005"
298
+ _surfaces = [{
299
+ "aabb": AABB(-0.827483, -0.561679, -0.939866, 1.15614, 1.088, 2.41989),
300
+ "attribute_data": PackedByteArray(255, 95, 255, 255, 255, 95, 0, 0, 255, 159, 255, 255, 255, 159, 0, 0, 255, 223, 255, 63, 255, 95, 255, 191, 255, 95, 255, 191, 255, 159, 255, 191, 255, 159, 255, 191, 255, 223, 255, 127, 255, 95, 255, 63, 255, 95, 255, 63, 255, 159, 255, 63, 255, 159, 255, 63, 255, 159, 255, 63, 255, 95, 255, 127, 255, 95, 255, 127, 255, 159, 255, 127, 255, 159, 255, 127, 255, 159, 255, 127, 255, 95, 255, 223, 255, 95, 255, 223, 255, 127, 255, 255, 255, 127, 255, 255, 255, 127, 0, 0, 255, 127, 0, 0, 255, 159, 255, 223, 255, 159, 255, 223, 255, 223, 255, 95, 255, 223, 255, 95, 255, 127, 255, 191, 255, 127, 255, 191, 255, 127, 255, 191, 255, 127, 255, 191, 255, 95, 255, 159, 255, 95, 255, 159, 255, 159, 255, 159, 255, 191, 255, 127, 255, 191, 255, 127, 255, 159, 255, 159, 255, 127, 255, 127, 255, 127, 255, 127, 255, 127, 255, 127, 255, 127, 255, 127, 255, 95, 255, 95, 255, 95, 255, 95, 255, 159, 255, 95, 255, 159, 255, 95, 255, 159, 255, 95, 255, 159, 255, 95, 255, 127, 255, 63, 255, 127, 255, 63, 255, 127, 255, 63, 255, 127, 255, 63, 255, 95, 255, 31, 255, 95, 255, 31, 255, 159, 255, 31, 255, 191, 255, 63, 255, 191, 255, 63, 255, 159, 255, 31, 255, 191, 255, 95, 255, 191, 255, 95, 255, 191, 255, 95, 255, 191, 255, 95, 255, 127, 255, 31, 255, 127, 255, 31, 255, 127, 255, 31, 255, 127, 255, 31, 255, 127, 255, 95, 255, 127, 255, 95, 255, 127, 255, 95, 255, 127, 255, 95, 255, 127, 255, 159, 255, 127, 255, 159, 255, 127, 255, 159, 255, 127, 255, 159, 255, 127, 255, 223, 255, 127, 255, 223, 255, 127, 255, 223, 255, 127, 255, 223),
301
+ "format": 34896613399,
302
+ "index_count": 120,
303
+ "index_data": PackedByteArray(77, 0, 7, 0, 26, 0, 77, 0, 31, 0, 7, 0, 74, 0, 18, 0, 39, 0, 74, 0, 40, 0, 18, 0, 68, 0, 14, 0, 48, 0, 68, 0, 52, 0, 14, 0, 65, 0, 3, 0, 56, 0, 65, 0, 25, 0, 3, 0, 60, 0, 4, 0, 28, 0, 60, 0, 57, 0, 4, 0, 47, 0, 58, 0, 63, 0, 47, 0, 12, 0, 58, 0, 17, 0, 62, 0, 38, 0, 17, 0, 46, 0, 62, 0, 37, 0, 29, 0, 9, 0, 37, 0, 61, 0, 29, 0, 54, 0, 24, 0, 64, 0, 54, 0, 1, 0, 24, 0, 10, 0, 67, 0, 51, 0, 10, 0, 55, 0, 67, 0, 50, 0, 59, 0, 13, 0, 50, 0, 66, 0, 59, 0, 45, 0, 53, 0, 71, 0, 45, 0, 11, 0, 53, 0, 16, 0, 70, 0, 43, 0, 16, 0, 44, 0, 70, 0, 42, 0, 49, 0, 19, 0, 42, 0, 69, 0, 49, 0, 35, 0, 41, 0, 75, 0, 35, 0, 15, 0, 41, 0, 6, 0, 72, 0, 32, 0, 6, 0, 34, 0, 72, 0, 33, 0, 36, 0, 8, 0, 33, 0, 73, 0, 36, 0, 20, 0, 30, 0, 76, 0, 20, 0, 5, 0, 30, 0, 0, 0, 78, 0, 22, 0, 0, 0, 21, 0, 78, 0, 23, 0, 27, 0, 2, 0, 23, 0, 79, 0, 27, 0),
304
+ "material": SubResource("StandardMaterial3D_p3fqt"),
305
+ "name": "Material.001",
306
+ "primitive": 3,
307
+ "uv_scale": Vector4(0, 0, 0, 0),
308
+ "vertex_count": 80,
309
+ "vertex_data": PackedByteArray(29, 48, 20, 16, 242, 200, 212, 205, 29, 48, 20, 16, 242, 200, 94, 199, 209, 55, 183, 209, 248, 203, 220, 206, 209, 55, 183, 209, 248, 203, 164, 189, 209, 55, 183, 209, 248, 203, 188, 251, 7, 23, 16, 13, 108, 60, 190, 220, 7, 23, 16, 13, 108, 60, 66, 254, 166, 8, 206, 194, 107, 63, 148, 202, 166, 8, 206, 194, 107, 63, 112, 223, 166, 8, 206, 194, 107, 63, 8, 243, 144, 242, 234, 17, 92, 218, 11, 194, 144, 242, 234, 17, 92, 218, 97, 217, 180, 236, 180, 233, 253, 218, 188, 252, 180, 236, 180, 233, 253, 218, 143, 198, 180, 236, 180, 233, 253, 218, 56, 215, 192, 245, 29, 16, 42, 64, 178, 226, 192, 245, 29, 16, 42, 64, 128, 212, 212, 220, 51, 232, 7, 70, 74, 248, 212, 220, 51, 232, 7, 70, 220, 250, 212, 220, 51, 232, 7, 70, 116, 226, 0, 0, 183, 19, 77, 137, 216, 216, 0, 0, 183, 19, 77, 137, 208, 210, 191, 27, 82, 128, 200, 217, 91, 203, 191, 27, 82, 128, 200, 217, 78, 209, 191, 27, 82, 128, 200, 217, 197, 196, 191, 27, 82, 128, 200, 217, 215, 196, 217, 34, 176, 216, 157, 136, 144, 208, 217, 34, 176, 216, 157, 136, 2, 201, 217, 34, 176, 216, 157, 136, 255, 253, 217, 34, 176, 216, 157, 136, 206, 255, 2, 13, 147, 110, 181, 47, 151, 222, 2, 13, 147, 110, 181, 47, 205, 200, 2, 13, 147, 110, 181, 47, 87, 255, 2, 13, 147, 110, 181, 47, 252, 223, 91, 119, 2, 45, 19, 34, 240, 253, 91, 119, 2, 45, 19, 34, 178, 226, 102, 120, 220, 197, 141, 48, 76, 224, 102, 120, 220, 197, 141, 48, 219, 248, 102, 120, 220, 197, 141, 48, 136, 243, 102, 120, 220, 197, 141, 48, 128, 248, 162, 231, 96, 122, 47, 50, 214, 248, 162, 231, 96, 122, 47, 50, 178, 226, 162, 231, 96, 122, 47, 50, 158, 228, 162, 231, 96, 122, 47, 50, 226, 210, 255, 255, 0, 0, 56, 140, 190, 215, 255, 255, 0, 0, 56, 140, 1, 211, 202, 223, 132, 222, 131, 142, 98, 250, 202, 223, 132, 222, 131, 142, 11, 255, 202, 223, 132, 222, 131, 142, 249, 221, 202, 223, 132, 222, 131, 142, 209, 221, 242, 252, 6, 120, 163, 233, 115, 196, 242, 252, 6, 120, 163, 233, 187, 195, 242, 252, 6, 120, 163, 233, 197, 212, 242, 252, 6, 120, 163, 233, 97, 220, 71, 149, 148, 12, 10, 240, 160, 195, 71, 149, 148, 12, 10, 240, 238, 195, 61, 140, 69, 230, 217, 232, 125, 198, 61, 140, 69, 230, 217, 232, 245, 248, 61, 140, 69, 230, 217, 232, 120, 251, 61, 140, 69, 230, 217, 232, 178, 196, 102, 118, 255, 255, 15, 152, 255, 254, 102, 118, 255, 255, 15, 152, 98, 251, 102, 118, 255, 255, 15, 152, 152, 254, 102, 118, 255, 255, 15, 152, 202, 253, 145, 150, 26, 109, 255, 255, 12, 193, 145, 150, 26, 109, 255, 255, 47, 203, 145, 150, 26, 109, 255, 255, 210, 194, 145, 150, 26, 109, 255, 255, 148, 197, 255, 247, 21, 121, 205, 136, 83, 218, 255, 247, 21, 121, 205, 136, 91, 224, 255, 247, 21, 121, 205, 136, 247, 213, 255, 247, 21, 121, 205, 136, 16, 214, 66, 133, 47, 127, 0, 0, 228, 251, 66, 133, 47, 127, 0, 0, 220, 224, 66, 133, 47, 127, 0, 0, 189, 246, 66, 133, 47, 127, 0, 0, 178, 226, 128, 5, 231, 130, 41, 136, 190, 218, 128, 5, 231, 130, 41, 136, 67, 206, 128, 5, 231, 130, 41, 136, 160, 207, 128, 5, 231, 130, 41, 136, 166, 203, 2, 210, 54, 222, 247, 217, 197, 243, 15, 228, 1, 202, 56, 244, 0, 215, 69, 210, 42, 23, 22, 217, 50, 210, 9, 203, 203, 206, 126, 206, 141, 213, 80, 186, 243, 190, 120, 131, 244, 196, 93, 5, 159, 35, 142, 36, 112, 45, 154, 139, 230, 184, 210, 223, 62, 0, 197, 50, 60, 35, 112, 68, 57, 59, 20, 51, 184, 37, 122, 192, 110, 8, 211, 174, 166, 178, 72, 38, 226, 42, 117, 212, 176, 212, 14, 215, 171, 219, 53, 207, 160, 223, 243, 230, 49, 201, 109, 216, 212, 244, 178, 248, 202, 215, 101, 215, 212, 209, 87, 220, 43, 204, 55, 109, 213, 176, 138, 115, 135, 190, 37, 219, 22, 209, 73, 203, 228, 214, 95, 74, 132, 79, 208, 180, 252, 193, 195, 71, 39, 82, 97, 68, 66, 59, 87, 178, 90, 195, 186, 123, 207, 195, 57, 195, 167, 13, 128, 178, 76, 175, 250, 177, 199, 175, 103, 68, 63, 59, 55, 36, 37, 44, 116, 53, 98, 36, 192, 46, 40, 40, 223, 43, 224, 41, 102, 135, 250, 191, 121, 137, 32, 186, 13, 43, 245, 39, 244, 42, 10, 40, 116, 223, 35, 1, 133, 4, 95, 35, 252, 53, 68, 33, 113, 33, 244, 46, 183, 215, 82, 245, 108, 4, 88, 35, 169, 249, 245, 215, 154, 211, 17, 25, 192, 140, 62, 184, 127, 223, 7, 1, 183, 208, 231, 20, 191, 196, 154, 17, 148, 188, 1, 1, 163, 138, 116, 185, 8, 214, 123, 246, 79, 252, 108, 216, 42, 223, 216, 1, 157, 3, 28, 35, 11, 47, 131, 37, 89, 40, 160, 41, 16, 49, 218, 38, 55, 40, 168, 43, 226, 67, 18, 86, 123, 174, 123, 197, 79, 181, 189, 172, 88, 68, 72, 59, 195, 214, 115, 211, 59, 212, 38, 211, 232, 211, 65, 221, 255, 223, 37, 203)
310
+ }]
311
+ blend_shape_mode = 0
312
+ shadow_mesh = SubResource("ArrayMesh_xfa4y")
313
+
314
+ [sub_resource type="ArrayMesh" id="ArrayMesh_bbdrm"]
315
+ _surfaces = [{
316
+ "aabb": AABB(-0.653205, -0.443002, -1.13319, 1.12694, 0.898984, 2.06574),
317
+ "format": 34896613377,
318
+ "index_count": 120,
319
+ "index_data": PackedByteArray(24, 0, 3, 0, 10, 0, 24, 0, 11, 0, 3, 0, 23, 0, 7, 0, 13, 0, 23, 0, 14, 0, 7, 0, 22, 0, 5, 0, 16, 0, 22, 0, 17, 0, 5, 0, 21, 0, 1, 0, 19, 0, 21, 0, 9, 0, 1, 0, 20, 0, 1, 0, 10, 0, 20, 0, 19, 0, 1, 0, 16, 0, 19, 0, 20, 0, 16, 0, 5, 0, 19, 0, 7, 0, 20, 0, 13, 0, 7, 0, 16, 0, 20, 0, 13, 0, 10, 0, 3, 0, 13, 0, 20, 0, 10, 0, 18, 0, 9, 0, 21, 0, 18, 0, 0, 0, 9, 0, 4, 0, 21, 0, 17, 0, 4, 0, 18, 0, 21, 0, 17, 0, 19, 0, 5, 0, 17, 0, 21, 0, 19, 0, 15, 0, 17, 0, 22, 0, 15, 0, 4, 0, 17, 0, 6, 0, 22, 0, 14, 0, 6, 0, 15, 0, 22, 0, 14, 0, 16, 0, 7, 0, 14, 0, 22, 0, 16, 0, 12, 0, 14, 0, 23, 0, 12, 0, 6, 0, 14, 0, 2, 0, 23, 0, 11, 0, 2, 0, 12, 0, 23, 0, 11, 0, 13, 0, 3, 0, 11, 0, 23, 0, 13, 0, 8, 0, 11, 0, 24, 0, 8, 0, 2, 0, 11, 0, 0, 0, 24, 0, 9, 0, 0, 0, 8, 0, 24, 0, 9, 0, 10, 0, 1, 0, 9, 0, 24, 0, 10, 0),
320
+ "name": "Material.001",
321
+ "primitive": 3,
322
+ "uv_scale": Vector4(0, 0, 0, 0),
323
+ "vertex_count": 25,
324
+ "vertex_data": PackedByteArray(101, 53, 140, 27, 13, 222, 0, 0, 35, 68, 5, 216, 228, 211, 0, 0, 174, 61, 28, 12, 46, 57, 0, 0, 162, 43, 116, 194, 159, 56, 0, 0, 125, 210, 163, 20, 244, 218, 0, 0, 75, 220, 9, 204, 241, 220, 0, 0, 87, 235, 3, 3, 178, 50, 0, 0, 97, 220, 116, 184, 235, 63, 0, 0, 59, 20, 35, 41, 112, 141, 0, 0, 151, 55, 17, 105, 239, 227, 0, 0, 84, 40, 8, 231, 9, 134, 0, 0, 119, 30, 166, 115, 236, 36, 0, 0, 89, 144, 144, 28, 0, 0, 0, 0, 57, 135, 215, 208, 162, 47, 0, 0, 129, 222, 98, 122, 136, 40, 0, 0, 60, 248, 0, 0, 55, 138, 0, 0, 254, 221, 52, 213, 194, 135, 0, 0, 119, 241, 37, 114, 50, 229, 0, 0, 170, 131, 9, 3, 148, 255, 0, 0, 85, 137, 204, 201, 101, 224, 0, 0, 41, 131, 255, 255, 8, 143, 0, 0, 175, 136, 12, 131, 255, 255, 0, 0, 255, 255, 84, 119, 62, 139, 0, 0, 164, 139, 204, 93, 19, 6, 0, 0, 0, 0, 85, 125, 95, 133, 0, 0)
325
+ }]
326
+ blend_shape_mode = 0
327
+
328
+ [sub_resource type="ArrayMesh" id="ArrayMesh_6234b"]
329
+ resource_name = "static_decorations_Cube_006"
330
+ _surfaces = [{
331
+ "aabb": AABB(-0.653205, -0.443002, -1.13319, 1.12694, 0.898984, 2.06574),
332
+ "attribute_data": PackedByteArray(255, 95, 255, 255, 255, 95, 0, 0, 255, 159, 255, 255, 255, 159, 0, 0, 255, 223, 255, 63, 255, 95, 255, 191, 255, 95, 255, 191, 255, 159, 255, 191, 255, 159, 255, 191, 255, 223, 255, 127, 255, 95, 255, 63, 255, 95, 255, 63, 255, 159, 255, 63, 255, 159, 255, 63, 255, 159, 255, 63, 255, 95, 255, 127, 255, 95, 255, 127, 255, 159, 255, 127, 255, 159, 255, 127, 255, 159, 255, 127, 255, 95, 255, 223, 255, 95, 255, 223, 255, 127, 255, 255, 255, 127, 255, 255, 255, 127, 0, 0, 255, 127, 0, 0, 255, 159, 255, 223, 255, 159, 255, 223, 255, 223, 255, 95, 255, 223, 255, 95, 255, 127, 255, 191, 255, 127, 255, 191, 255, 127, 255, 191, 255, 127, 255, 191, 255, 95, 255, 159, 255, 95, 255, 159, 255, 159, 255, 159, 255, 191, 255, 127, 255, 191, 255, 127, 255, 159, 255, 159, 255, 127, 255, 127, 255, 127, 255, 127, 255, 127, 255, 127, 255, 127, 255, 127, 255, 95, 255, 95, 255, 95, 255, 95, 255, 159, 255, 95, 255, 159, 255, 95, 255, 159, 255, 95, 255, 159, 255, 95, 255, 127, 255, 63, 255, 127, 255, 63, 255, 127, 255, 63, 255, 127, 255, 63, 255, 95, 255, 31, 255, 95, 255, 31, 255, 159, 255, 31, 255, 191, 255, 63, 255, 191, 255, 63, 255, 159, 255, 31, 255, 191, 255, 95, 255, 191, 255, 95, 255, 191, 255, 95, 255, 191, 255, 95, 255, 127, 255, 31, 255, 127, 255, 31, 255, 127, 255, 31, 255, 127, 255, 31, 255, 127, 255, 95, 255, 127, 255, 95, 255, 127, 255, 95, 255, 127, 255, 95, 255, 127, 255, 159, 255, 127, 255, 159, 255, 127, 255, 159, 255, 127, 255, 159, 255, 127, 255, 223, 255, 127, 255, 223, 255, 127, 255, 223, 255, 127, 255, 223),
333
+ "format": 34896613399,
334
+ "index_count": 120,
335
+ "index_data": PackedByteArray(77, 0, 7, 0, 26, 0, 77, 0, 30, 0, 7, 0, 74, 0, 18, 0, 39, 0, 74, 0, 40, 0, 18, 0, 68, 0, 14, 0, 48, 0, 68, 0, 52, 0, 14, 0, 65, 0, 3, 0, 56, 0, 65, 0, 25, 0, 3, 0, 61, 0, 4, 0, 29, 0, 61, 0, 57, 0, 4, 0, 46, 0, 58, 0, 62, 0, 46, 0, 12, 0, 58, 0, 17, 0, 63, 0, 38, 0, 17, 0, 47, 0, 63, 0, 37, 0, 28, 0, 9, 0, 37, 0, 60, 0, 28, 0, 54, 0, 24, 0, 64, 0, 54, 0, 1, 0, 24, 0, 10, 0, 67, 0, 51, 0, 10, 0, 55, 0, 67, 0, 50, 0, 59, 0, 13, 0, 50, 0, 66, 0, 59, 0, 44, 0, 53, 0, 70, 0, 44, 0, 11, 0, 53, 0, 16, 0, 71, 0, 43, 0, 16, 0, 45, 0, 71, 0, 42, 0, 49, 0, 19, 0, 42, 0, 69, 0, 49, 0, 35, 0, 41, 0, 75, 0, 35, 0, 15, 0, 41, 0, 6, 0, 72, 0, 32, 0, 6, 0, 34, 0, 72, 0, 33, 0, 36, 0, 8, 0, 33, 0, 73, 0, 36, 0, 21, 0, 31, 0, 78, 0, 21, 0, 5, 0, 31, 0, 0, 0, 76, 0, 22, 0, 0, 0, 20, 0, 76, 0, 23, 0, 27, 0, 2, 0, 23, 0, 79, 0, 27, 0),
336
+ "material": SubResource("StandardMaterial3D_p3fqt"),
337
+ "name": "Material.001",
338
+ "primitive": 3,
339
+ "uv_scale": Vector4(0, 0, 0, 0),
340
+ "vertex_count": 80,
341
+ "vertex_data": PackedByteArray(101, 53, 140, 27, 13, 222, 100, 205, 101, 53, 140, 27, 13, 222, 97, 191, 35, 68, 5, 216, 228, 211, 173, 204, 35, 68, 5, 216, 228, 211, 23, 193, 35, 68, 5, 216, 228, 211, 191, 249, 174, 61, 28, 12, 46, 57, 124, 234, 174, 61, 28, 12, 46, 57, 225, 243, 162, 43, 116, 194, 159, 56, 31, 203, 162, 43, 116, 194, 159, 56, 74, 229, 162, 43, 116, 194, 159, 56, 250, 246, 125, 210, 163, 20, 244, 218, 165, 188, 125, 210, 163, 20, 244, 218, 27, 207, 75, 220, 9, 204, 241, 220, 57, 253, 75, 220, 9, 204, 241, 220, 146, 200, 75, 220, 9, 204, 241, 220, 249, 216, 87, 235, 3, 3, 178, 50, 233, 233, 87, 235, 3, 3, 178, 50, 7, 214, 97, 220, 116, 184, 235, 63, 221, 242, 97, 220, 116, 184, 235, 63, 252, 246, 97, 220, 116, 184, 235, 63, 175, 237, 59, 20, 35, 41, 112, 141, 190, 215, 59, 20, 35, 41, 112, 141, 43, 231, 151, 55, 17, 105, 239, 227, 179, 208, 151, 55, 17, 105, 239, 227, 213, 207, 151, 55, 17, 105, 239, 227, 231, 192, 151, 55, 17, 105, 239, 227, 12, 199, 84, 40, 8, 231, 9, 134, 31, 209, 84, 40, 8, 231, 9, 134, 76, 197, 84, 40, 8, 231, 9, 134, 136, 253, 84, 40, 8, 231, 9, 134, 116, 254, 119, 30, 166, 115, 236, 36, 106, 201, 119, 30, 166, 115, 236, 36, 137, 235, 119, 30, 166, 115, 236, 36, 176, 244, 119, 30, 166, 115, 236, 36, 245, 229, 89, 144, 144, 28, 0, 0, 148, 241, 89, 144, 144, 28, 0, 0, 158, 235, 57, 135, 215, 208, 162, 47, 18, 230, 57, 135, 215, 208, 162, 47, 108, 250, 57, 135, 215, 208, 162, 47, 50, 239, 57, 135, 215, 208, 162, 47, 24, 247, 129, 222, 98, 122, 136, 40, 21, 247, 129, 222, 98, 122, 136, 40, 173, 234, 129, 222, 98, 122, 136, 40, 124, 242, 129, 222, 98, 122, 136, 40, 156, 212, 60, 248, 0, 0, 55, 138, 115, 204, 60, 248, 0, 0, 55, 138, 151, 217, 254, 221, 52, 213, 194, 135, 54, 253, 254, 221, 52, 213, 194, 135, 150, 251, 254, 221, 52, 213, 194, 135, 111, 219, 254, 221, 52, 213, 194, 135, 116, 221, 119, 241, 37, 114, 50, 229, 228, 206, 119, 241, 37, 114, 50, 229, 252, 185, 119, 241, 37, 114, 50, 229, 8, 216, 119, 241, 37, 114, 50, 229, 96, 208, 170, 131, 9, 3, 148, 255, 80, 193, 170, 131, 9, 3, 148, 255, 237, 191, 85, 137, 204, 201, 101, 224, 228, 198, 85, 137, 204, 201, 101, 224, 166, 247, 85, 137, 204, 201, 101, 224, 59, 253, 85, 137, 204, 201, 101, 224, 12, 190, 41, 131, 255, 255, 8, 143, 186, 255, 41, 131, 255, 255, 8, 143, 142, 252, 41, 131, 255, 255, 8, 143, 55, 253, 41, 131, 255, 255, 8, 143, 195, 246, 175, 136, 12, 131, 255, 255, 124, 194, 175, 136, 12, 131, 255, 255, 135, 204, 175, 136, 12, 131, 255, 255, 208, 197, 175, 136, 12, 131, 255, 255, 96, 189, 255, 255, 84, 119, 62, 139, 120, 218, 255, 255, 84, 119, 62, 139, 5, 226, 255, 255, 84, 119, 62, 139, 164, 205, 255, 255, 84, 119, 62, 139, 216, 215, 164, 139, 204, 93, 19, 6, 176, 242, 164, 139, 204, 93, 19, 6, 151, 230, 164, 139, 204, 93, 19, 6, 43, 247, 164, 139, 204, 93, 19, 6, 46, 237, 0, 0, 85, 125, 95, 133, 80, 218, 0, 0, 85, 125, 95, 133, 186, 206, 0, 0, 85, 125, 95, 133, 143, 232, 0, 0, 85, 125, 95, 133, 202, 200, 1, 210, 135, 223, 66, 227, 49, 233, 254, 228, 162, 205, 245, 253, 108, 44, 157, 203, 184, 10, 7, 214, 76, 215, 223, 200, 125, 209, 22, 204, 139, 204, 7, 191, 29, 184, 107, 128, 245, 198, 90, 18, 80, 32, 98, 32, 199, 48, 158, 54, 165, 8, 3, 221, 38, 8, 230, 50, 245, 28, 207, 60, 138, 47, 204, 48, 240, 41, 161, 68, 5, 4, 168, 180, 240, 174, 65, 35, 52, 45, 146, 219, 162, 218, 202, 210, 177, 217, 82, 213, 212, 221, 60, 232, 210, 204, 37, 228, 240, 232, 188, 250, 194, 40, 163, 217, 120, 199, 105, 220, 199, 207, 224, 119, 7, 194, 172, 201, 240, 6, 139, 198, 158, 206, 7, 215, 143, 214, 115, 202, 30, 208, 233, 185, 102, 187, 47, 196, 141, 213, 170, 55, 90, 51, 37, 185, 228, 187, 197, 123, 125, 196, 243, 184, 249, 0, 119, 180, 28, 175, 124, 180, 23, 175, 109, 58, 78, 49, 242, 30, 50, 48, 246, 50, 197, 40, 127, 35, 190, 47, 213, 43, 159, 44, 159, 54, 163, 8, 120, 61, 59, 14, 113, 48, 169, 30, 151, 51, 218, 33, 105, 221, 13, 5, 250, 19, 96, 32, 226, 51, 70, 28, 247, 30, 63, 49, 97, 228, 223, 232, 118, 16, 62, 32, 209, 250, 217, 40, 114, 204, 91, 12, 157, 54, 167, 8, 70, 220, 225, 13, 13, 192, 89, 11, 121, 202, 124, 8, 159, 54, 164, 8, 67, 65, 211, 8, 9, 229, 175, 232, 51, 248, 223, 37, 212, 220, 145, 9, 235, 17, 76, 32, 99, 49, 1, 30, 130, 46, 98, 37, 18, 34, 55, 48, 49, 46, 89, 43, 123, 198, 143, 211, 234, 181, 247, 189, 87, 180, 57, 175, 101, 51, 131, 54, 168, 221, 145, 217, 233, 212, 61, 201, 42, 212, 172, 216, 177, 224, 181, 206)
342
+ }]
343
+ blend_shape_mode = 0
344
+ shadow_mesh = SubResource("ArrayMesh_bbdrm")
345
+
346
+ [sub_resource type="ShaderMaterial" id="ShaderMaterial_qoiwj"]
347
+ shader = ExtResource("4_u6ijw")
348
+ shader_parameter/cloud_rotation_speed = 0.001
349
+ shader_parameter/source_panorama = ExtResource("5_e1e13")
350
+
351
+ [sub_resource type="Sky" id="Sky_ohheq"]
352
+ sky_material = SubResource("ShaderMaterial_qoiwj")
353
+
354
+ [sub_resource type="Environment" id="Environment_6hs5l"]
355
+ background_mode = 2
356
+ sky = SubResource("Sky_ohheq")
357
+ ambient_light_color = Color(0.266667, 0.266667, 0.266667, 1)
358
+ ambient_light_sky_contribution = 0.9
359
+ ambient_light_energy = 6.14
360
+ tonemap_mode = 2
361
+ tonemap_white = 0.8
362
+ glow_enabled = true
363
+
364
+ [node name="HumanVsAI" type="Node3D"]
365
+
366
+ [node name="UI" parent="." node_paths=PackedStringArray("left_score_robot", "right_score_robot") instance=ExtResource("3_udi5o")]
367
+ left_score_robot = NodePath("../GameScene/Robot")
368
+ right_score_robot = NodePath("../GameScene/Robot2")
369
+
370
+ [node name="GameScene" parent="." node_paths=PackedStringArray("ui") instance=ExtResource("1_wdhtf")]
371
+ training_mode = false
372
+ infinite_game = false
373
+ victory_at_score = 3
374
+ ui = NodePath("../UI")
375
+
376
+ [node name="Tree" parent="GameScene/Field/Decorations/static_decorations/Trees" index="0"]
377
+ mesh = SubResource("ArrayMesh_qinsc")
378
+
379
+ [node name="Cylinder" parent="GameScene/Field/Decorations/static_decorations/Trees/Tree" index="0"]
380
+ mesh = SubResource("ArrayMesh_8wst3")
381
+
382
+ [node name="Tree_001" parent="GameScene/Field/Decorations/static_decorations/Trees" index="1"]
383
+ mesh = SubResource("ArrayMesh_qinsc")
384
+
385
+ [node name="Cylinder_003" parent="GameScene/Field/Decorations/static_decorations/Trees/Tree_001" index="0"]
386
+ mesh = SubResource("ArrayMesh_8wst3")
387
+
388
+ [node name="Tree_002" parent="GameScene/Field/Decorations/static_decorations/Trees" index="2"]
389
+ mesh = SubResource("ArrayMesh_qinsc")
390
+
391
+ [node name="Cylinder_004" parent="GameScene/Field/Decorations/static_decorations/Trees/Tree_002" index="0"]
392
+ mesh = SubResource("ArrayMesh_8wst3")
393
+
394
+ [node name="Tree2" parent="GameScene/Field/Decorations/static_decorations/Trees" index="3"]
395
+ mesh = SubResource("ArrayMesh_arqs5")
396
+
397
+ [node name="Cylinder_002" parent="GameScene/Field/Decorations/static_decorations/Trees/Tree2" index="0"]
398
+ mesh = SubResource("ArrayMesh_o3gxj")
399
+
400
+ [node name="Tree2_001" parent="GameScene/Field/Decorations/static_decorations/Trees" index="4"]
401
+ mesh = SubResource("ArrayMesh_arqs5")
402
+
403
+ [node name="Cylinder_006" parent="GameScene/Field/Decorations/static_decorations/Trees/Tree2_001" index="0"]
404
+ mesh = SubResource("ArrayMesh_o3gxj")
405
+
406
+ [node name="Tree3" parent="GameScene/Field/Decorations/static_decorations/Trees" index="5"]
407
+ mesh = SubResource("ArrayMesh_05428")
408
+
409
+ [node name="Cylinder_001" parent="GameScene/Field/Decorations/static_decorations/Trees/Tree3" index="0"]
410
+ mesh = SubResource("ArrayMesh_qwl6c")
411
+
412
+ [node name="Tree3_001" parent="GameScene/Field/Decorations/static_decorations/Trees" index="6"]
413
+ mesh = SubResource("ArrayMesh_05428")
414
+
415
+ [node name="Cylinder_005" parent="GameScene/Field/Decorations/static_decorations/Trees/Tree3_001" index="0"]
416
+ mesh = SubResource("ArrayMesh_qwl6c")
417
+
418
+ [node name="Cube" parent="GameScene/Field/Decorations/static_decorations" index="3"]
419
+ mesh = SubResource("ArrayMesh_4i1hc")
420
+
421
+ [node name="Cube_001" parent="GameScene/Field/Decorations/static_decorations" index="4"]
422
+ mesh = SubResource("ArrayMesh_otkcq")
423
+
424
+ [node name="Cube_002" parent="GameScene/Field/Decorations/static_decorations" index="5"]
425
+ mesh = SubResource("ArrayMesh_udoue")
426
+
427
+ [node name="Cube_003" parent="GameScene/Field/Decorations/static_decorations" index="6"]
428
+ mesh = SubResource("ArrayMesh_6234b")
429
+
430
+ [node name="AIController3D" parent="GameScene/Robot" index="4"]
431
+ control_mode = 1
432
+
433
+ [node name="Sync" type="Node" parent="."]
434
+ script = ExtResource("2_emffh")
435
+ control_mode = 2
436
+ onnx_model_path = "onnx/volleyball.onnx"
437
+
438
+ [node name="Camera3D" type="Camera3D" parent="."]
439
+ transform = Transform3D(1, 0, 0, 0, 0.979925, 0.199368, 0, -0.199368, 0.979925, 0, 2.83, 4.948)
440
+ fov = 53.3
441
+ size = 6.0
442
+
443
+ [node name="DirectionalLight3D" type="DirectionalLight3D" parent="."]
444
+ transform = Transform3D(1, 0, 0, 0, 0.469472, 0.882948, 0, -0.882948, 0.469472, 0, 0, 0)
445
+ shadow_enabled = true
446
+ shadow_blur = 3.446
447
+
448
+ [node name="WorldEnvironment" type="WorldEnvironment" parent="."]
449
+ environment = SubResource("Environment_6hs5l")
450
+
451
+ [editable path="GameScene"]
452
+ [editable path="GameScene/Field/Decorations/static_decorations"]
453
+ [editable path="GameScene/Robot"]
454
+ [editable path="GameScene/Robot2"]
scenes/training_scene/training_scene.tscn ADDED
@@ -0,0 +1,86 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ [gd_scene load_steps=8 format=3 uid="uid://c1n2hpk3re3ba"]
2
+
3
+ [ext_resource type="PackedScene" uid="uid://2x5filmso32a" path="res://scenes/game_scene/game_scene.tscn" id="1_n3jub"]
4
+ [ext_resource type="Script" path="res://addons/godot_rl_agents/sync.gd" id="2_tbt55"]
5
+ [ext_resource type="Shader" uid="uid://cqqclvnx22nd1" path="res://shaders/sky_shader.tres" id="3_h2ned"]
6
+ [ext_resource type="Texture2D" uid="uid://sub808a7bcjm" path="res://textures/sky.exr" id="4_u3spc"]
7
+
8
+ [sub_resource type="ShaderMaterial" id="ShaderMaterial_nx0o6"]
9
+ shader = ExtResource("3_h2ned")
10
+ shader_parameter/cloud_rotation_speed = 0.001
11
+ shader_parameter/source_panorama = ExtResource("4_u3spc")
12
+
13
+ [sub_resource type="Sky" id="Sky_46w4l"]
14
+ sky_material = SubResource("ShaderMaterial_nx0o6")
15
+
16
+ [sub_resource type="Environment" id="Environment_4ynkf"]
17
+ background_mode = 2
18
+ sky = SubResource("Sky_46w4l")
19
+ ambient_light_color = Color(0.266667, 0.266667, 0.266667, 1)
20
+ ambient_light_sky_contribution = 0.9
21
+ ambient_light_energy = 6.14
22
+ tonemap_mode = 2
23
+ tonemap_white = 0.8
24
+
25
+ [node name="TrainingScene" type="Node3D"]
26
+
27
+ [node name="Sync" type="Node" parent="."]
28
+ script = ExtResource("2_tbt55")
29
+
30
+ [node name="Camera3D" type="Camera3D" parent="."]
31
+ transform = Transform3D(1, 0, 0, 0, 0.927184, 0.374607, 0, -0.374607, 0.927184, 0, 3.1, 4.948)
32
+ fov = 53.3
33
+ size = 6.0
34
+
35
+ [node name="DirectionalLight3D" type="DirectionalLight3D" parent="."]
36
+ transform = Transform3D(1, 0, 0, 0, 0.681373, 0.731937, 0, -0.731937, 0.681373, 0, 0, 0)
37
+
38
+ [node name="GameScene" parent="." instance=ExtResource("1_n3jub")]
39
+
40
+ [node name="GameScene2" parent="." instance=ExtResource("1_n3jub")]
41
+ transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 0, 0, -20)
42
+
43
+ [node name="GameScene3" parent="." instance=ExtResource("1_n3jub")]
44
+ transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 0, 0, -40)
45
+
46
+ [node name="GameScene4" parent="." instance=ExtResource("1_n3jub")]
47
+ transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 0, 0, -60)
48
+
49
+ [node name="GameScene5" parent="." instance=ExtResource("1_n3jub")]
50
+ transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 0, 0, -80)
51
+
52
+ [node name="GameScene6" parent="." instance=ExtResource("1_n3jub")]
53
+ transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 0, 0, -100)
54
+
55
+ [node name="GameScene7" parent="." instance=ExtResource("1_n3jub")]
56
+ transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 0, 0, -120)
57
+
58
+ [node name="GameScene8" parent="." instance=ExtResource("1_n3jub")]
59
+ transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 0, 0, -140)
60
+
61
+ [node name="GameScene9" parent="." instance=ExtResource("1_n3jub")]
62
+ transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 0, 0, -160)
63
+
64
+ [node name="GameScene10" parent="." instance=ExtResource("1_n3jub")]
65
+ transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 0, 0, -180)
66
+
67
+ [node name="GameScene11" parent="." instance=ExtResource("1_n3jub")]
68
+ transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 0, 0, -200)
69
+
70
+ [node name="GameScene12" parent="." instance=ExtResource("1_n3jub")]
71
+ transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 0, 0, -220)
72
+
73
+ [node name="GameScene13" parent="." instance=ExtResource("1_n3jub")]
74
+ transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 0, 0, -240)
75
+
76
+ [node name="GameScene14" parent="." instance=ExtResource("1_n3jub")]
77
+ transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 0, 0, -260)
78
+
79
+ [node name="GameScene15" parent="." instance=ExtResource("1_n3jub")]
80
+ transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 0, 0, -280)
81
+
82
+ [node name="GameScene16" parent="." instance=ExtResource("1_n3jub")]
83
+ transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 0, 0, -300)
84
+
85
+ [node name="WorldEnvironment" type="WorldEnvironment" parent="."]
86
+ environment = SubResource("Environment_4ynkf")
scenes/ui/ui.gd ADDED
@@ -0,0 +1,39 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ extends Control
2
+ class_name UI
3
+
4
+ @export var left_score_robot: Robot
5
+ @export var right_score_robot: Robot
6
+
7
+ @onready var winner = $VBoxContainer/Winner
8
+ @onready var get_ready = $VBoxContainer/GetReady
9
+
10
+
11
+ func _ready():
12
+ if left_score_robot:
13
+ left_score_robot.score_label = $LeftScore
14
+ if right_score_robot:
15
+ right_score_robot.score_label = $RightScore
16
+ winner.visible = false
17
+
18
+
19
+ func show_get_ready_text(seconds_remaining: int):
20
+ get_ready.visible = true
21
+ for seconds in range(seconds_remaining, 0, -1):
22
+ get_ready.text = "Get ready! Game starting in: %d" % seconds
23
+ await get_tree().create_timer(1, true, true).timeout
24
+ deactivate_get_ready_text()
25
+
26
+
27
+ func show_winner_text(winner_name: String, seconds_until_deactivated: int = 0):
28
+ winner.text = "The winner is %s!" % winner_name
29
+ winner.visible = true
30
+ await get_tree().create_timer(seconds_until_deactivated, true, true).timeout
31
+ deactivate_winner_text()
32
+
33
+
34
+ func deactivate_get_ready_text():
35
+ get_ready.visible = false
36
+
37
+
38
+ func deactivate_winner_text():
39
+ winner.visible = false
scenes/ui/ui.tscn ADDED
@@ -0,0 +1,61 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ [gd_scene load_steps=2 format=3 uid="uid://dacey0tgdvp5k"]
2
+
3
+ [ext_resource type="Script" path="res://scenes/ui/ui.gd" id="1_a5uno"]
4
+
5
+ [node name="UI" type="Control"]
6
+ layout_mode = 3
7
+ anchors_preset = 15
8
+ anchor_right = 1.0
9
+ anchor_bottom = 1.0
10
+ grow_horizontal = 2
11
+ grow_vertical = 2
12
+ script = ExtResource("1_a5uno")
13
+
14
+ [node name="LeftScore" type="Label" parent="."]
15
+ layout_mode = 1
16
+ anchors_preset = -1
17
+ offset_left = 30.0
18
+ offset_top = 10.0
19
+ offset_right = 40.0
20
+ offset_bottom = 23.0
21
+ theme_override_font_sizes/font_size = 60
22
+ text = "20"
23
+
24
+ [node name="RightScore" type="Label" parent="."]
25
+ layout_mode = 1
26
+ anchors_preset = -1
27
+ anchor_left = 1.0
28
+ anchor_right = 1.0
29
+ offset_left = -30.0
30
+ offset_top = 10.0
31
+ offset_right = -30.0
32
+ offset_bottom = 23.0
33
+ grow_horizontal = 0
34
+ theme_override_font_sizes/font_size = 60
35
+ text = "20"
36
+ horizontal_alignment = 2
37
+
38
+ [node name="VBoxContainer" type="VBoxContainer" parent="."]
39
+ layout_mode = 1
40
+ anchors_preset = -1
41
+ anchor_left = 0.5
42
+ anchor_right = 0.5
43
+ offset_left = -20.0
44
+ offset_top = 120.0
45
+ offset_right = 20.0
46
+ offset_bottom = 40.0
47
+ grow_horizontal = 2
48
+
49
+ [node name="Winner" type="Label" parent="VBoxContainer"]
50
+ visible = false
51
+ layout_mode = 2
52
+ theme_override_font_sizes/font_size = 60
53
+ text = "Winner is..."
54
+ horizontal_alignment = 1
55
+
56
+ [node name="GetReady" type="Label" parent="VBoxContainer"]
57
+ visible = false
58
+ layout_mode = 2
59
+ theme_override_font_sizes/font_size = 60
60
+ text = "Get Ready"
61
+ horizontal_alignment = 1
shaders/sky_shader.tres ADDED
@@ -0,0 +1,15 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ [gd_resource type="Shader" format=3 uid="uid://cqqclvnx22nd1"]
2
+
3
+ [resource]
4
+ code = "
5
+ // NOTE: Shader automatically converted from Godot Engine 4.2.1.stable.mono's PanoramaSkyMaterial.
6
+
7
+ shader_type sky;
8
+
9
+ uniform sampler2D source_panorama : filter_linear, source_color, hint_default_black;
10
+ uniform float cloud_rotation_speed : hint_range(-1,1) = 0.001;
11
+
12
+ void sky() {
13
+ COLOR = texture(source_panorama, SKY_COORDS + vec2(TIME * cloud_rotation_speed, 0.0)).rgb;
14
+ }
15
+ "