sprite flip enemy

Hello! I’m looking for a way to turn the mob model towards the player, I created my own signal, but the mob does not react to the player






It looks like you might not be formatting the connect function properly. I think it should look something like

func _ready():
	Signals.player_pozition_upgrade.connect(_on_player_pozition_upgrade)

func _on_player_pozition_upgrade(player_pos):
	player = player_pos

Did not help (

It looks like you’re not calling your chase_state function, except once in your _ready function. That’s only going to call it one time (so the enemy’s sprite is only going to update one time), right when the script loads. Try calling the function in _physics_process, before move_and_slide.