I've got this mouse aim script. The horizontal component (commented out in the screenshots and debug footage) works just fine, but the vertical component for some reason does not stop at the mouse but continues on past it until it hits the limit. I've checked by asking it to print aimpoint2 (the vertical aim target variable), and sure enough, the movement on the y axis is recorded down past the thousandths, so I'm not sure why it's doing this. Can someone help me out here?
(P.S. - the input "aim" is actually the drag camera input - it's a carry over from when I was trying to make it in first person)