so i am getting pretty used to all the functions on unity but i need a little help on this one, I need help with a way to start this script
1 Answer
1Short reply:
you usually set-up a trigger collider (for example a sphere) around your object, and create the ontriggerenter function (go look it up on the api for example usage).
Said function will let you perform any desired code, so you can literally base your trigger on a specific collision matrix combination and run your go-ragdoll function on desired conditions.