Announcement

Collapse
No announcement yet.

Problem with DESTROY ACTOR and BoxTrigger

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

    Problem with DESTROY ACTOR and BoxTrigger

    Hello,
    I have make a weapon pickup system who if I press "E" when i look the weapon & when I'm in the BoxTrigger, The weapon is destroy :
    Click image for larger version

Name:	_9Fnp1S3QAW5XSBGt5Ke0Q.png
Views:	1
Size:	190.3 KB
ID:	1225181

    But next to the weapon, I have ammo for the weapon and the boxTrigger of the weapon and of the ammo are in each other like this :
    Click image for larger version

Name:	abfX7iz9TSqVZIGIdnELFw.png
Views:	1
Size:	759.7 KB
ID:	1225180

    So I don't know why, when I press E when I look the weapon, In the blueprint of ammo, he considered me like i'm not in the boxtrigger of the ammo so i can't take ammo.


    Thanks for your help !

    #2
    Help please, I don't understand why my blueprint program do this :/

    Comment


      #3
      Maybe a linetrace from the character could be used instead, so when you look at the weapon and press E within a certain distance you can pick it up, and the same with the ammo and delete the "Triggerboxes".
      Or use a overlap event for the ammo so it picks up the ammo when you are inside the box automatically, and when you press E you get the weapon.

      Comment

      Working...
      X