Yet another physical response bug

Non-platform specific questions.

Yet another physical response bug

Postby DilloDude » Thu Nov 09, 2006 5:56 am

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.
Image
User avatar
DilloDude
 
Posts: 866
Joined: Tue Jan 24, 2006 9:51 am
Location: Nyerellion
Score: 58 Give a positive score

Postby Troodon » Wed Dec 06, 2006 6:44 pm

I had that problem earlier with a game called FISU. It was a funny game, pity that it destroyed with my old computer...
I can't die, I already tried
~on the forums since GE 1.3.3~
User avatar
Troodon
 
Posts: 1539
Joined: Thu Jan 12, 2006 3:29 pm
Location: HELL
Score: 56 Give a positive score

Postby EvilDragon » Thu Dec 07, 2006 1:53 am

Yeah, having similar problems with my pinball game... ball goes through walls, etc.
Cheers,
EvilDragon.

http://www.gp2x.de
EvilDragon
 
Posts: 10
Joined: Sat Sep 23, 2006 11:10 am
Score: 0 Give a positive score

Postby Game A Gogo » Fri Dec 08, 2006 12:10 am

you need a bigger wall, because if the velocity is higher then the wall thickness, its going trough.
Programming games is an art,
    Respect it.
User avatar
Game A Gogo
 
Posts: 3466
Joined: Wed Jun 29, 2005 10:49 pm
Location: French Canada *laughs*
Score: 181 Give a positive score


Return to General

Who is online

Users browsing this forum: No registered users and 1 guest