- Home /
Question by
ZactarZero · Sep 18, 2018 at 05:43 PM ·
input.getaxismouse input
Quick question about the precision of Mouse X and Y axes
I was making a camera controller and started wondering about this. Does the Mouse X and Mouse Y axes only go from -1 to 1 like other axes? If so, it doesn't seem very precise, so what would be a better solution?
Comment
Best Answer
Answer by Bunny83 · Sep 18, 2018 at 09:13 PM
No, "Mouse X" and "Mouse Y" are delta values. They contain how many pixels the mouse has moved since the last frame. Therefore this is already delta information which must not be multiplied by Time.deltaTime since it is already relative to the real world time and frame rate independent.