disable server physics

This commit is contained in:
Spencer Killen 2024-05-26 07:24:38 -06:00
parent 2005ef652e
commit 55d26874bd
Signed by: sjkillen
GPG Key ID: 3AF3117BA6FBB75B
3 changed files with 6 additions and 5 deletions

BIN
blends/level_mesh_library.blend (Stored with Git LFS)

Binary file not shown.

View File

@ -47,8 +47,8 @@ script = ExtResource("5_2tyle")
[node name="GridMap" type="GridMap" parent="." index="6"]
mesh_library = ExtResource("6_d34iv")
cell_size = Vector3(0.928, 1.079, 0.928)
cell_size = Vector3(0.928, 1.005, 0.928)
data = {
"cells": PackedInt32Array(2, 3, 655363, 3, 2, 655364, 3, 3, 655364, 4, 3, 655364, 5, 3, 655364, 65540, 5, 655364, 65539, 4, 655364, 65539, 3, 655364, 131075, 3, 655364, 65541, 3, 655366)
"cells": PackedInt32Array(2, 3, 655363, 3, 2, 655364, 3, 3, 655364, 4, 3, 655364, 5, 3, 655364, 65540, 5, 655364, 65539, 4, 655364, 65539, 3, 655364, 131075, 3, 655364, 65541, 3, 655366, 65543, 1, 1441813, 65545, 1, 1441813, 65543, 0, 1441813, 65545, 0, 1441813, 6, 3, 1441839, 65542, 3, 1441839, 131078, 3, 1441839, 196614, 3, 1441839, 262150, 3, 1441839, 327686, 3, 1441839, 393222, 3, 1441839, 524294, 3, 1441839, 458758, 3, 1441839, 589830, 3, 1441839, 655366, 3, 1441839, 720902, 3, 1441839, 786438, 3, 1441846, 7, 3, 1441839, 8, 3, 1441839, 9, 3, 1441839, 65543, 3, 1441839, 65544, 3, 1441839, 65545, 3, 1441839, 196617, 3, 1441837, 196616, 3, 1441837, 196615, 3, 1441837, 10, 3, 1048642, 11, 3, 1048642, 12, 3, 1048642, 13, 3, 1048642, 14, 3, 1048642, 15, 3, 1048642, 16, 3, 1048642, 17, 3, 1048642, 18, 3, 1048642, 19, 3, 1048642, 20, 3, 1048642, 21, 3, 1048642, 22, 3, 1048642, 23, 3, 1048642, 24, 3, 1441856, 24, 1, 64, 25, 3, 63, 25, 2, 655433, 25, 1, 655433, 25, 0, 655433, 25, 65535, 655433, 25, 65533, 655433, 25, 65532, 655437, 26, 65534, 655436, 25, 65531, 655425)
}
metadata/_editor_floor_ = Vector3(0, 1, 0)
metadata/_editor_floor_ = Vector3(0, 0, 3)

View File

@ -6,6 +6,7 @@ var next_port_num := master_server_port + 1
const MAX_CLIENTS = 4095
func _ready():
PhysicsServer3D.set_active(false)
var m = SceneMultiplayer.new()
get_tree().set_multiplayer(m, %LobbyList.get_path())
var peer := ENetMultiplayerPeer.new()