Could this be the same problem: Help with look_at() function - #5 by Fryker
If that’s it, you can just rotate after look_at:
func _ready():
var look = target.global_position
look_at(look) # x-axis is pointing at target
rotate(PI/2) # Now y-axis is pointing at target