I'm trying to make a 2d platformer-like game, but the character sinks into the ground. also, my character's hitbox is in the middle of him, so he sinks halfway into the bottom of the scren. Does anyone have any suggestions to fix this?
I'm trying to make a 2d platformer-like game, but the character sinks into the ground. also, my character's hitbox is in the middle of him, so he sinks halfway into the bottom of the scren. Does anyone have any suggestions to fix this?
Adjust position when touching so it is not touching. Knowing the direction of movement that got the actor to touch is useful in determining which way to adjust the actor's position.