Hi, i'm trying to modify FLADE (flash dynamics engine) to have circle-to-circle collisions, but I'm having some trouble. I didn't want to use flash at all, so I'm using a BlitzMax port of flade, located at www.doozey.com/downloads/flade_06a_bmx.zip. Ok, so I implemented a circle vs circle collision algorithm i found at http://www.blitzbasic.com/Community/posts.php?topic=55823 (the code i used was the lower one, submitted by Jim Brown) The problem is that if i place many circles above an incline beside a wall, making them pile up, the weight of the circles pushes the bottom ones more or less into the ground, which sometimes makes a kind of "explosive" effect that sends one of the circles on the bottom shooting up very fast. Is this natural or can it be fixed? Does it have something to do with the fact that Flade uses a velocity-less implementation for particles? (i.e. it stores the current position and the previous position and figures the velocity from that). Thanks for any help u can give.
|