Grenade Visuals - How to implement explosion logic to ragdolls as you have said

Hello, I would just like to ask for some advice on how to implement the explosion/bullet logic to ragdolls. I have tried using OnCollisionEnter for the bullets but when implementing the same with the grenade I got stuck. Is there any advice you could give?

You could modify the Damage function to receive the Damager object, then when the damage is enough to die ask that object for it’s position in order to apply force to the Ragdoll
Alternatively you could make the grenade damage Units and after that do another OverlapSphere and this time search for Ragdolls and if you find any apply a force to them.

1 Like

This topic was automatically closed 24 hours after the last reply. New replies are no longer allowed.

Privacy & Terms