Download

Pinning enemy to wall

Any thoughts on what I should look into if I want to pin an enemy to the wall with something like a spear? Im assuming its like a ragdoll effect, but not quite sure what i would do after turning the corpse into a physics object

Maybe you could “attach” the impact bone to the spear as it hits. The attach function call might not work though, but you can try. I figure it would be setting the location of the bone in question with the spear so that the rest of the ragdoll follows along. If you can solve binding the ragdoll to a physics object, you’ve got the main problem sorted.

@ConradG great idea! thanks for the suggestion