Overlaps / Collide (different layers)

sebmacflysebmacfly Member Posts: 1,018
edited June 2012 in Working with GS (Mac)
Hi :)

I'm having a problem with collision detection...

I'm making a shoot'em up game, and i have 5 layers.

On the Ship rules, i'm using "if overlaps or collide" with walls, that will make my ship to explode.
But : My ship is not in the walls "layer", so apparently the collision detection don't work...
When on same layer, all is ok.
For some reason, i don't want to put the walls in the same layer as ship.

Any help on that?

Thank you

Answers

  • The_Gamesalad_GuruThe_Gamesalad_Guru Member Posts: 9,922
    edited June 2012
    Try Puting it in a tag and make it collide with the tag. I shouldn't matter if it's on another layer that is weird. I just tested on one of my games and I moved a wall to another layer and it works fine although I use tags for collide that way I don't have to have 10 collide behaviors.
  • sebmacflysebmacfly Member Posts: 1,018
    Thanks man, but already tryed that... i'm always using tags, better to organise the actors...
    Not working. :(
Sign In or Register to comment.