Page 1 of 1

Wall sticking

PostPosted: Tue Sep 13, 2005 9:49 am
by Snowfly
When I create a character using the steps in the gravity tutorial, pressing him against a wall mid-jump causes him to stick until you let go off the direction button (left or right in this case).

This also happens in the Abuse demo. Does anyone have a quick workaround?

One way I found was to set the left/right physical reaction to 1.0 to make an actor slide down the wall at his gravity rate. But it only seems to work appropriately with perfectly vertical walls.

PostPosted: Tue Sep 13, 2005 7:58 pm
by Game A Gogo
maybe this: do a Var called: Walk when 1=walk 0=canot walk, so do a key down event:

Left:
Code: Select all
if (Walk==1)
[
x=x-1;
]


Right:
Code: Select all
if (walk==1)
[
x=x+1;
]


and on "left or right side" for the colision of the platform, do:
Code: Select all
walk=0;
and "top or down side" colision of the platform:
Code: Select all
walk==1;


this will(if im right) do:
when the Player walk in the air(jumping) when he colide left or right side of platform, he will fall whitout mouving, like he was unconsious when hiting the wall.

hope it work 8)