Enemy Collision Problem

Discussion in 'How Can I...?' started by Glided, Jul 2, 2021.

Tags:
  1. Glided

    Glided Boxer

    Joined:
    May 23, 2021
    Messages:
    4
    Likes Received:
    1
    How can i make my enemies hit my character but also not colliding with enemies? Screenshot 2021-07-02 204726.png
     
  2. Vlad-NY

    Vlad-NY Serious Boxer

    Joined:
    Jul 21, 2018
    Messages:
    605
    Likes Received:
    361
    Select your enemies, check their collision group, mark them as enemies and you should be good

    In character add a collider that collides with Enemy collision group and then link to your death logic and play the game
     
    Jaro likes this.
  3. Glided

    Glided Boxer

    Joined:
    May 23, 2021
    Messages:
    4
    Likes Received:
    1
    Yeah but i meant that i want my enemies to pass through themselfs
    Like a zombie passes thru a zombie but still be able to hit character
     
  4. wmfear

    wmfear Avid Boxer

    Joined:
    Apr 6, 2018
    Messages:
    165
    Likes Received:
    89
    Have you set «affected assets» to Character, instead of All?
     
    Last edited: Jul 4, 2021
    Glided likes this.
  5. Vlad-NY

    Vlad-NY Serious Boxer

    Joined:
    Jul 21, 2018
    Messages:
    605
    Likes Received:
    361
    change your collision group to Character from All and they will pass through each other
     
  6. Glided

    Glided Boxer

    Joined:
    May 23, 2021
    Messages:
    4
    Likes Received:
    1
    yeah but they will start falling and passing thru the ground if i do so
     
  7. Glided

    Glided Boxer

    Joined:
    May 23, 2021
    Messages:
    4
    Likes Received:
    1
    Never mind i got it now
    Just had to put The platforms into character group so they wont fall XD
    well thanks for the help.
     
    wmfear likes this.

Share This Page