how can I kill my character if he stops running or moving
I'm making an endless game and I want my character to be killed if he stop running or moving.
asked Nov 08 '17 at 07:15 PM in Blueprint Scripting
I think for real game, here should be some better logic, but as answer, try this:
answered Nov 08 '17 at 11:23 PM
Do you really need it to be killed/destroyed?
Maybe it is better to simply play some "death" animation, show some "Game Over" UI and restart level?
If you want to destroy it, you will need to respawn it again and maybe get some errors if something referencing it.
answered Nov 09 '17 at 08:19 AM
Follow this question
Once you sign in you will be able to subscribe for any updates here