D
depress69
Guest
When you call path_add() the first point added is the position of the caller. If the caller's anchor is outside the bounds of their sprite (such as one pixel below a character's feet so they rest on a platform) then when the path is created the first point will end up registering "below" the character.
My solution for this has been...
y--;
path_add();
y++;
This works, but I'm slightly worried about unintended consequences of physically moving a character to force some work. Is there a better solution to this problem than what I've got?
My solution for this has been...
y--;
path_add();
y++;
This works, but I'm slightly worried about unintended consequences of physically moving a character to force some work. Is there a better solution to this problem than what I've got?