From 62039380a67b6da396d1c8d745d2e2625ba988fc Mon Sep 17 00:00:00 2001 From: Anson Bridges Date: Thu, 22 Sep 2022 08:24:37 -0400 Subject: network lag? camera and movement controller merged to same gdnative script --- godot/scripts/GameBase.gd | 6 ++++++ 1 file changed, 6 insertions(+) (limited to 'godot/scripts/GameBase.gd') diff --git a/godot/scripts/GameBase.gd b/godot/scripts/GameBase.gd index 89d457b..cff8bf4 100644 --- a/godot/scripts/GameBase.gd +++ b/godot/scripts/GameBase.gd @@ -114,3 +114,9 @@ func get_client_id() -> int: func is_chatting_f() -> bool: return is_chatting + +func get_players_info(id: int, index: int) -> String: + return players_info[id][index] + +func set_player_char(character: RigidBody) -> void: + player_char = character -- cgit v1.2.3