What is the best way to implement severing (dismemberment)

Hello,

I’m wondering what is the best way to sever 3D characters using mouse. Animation, physics or both? For example when the cursor hovers over the leg I want it to detach from the body.

Thanks

Animation would probably be the easy way, to make it look good.

But if you setup your mesh in such a way that each piece of your model was a separate mesh, you could script it quite well.

Essentially if you make a hierarchy of piece you can remove, you can take the clicked object and set it’s transform.parent to null. This makes it it’s own independent game object.

The challenge would be making the model look correct both fully connected and torn apart.

Another option is to use Joints and breakForce(s) for physics-based scenarios. That will get you closer to things like blowing objects apart based on proximity to explosions etc.

hi i reccomend this:

it will solve your problems

i think 4 years later the op does not mind any more. especially when he was not active here for 3 years.

however googlers from the future like me appreciate it.

4 Likes