Announcement

Collapse
No announcement yet.

Overlap problem with multiple actors

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

    Overlap problem with multiple actors

    Hi, the problem I have is that I have a turret with a collision capsule.
    And if an actor enters the collision capsule, there is no problem. Everything works, the tower shoots and follows him.
    The problem is when 2 actors or more enter, kill the first one, this one is destroyed and the second one does not detect it.
    The first to be destroyed marks as endoverlap, but in reality there is another actor inside.
    How can I make it detect the second actor inside when the first one has marked an endoverlap?

    #2
    Let's say that, there are 4 actors inside, one dies and one marks outside, but 3 actors are still inside.
    What do I do to detect these living actors?

    Comment


      #3
      Test if actor is alive: IsValid...
      Store array of actors inside the volume (Add / Remove)...

      Comment


        #4
        Thx frank i can solve this with you answer.
        For real thanks
        Last edited by CUERN1T0S; 01-16-2018, 09:43 PM.

        Comment


          #5
          No worries dude...

          Comment


            #6
            I'm the same problem as you! With 1 actor, everything works, but with 2 or more everything starts to go wrong.

            I could not solve my problem with the answer they gave you.

            I discovered with a lot of tests that when more than 1 actor is overlapping the tower, the overlap fails and comes back several times.

            Some of the questions I asked based on this problem. If you can help me, I'd be very grateful.

            The images you have placed no longer exist.

            LINKS:

            https://gamedev.stackexchange.com/qu...the-same-actor
            https://gamedev.stackexchange.com/qu...rs-and-a-tower
            https://gamedev.stackexchange.com/qu...one-warrior-co
            https://gamedev.stackexchange.com/qu...ed-unconfirmed

            https://answers.unrealengine.com/que...2475/view.html
            https://forums.unrealengine.com/deve...ed-unconfirmed

            Links 4, 5 and 6 are the same question only in different places.

            Comment

            Working...
            X