Objects overlapping each other when they are crammed in between 2 walls, help!

GLJ27GLJ27 Member Posts: 27
edited November -1 in Working with GS (Mac)
So Im making this game and I gave a box made of walls and you drag shapes into this box but if you cram a bunch of them in there they start to overlap each other how do you make it so that they just overpower the wall instead of overlapping each other?

Comments

  • GLJ27GLJ27 Member Posts: 27
    bump
  • GLJ27GLJ27 Member Posts: 27
    Help please
  • svnsvn Member Posts: 445
    Do they have a Collide rule? That could be the problem.
  • GLJ27GLJ27 Member Posts: 27
    help! please
  • JohnPapiomitisJohnPapiomitis Member Posts: 6,256
    If im understanding correctly try putting the collide behavior in both actors that collide with each other, and try raising the denisty of them to something like like 50000. Also post a video of the problem if you can, it will be alot easier to help you. Im not even sure if im understanding your problem right
  • GLJ27GLJ27 Member Posts: 27
    The 500000 density thing didnt work, I'll see if i can post a video or at least a snapshot
  • GLJ27GLJ27 Member Posts: 27
  • tenrdrmertenrdrmer Member, Sous Chef, Senior Sous-Chef Posts: 9,934
    If you are dragging them in with a constrain behavior the constrain will override the collisions causing an overlap. And if you have unchecked movable the box wall will not ever give for any reason so really its gonna take some trickery to get it to work right. Something that basically determines an amount of pressure inside the box. Prob gonna take a lot of math and a lot of trial and error.
  • MetzoPainoMetzoPaino Member Posts: 195
    I'm not 100% sure, but is my thread through the link below a similar problem where collidable objects are not stopping things reacting to physics?

    http://gamesalad.com/forums/topic.php?id=27847&replies=1#post-208439
    I've added a video to help show the problem incase the are fundamentally the same.
Sign In or Register to comment.