Original Post
Hiya, we've got a problem with our rectangle-based collision system. The player will randomly stop one pixel before the ground. We really can't figure out what the cause is.
We've got the two related C# functions pasted here. It should be enough for someone more experienced to figure it out.
(moveRect is the player and staticRect is the ground we're checking against)
We appreciate any and all help.
We've got the two related C# functions pasted here. It should be enough for someone more experienced to figure it out.
(moveRect is the player and staticRect is the ground we're checking against)
We appreciate any and all help.