- Home /
Game character - attach/detach weapons and stuff
Just a quick question, please give me a brief guidance. If in the game I need to have some areas or places on the character where I may want to attach some stuff, anything, it can be weapons, backpacks, ammo, other stuff, how do I do this? Do I need to add some dummies to those places in 3ds max and then attach tools in the game to those dummies? Or Unity engine allows to create such attachment places directly?
In general, is it better to make it in 3DS Max or Unity? And shortly, how should I do it? Just a few suggestions, please.
Answer by Laiken · Jun 21, 2017 at 06:02 PM
If you want to make the character hold a sword, you should attach the sword to the hand bone (make the sword be a child of the hand bone)
After you make the sword be a child of the hand, you should fix the rotation and position of the sword. (after you do that, the sword will move nicely with the hand)
If your character does not have a skeleton (the bones), I believe it won't be possible
For a backpack, you could make it a child of the spine or something like that.
You do that in Unity
So I guess I can add dummies to the necessary places in 3ds max and then in Unity I can attach objects to dummies and detach when needed, thanks.
One more thing. Should I somehow define hit zones of the character in 3ds max, say using dummies or can it be done in Unity?
The hit zones are defined by colliders. You create/manage colliders in Unity
If your character has animations, it should have a skeleton, so you don't need to create a dummy. Just attach the item to a bone. (Note that if you create a dummy that does not move when the hand moves, it may not work properly for holding a sword, that's why you want to attach it to the skeleton of the character, because the bones always moves together with the hands/feet/head/etc)
Your answer
![](https://koobas.hobune.stream/wayback/20220612124612im_/https://answers.unity.com/themes/thub/images/avi.jpg)
Follow this Question
Related Questions
Using dummy as an attachment point for handgun 2 Answers
Dynamic wire Rig 1 Answer
How do you find a Joint from its connectedBody? 1 Answer
Hinge Problem 1 Answer
What is the best way for physics game? 0 Answers