I'm making a Square pong game and require help in getting the paddle to navigate around the square corners correctly.
I'm looking for the paddle to follow round the corner rather than how it is now, where the paddle just changes angle when it gets to the corner.
I've provided an image to show what i'm after. The white block is the paddle, as you can see, it wraps around the corner which is how i want it.
I've tried doing it with the paddle being made up of 4 square sprites and when it gets to a corner, it moves round it one square at a time. It kind of works but i'm look for more precsion where the amount of block going around the corner is dependant of how far you go around the corner (Hope that made sense )
I've provided a capx (Thanks to SimoneT for help with the capx), I'd appriciate any help on this.