Hi guys.
When making the paddle follow the mouse I followed your script but for some reason I have an offset of +8 units. I went through all my elements’ inspectors to see whether I have maybe added an offset somewhere. that was not the case. Here’re the code and what it looks like in Unity (the cursor hovering over the little square):
I solved it by adding a “- 8f” to the mix. But it feels like cheating.
Anybody got a hint for me where the offset might come from?
Thanks and happy coding!