just a part of an actor collide

enixenix Member Posts: 11
edited November -1 in Working with GS (Mac)
hi guys

i've a little probleme, i'm working on a game where a floor need to be destroy, so it perfectly work on the right and left but from up to down no: because the head of my "hero" touch the a part of the floor...

so, how can I separate the collide zone?

thx

Comments

  • enixenix Member Posts: 11
    I got an idea: i use collide or overlaps fuction but i compare the position of the hero and the part of floor
  • UtopianGamesUtopianGames Member Posts: 5,692
    You could have a rule in the hero like....if actor overlaps or collides with platform and X position is > platform X +40...you would need to record the position of the platform X.

    Darren.

    image
  • enixenix Member Posts: 11
    why not, i'll test the two solution and choose the best ^^

    TY
Sign In or Register to comment.