Hi,
it’s about the moving actor moving by one square. The square movement works, but sometimes the actor moves two squares and sometimes it moves backwards. The actor should always move 1 square and not 2 squares.
Can you show what it might be overlapping with? ( What’s the game area like? )
It’s usually a good idea to check.
When the character is in the collision, the actor should keep moving.
Right, but the problem is, that it can register a new overlap before you’ve finished the most recent one. So you need something like that.
Is there a different way to do this to make it work the way I want it to?
Not really
You have to cope with the fact that multiple overlaps can happen.
Thanks for your support!
1 Like