C
Corablue
Guest
I'm using bbox_top and bbox_bottom for floor and ceiling collision purposes. They don't seem to be working how I imagine they should work. I'll include a few images for visual reference.
As you can see, my character is sinking well into the floor and ceiling before triggering collision events. The debug message here displays three numbers. These are y, bbox_top, and bbox_bottom. So the game is functioning correctly according to these numbers. The problem is these numbers are wrong.
As you can see here, there is a clear 60 pixel difference between the top and bottom of the bounding box. I'm not changing the sprite mask. I have no clue where the game is getting an only 20 pixel difference from. Any help would be really great.
As you can see, my character is sinking well into the floor and ceiling before triggering collision events. The debug message here displays three numbers. These are y, bbox_top, and bbox_bottom. So the game is functioning correctly according to these numbers. The problem is these numbers are wrong.
As you can see here, there is a clear 60 pixel difference between the top and bottom of the bounding box. I'm not changing the sprite mask. I have no clue where the game is getting an only 20 pixel difference from. Any help would be really great.