Game Maker problem - collision and bouncing - Printable Version +- The VG Resource (https://www.vg-resource.com) +-- Forum: Archive (https://www.vg-resource.com/forum-65.html) +--- Forum: July 2014 Archive (https://www.vg-resource.com/forum-139.html) +---- Forum: Other Stuff (https://www.vg-resource.com/forum-6.html) +----- Forum: Questions, Info, and Tutorials (https://www.vg-resource.com/forum-89.html) +----- Thread: Game Maker problem - collision and bouncing (/thread-19771.html) |
Game Maker problem - collision and bouncing - FormerUser20 - 03-09-2012 So I have some extensively annoying collisions in my game (not due to GM, though, but to my inability to well-ly program this stuff ) and I've posted this on two forums and haven't found a solution. It's a minigame, and four players are bouncing around on a spring mushroom thingy, and I want them to bounce off of each other. The thing is it's horrendously bugged, and they get stuck. A lot. They typically don't get stuck in the air, but they occasionally get spontaneously stuck to each other on the bouncer, and sometimes even 3-4 people get stuck simultaneously. Anyone know how I can fix this? info for player 1: Code: Information about object: objP1Bounce Player 2 is practically exactly the same, except a few AI discrepancies are thrown in. Players 3 and 4 are just child objects of player 2. I have tried dozens of things, making them solid, unchecking precise collision checking, doing a circular mask, and nothing for me is working. RE: Game Maker problem - collision and bouncing - Trainraider - 10-10-2013 I've had this problem for a long time too. Thankfully, I just started physics class in high school. I wrote this code as a script: Code: /* |