BlockBreaker: Mouse Conversions not working

So my mouse conversions don’t work. Somewhere along the beginning of this project I must have missed something. My camera goes from -8 to 8 on the x-axis (not 0 to 16) and -6 to 6 on the y-axis.

I assume this is what’s screwing up my ability to translate the mouse coordinates correctly- but I have no idea how to correct for this without starting the project over. I can get the minX and maxX to clamp correctly, but the mouse doesn’t correlate to the paddle’s position well at all.

1 Like

Get your camera’s transform position. It should be 8,6,-10.

1 Like

This topic was automatically closed 24 hours after the last reply. New replies are no longer allowed.

Privacy & Terms