How do I make a 2D object follow the player without flying and rotating?

I am new to Unity, and I am currently learning with the Playground Project. I am making a giant spider follow the player, but there is a problem. Whenever the player jumps the spider flies after it, and whenever the player jumps over the spider it turns around by rotating. I’ve attached a screenshot of the Rigidbody 2D and Follow Player script.


@njjeppson Did you manage to solve this issue? I’m having the same problem.