wall sliding effect
Posted: Wed Jan 30, 2008 1:46 am
i want to know how to make a game where there are two sides (they are invisible actors and they have a physical responce) so... when you walk against it... you cant walk past it. the glitch that happens here is that if you jump, and hold the side that your against (right if your on the right wall and left if your on the left wall) you will stay in mid-air. the thing i need to do is so that when you hold that button against the wall, you slide down, slowly.( and also at the same time change the player animation). if you can please post demos, or if it is simple enough you can just paste the code, or just tell me how to do this...
Thx for the help in advance.
Thx for the help in advance.