So basically I want to be able to obliterate a guys arm or something, and I figured the best section for that would be in the Scripting forum.
I have a few ideas about how to do it and would like some feedback/maybe tutorials or websites on the subject.
I thought of just creating different parts on my model, for example legs head and arm being split from the rest of the person so I can just delete the part if necessary but I thought that this might mess up animations (but I dunno, never tried this before). What does the Unity community think?
Initially I also thought that also, but the best for this will be to make a small test app with very basic animations, a button (with Destroy(gameObject) and see how it responds when you remove some of the child objects. I would guess that it should work since each part’s transform is animated and captured seperately from each other.
Yeah I guess that is true. I will probably try out the way I stated before searching for other options.
ALSO, is it possible to animate the top part of the player while the legs are, lets say, walking? For example: need a reload animation whilst walking or maybe just need to rotate the arms and head so its looking up whilst walking.
Well for the animation while walking problem, check out the 3D Person Shooter Tutorial. And for the arm problem there’s different ways to go about it.
- You could have it physics based with a bunch of joints that can be broken through force
- Have a script that replaces/ deparents the objects so they can get the effect right if it’s not physics based
- Both
And you can have the script add in more things like blood if you were going for that
Hope this helped 
The best for this will be to have a parent child relationship, then just animate the parent/s. For example, the hand is child of forearm, those 2 are children of upper arm and those 3 are all children of the body. So if body moves, hand, fore and upper are wil move with the body. So now, if you animate the transform of the body, you can animate the head seperate from that, but on the other hand, the body can’t move and leave the head behind, because the head is a child of the body. Catch my drift?
PS. I hope I said this the correct way around, but I think you should still get what I’m saying…
Ok thanks both of you. Your ideas are helping me think of a physical way of doing this and understanding Unity a bit more. 