How to prevent two actors from overlapping

Hi guys,

Im new to GS and been trying to solve this problem for the past few days.

I have an actor HERO and multiple enemy actor called ENEMY. Every enemy actor looks the same. The problem that im facing is everytime when two enemy actor chases the hero actor, the enemy actor tends to overlap each other. Is there away to solve this?


Thanks in advance.

Comments

  • -Timo--Timo- Member Posts: 2,313
    let them collide to eachother? so collide enemy with enemy?
  • ganeshjiwa51ganeshjiwa51 Member Posts: 12
    Hi timolapre1998,

    Thanks for your reply.

    If I collide them, they look as in one above the other. they dont look as in the same ground level with the hero. This makes it look like one enemy is infront and the other enemy is on top of the 1st enemy.

  • -Timo--Timo- Member Posts: 2,313
    how do you have it in mind then? you don't want them to overlap each other and you don't want to collide? then I cant see another possibility how to fix this...
  • ganeshjiwa51ganeshjiwa51 Member Posts: 12
    edited October 2013
    this is how i want it to look like

    image

    but this is what im getting

    image

    image


    the two enemy actor will go over each other when they move up and down. sometimes the enemy actor at the front goes behind the actor which is at the back.
  • ganeshjiwa51ganeshjiwa51 Member Posts: 12
    edited October 2013
    this picture should explain my problem

    image
  • ganeshjiwa51ganeshjiwa51 Member Posts: 12
    ***
    image
Sign In or Register to comment.