Hello. I am making my very first game and it is an fps which I am using raycast as things to fire out of the gun. I was wondering how do I make it so that way when the raycast comes in contact with the enemy it destroys the enemy. Thanks! p.s the picture is the blueprint I have for the raycast as of now.
On the hit result, pull out a pin from ‘hit actor’ and type ‘Destroy Actor’.
Thank you so much!