killing pawn but capsule still follows player actor around
After I kill off a NPC, it goes to ragdoll, but I suspect that it's capsule still follows the player around because it keeps getting blocked by something I can't see.
I can destroy the capsule but then when I stop the mesh simulation, it falls through the ground.
The simulation makes the NPC ragdoll wither around, which is fine for a few seconds, but then I want to stop the sim and just have the NPC lay where it is and do something about the capsule so that it isn't having any collision.
asked Oct 04 '15 at 02:19 AM in Blueprint Scripting
After looking at my BP from all those months ago, this is what I did:
I put a notify on the animation asset that plays the death motion (I opted not to use ragdoll, for other reasons)
The notify sends a trigger that disables the NPC's capsule collision.
There is an additional isDead variable being set in there, which is for my use only and has nothing to do with disabling the capsule. You don't need that node.
If this helps, send some karma my way :)
hi here you have the answer destroy the capsule component of the enemy and no longer give you greetings
answered Nov 22 '18 at 01:31 AM
Follow this question
Once you sign in you will be able to subscribe for any updates here