|
I am trying to get a camera to follow my 2D character smoothly and am having issues. It seems that the camera appears to work for a while and then when it goes too far to the left or right it just keeps moving until I am off screen. Here is my code if anyone wants to help me. I dont know what I am doing wrong. to me my code says if the camera is 50 units to the left or right of the character move towards the character, but perhaps i am missing something. PLEASE someone help me. ps: mrLock is my character i am calling upon.
(comments are locked)
|
