fully sync player movements over network

This commit is contained in:
2023-01-17 13:54:26 +01:00
parent 1ef5d54d6c
commit 9893bc45b4
19 changed files with 434 additions and 62 deletions

View File

@@ -28,13 +28,14 @@ func load_gltf(file, parent = self, hasCollision = false, trimesh = false):
fileBytes = snd_file.get_buffer(snd_file.get_length())
gltf.append_from_buffer(fileBytes, "", gltf_state)
print("Loading ", EXTERNAL_PATH + file)
var node = gltf.generate_scene(gltf_state)
parent.add_child(node)
var node = gltf.generate_scene(gltf_state) as Node
parent.add_child(node)
get_all_entities(node)
if not hasCollision:
return node