private void FixedUpdate()
{
if (Input.GetMouseButton(0) || isStart)
{
isStart = true;
transform.Translate(new Vector3(Input.mousePosition.x * Time.fixedDeltaTime * 0.05f, 0, speed * Time.fixedDeltaTime));
}
}
When the game starts, when I click left on the screen, the object moves to the right instead of to the left. When I right click, it goes right again, but faster. As far as I understand, it considers the leftmost part of the screen as the middle, but why?
