In the game I'm trying to make (top down view), my characters can move in a grid made of 32 * 32 cells. This is usually working fine apart from a little bug.
At the moment, they can move in a spaceship, like in Faster Than Light basically.
If the ship moves, let's say by 96px to the right, and a character is also moving to the bottom, the character ends up out of the ship. I'd like the character to move relatively to the position of the ship.
How would you do that? Do you think you can achieve this with the pin behaviour?
EDIT: I Forgot to mention that I was using the MoveTo plugin if that makes any difference