Transitioning between different collision boxes.

ICLHStudios

  • Posts: 88
This is a problem I've had in a couple of different games I've tried making, but never managed to solve it satisfactorily.

So, I generally really want to make collision boxes match as closely as possible with the sprites of the player character, but have some trouble, especially with slopes. If the base of the collision box (and the sprite as well) matches the angle of the ground they tend to glitch out a bit when transitioning between different angles.



This is just a specific example, but I've run into variants of this problem or transitioning between miss-matched collision boxes a couple times.
Go here to begin reading my fantasy webcomic, updated every Thursday: http://fav.me/d674ji2