Page 1 of 1

Yet another physical response bug

PostPosted: Thu Nov 09, 2006 5:56 am
by DilloDude
Here is a bug that frequently occurs. It was working fine, but after adding some more things it started happenning. It seems to happen more often in the exported game than in game mode (which is odd, because normally I've found bugs happen more in game mode than in the exe).

I have a physical response function that's being activated on a collision (where else :roll: ). It hase the velocity multiplier to 0, so there is no velocity at the end. When I collide with something, there is usually a slight angle. So if there is a horizontal wall, and I hit the bottom of it, with a slight angle to the right, x should increase by about 1 pixel, and y should increase by about 2 or so (so that I'm no longer colliding). But instead, x increases by way to much, and I go power-sliding along the wall :?: :?: :?: It is fun though...
I'm not sure, but there might be some other occasional problems, but they are probably related.

PostPosted: Wed Dec 06, 2006 6:44 pm
by Troodon
I had that problem earlier with a game called FISU. It was a funny game, pity that it destroyed with my old computer...

PostPosted: Thu Dec 07, 2006 1:53 am
by EvilDragon
Yeah, having similar problems with my pinball game... ball goes through walls, etc.

PostPosted: Fri Dec 08, 2006 12:10 am
by Game A Gogo
you need a bigger wall, because if the velocity is higher then the wall thickness, its going trough.