My sprites are smearing like this:
While I am using this script:
public class xyMovement : MonoBehaviour
{
float horizontalInput;
float verticalInput;
// Start is called before the first frame update
void Start()
{
horizontalInput = Input.GetAxis("Horizontal");
verticalInput = Input.GetAxis("Vertical");
}
// Update is called once per frame
void FixedUpdate()
{
horizontalInput = Input.GetAxis("Horizontal");
verticalInput = Input.GetAxis("Vertical");
transform.Translate(new Vector3(horizontalInput, verticalInput, 0));
}
}
My Components look like this for the simple white box sprite, and the other sprites components are not too off from normal either.
I’m pretty inexperienced at this point, but I have no idea what could be causing my images to behave like paint brushes instead of simply transforming from one position to another. I have used multiple types of movement and they have all yielded similar results. Thank you very much in advance!