by skydereign » Fri Jun 08, 2012 3:57 pm
Separating the collisions allows you to have more control, and you can prevent certain problems you would otherwise encounter. But at least for me, it makes more sense to split them into different events (colliding with the ground is rather different than colliding with walls). I usually use three collision events, one for the top side of the ground (resets the animation if jumping), the walls (uses the anti-stick code, and sometimes wall slide/wall jump), and the ceiling (just stops you).