Page 1 of 1

Walls and pressure

PostPosted: Thu Feb 19, 2009 3:35 am
by Hedfone
Hey everyone,
i've found that if my character walks into a wall in mid-jump then it will stick to the wall until the direction is released.

I'm using a really basic jump variable (if jump = 0 then let jump etc etc)
and an even more basic movement system (on key down x+=2)

Does anyone know what's wrong and how i might fix it?

Re: Walls and pressure

PostPosted: Thu Feb 19, 2009 4:13 am
by skydereign
Code: Select all
PhysicalResponse(MOVE_EVENT_ACTOR_ONLY, USE_CALCULATED_MASS, 1, 1, 1, 0)

This should work... It is a physical response with the collide actor at 0. There are other methods depending on your walls, ground, and gravity. If this does not work, then I can explain other methods.

Re: Walls and pressure

PostPosted: Sun Mar 08, 2009 7:24 pm
by BlarghNRawr
just make collision with left or right side of wall, then make gravity the same as whatever it is in your game

(i dont remember the exact code because i havent done it in forever :oops: )