Client send data to server
This commit is contained in:
parent
9d14a42388
commit
b5fd5947ff
@ -18,6 +18,7 @@ func _process(delta):
|
||||
|
||||
if move:
|
||||
move_along_path(base_movement_speed * delta)
|
||||
ServerConnection.send_player_position(global_position)
|
||||
|
||||
func move_along_path(distance : float):
|
||||
var start_point := global_position
|
||||
|
Reference in New Issue
Block a user