How to detect when spawned actor touches other actor
Hello, I'm a beginner with Unreal.
So what I'm trying to do is spawn a bullet which would fly foward, if it touches one of the randomly spawned EnemyAI Actors then the EnemyAI would be destroyed and the player would get points. ![alt text]
What I've done for the spawned bullet movement is when you press a key, it moves forward using Forward Vector (wherever the Player is facing).
The problem is, I have no idea how to detect when the spawned bullet touches any of the spawned EnemyAI Actors... I've only worked with the Player Character touching actors... Not other actors. How should I get this to work? Thanks.
A linetrace with the hit info, (for checking distant hits) or overlap events should do the trick.
Also, a delay in a tick works?
answered Oct 29 '18 at 06:09 AM
Follow this question
Once you sign in you will be able to subscribe for any updates here