How to make bullets collide when hitting collisions?
I'm making a 2d platformer. In this game, I want the bullet to be destroyed when hitting any collisions. The bullets are currently just flying past in front of the collisions. How could I fix this?
Here are some screenshots:
asked Apr 12 '17 at 03:58 PM in Blueprint Scripting
You need to add an event onComponentHit, to find this you need to right click on the component (inside your blueprint) -> add event -> add onComponentHit.
This is also the technique you'll use to know which actor as been touch.
Let me know if is that you needed and have a good day!
answered Apr 12 '17 at 06:11 PM
Nevermind, I just needed to make a capsuleComponent and do the same trick. Problem solved :P
answered Apr 12 '17 at 07:40 PM
Follow this question
Once you sign in you will be able to subscribe for any updates here