dowload here
http://naillproductions.synthasite.com/resources/stacking.zip
well this is a long awaited moment for me. the moment I dont have to do any more polygon physics maths! I generally like physics maths when it comes to particle based simulations but polygons were necessary for a few game ideas had and they are finally out of the way. It looks pretty nice too. Also to simplify things and allow for concave shapes and more flexibility the polygon edges are 6 pixels thick. The next major milestone will be a fluid engine to go along with it.
Have you seen this article:
wwwgamedevnet/reference/programming/features/verletPhys/default.asp (with .s' in the right place)
it looks like that might be exactly what you're doing but it might help. I was able to do some super speedy collisions using code based off that article. Total BS from a physics standpoint tho.
DKM101 1 year ago
@DKM101 actually yeah I have seen that paper and thats the first thing I tried. It worked ok but I tested out some more methods and I think this one works best. Thanks for the suggestion though.
natethegreatBlitzMax 1 year ago