Actors Squeezing Through Each Other??

Hi so I've been working on this game for a while, but I keep having this problem and I can't seem to get it to go away. My game is an infinite scrolling type game where you score more the farther you can go. There are enemies and blocks that come at you from the right side. The brownish wooden boxes are supposed to hold the enemy heads back, BUT I keep having this problem where as more and more enemies pile up, they seem to squeeze through the actor and I can't seem to stop it no matter what. I've tried messing around with densities, friction, bounciness, etc. but I can't figure this out.

I linked a short video so you could see what I'm talking about. Keep in mind it seems to only happen after the enemy head has been behind the box for a while, or if a bunch of them stack up.

Comments

  • TheAJTurnerTheAJTurner Member, PRO Posts: 18

    Anyone?

  • frdfrd Member Posts: 191

    Without the rules you are using it's really hard to make a guess.

    In your video it looks like a box and an enemy disappear. Is this the problem you are describing?

    What rules are you using to move the enemies, and to collide with the boxes?

  • TheAJTurnerTheAJTurner Member, PRO Posts: 18

    Enemies and Boxes are simply set to move right at about 400 speed. And then i have the simple collide behaviors set up between the main head, boxes, and enemy heads

  • The_Gamesalad_GuruThe_Gamesalad_Guru Member Posts: 9,922

    Make sure the density is all the same for all those actors. Make sure all the collide behaviors are at the top of the code stack and make sure all the actors are in the same layer.

Sign In or Register to comment.