The Godot Community Forums are back up and running! Please read the the announcement post for important information on what happened. Thanks!
Enemy AI is Ignoring Engine.time_scale
First, this is from player's script:
if motion == Vector2(0,0): Engine.time_scale = 0.05
And here, from enemy script:
var player = get_parent().get_node("Player") if can_chase == true: position += (player.position - position)/50 look_at(player.position) move_and_collide(motion)
I don't know why the enemy keep chasing the player with full speed. It supposed to slowdown just like rigidbody2D in the scene.