So I’m making a very small game for uni and have to make it so the player has to kill all the enemies with in a certain time or the game ends and you have to restart. I’ve looked every where for a tutorial and just want to know how to make an enemy character go into ragdoll when I hit ‘E’ on the keyboard. PLEASE HELP!!!
Rather simple, just get a reference to your mesh, and run this code:
Before I press E
After I press E
1 Like
I tried that but nothing happened. This is what’s on my blueprint for a zombie that’s patrolling back and forth, and an interact code that I made for when the player walks inside the trigger box. In the end all I need is to make it so when the player walks inside said trigger box the player can hit ‘E’ and the zombie goes into ragdoll.
set collision enabled on character mesh to “physics enabled (query and physics)”
its plenty of tutorial that show how to do this