unity 2D (look at) object disappears
<p>I have a moving object that I want to look at the target it's moving towards, here is my code:</p>

<pre><code>void Update ()
{
    transform.LookAt( target.transform.position);
}
</code></pre>

<p>The problem is the object does look at the target while moving, but it disappears from the screen, but it's there at the same :/</p>

<p>Edit: Since the game is in 2D view, the object kinda turns sideways, so when I was talking about it disappearing but still there, what is really happening is that it turns and faces the object it's looking at. I hope that makes things more clearer. </p>