Hi! I’m working on a game where the player controls a box character that moves around the sides of a rectangle. The rectangle (or “center block”) can rotate, and I want the character to stay aligned and move smoothly along its perimeter—even as it rotates.
I’m not using the built-in “Rectangular Movement” behavior, because I want more control and rotation support. I’ve tried placing 4 points around the rectangle and moving the character between them, but I’m not sure if I’m doing it in the best way.
What’s the easiest and cleanest way to make this movement work—especially while allowing the rectangle and the path to rotate?
Thanks in advance!