Show network Ping & start AI behaviour tree
This commit is contained in:
@@ -47,7 +47,11 @@ func _process(_delta):
|
||||
label.text = "H Velocity: %3.2f" % [Vector2(velocity.x, velocity.z).length()]
|
||||
label.text += "\nV Velocity: %3.2f" % [velocity.y]
|
||||
label.text += "\nOn floor: %s" % is_on_floor()
|
||||
label.text += "\nNetwork ID: %d" % multiplayer.get_unique_id()
|
||||
if(multiplayer.get_unique_id() == 1):
|
||||
label.text += "\nNetwork ID: HOST"
|
||||
else:
|
||||
label.text += "\nNetwork ID: %d " % multiplayer.get_unique_id()
|
||||
label.text += "(%dms)" % Network.delta_latency
|
||||
|
||||
func get_move_direction() -> Vector3:
|
||||
var input_dir := Vector2(
|
||||
|
||||
Reference in New Issue
Block a user