- Home /
Unity->Blender modelling incorporation
Hi all,
I'm doing some modelling in Blender and I was wondering about WEAPONS!
I've seen in the Angry Bots sample project that the model for the character (Scuba Dude) has his weapon, its muzzle flash, and its laser sight located above the character's shoulder rather than equipped in his hands? Do I do this? Where abouts do I put it? How can I animate it so it's connected in-game? Why does it have to be there? Also, if I have multiple weapons do I need to make different models for each weapon? i.e. character with sword above shoulder, than another character model with pistol above shoulder etc.?
Cheers
yah the "parent" relationship is what you need to study here! great docs for it on unity.
Answer by DaveA · Sep 18, 2012 at 03:53 AM
You need different weapon models of course, but should not need different characters. Unless the entire character becomes a weapon, like a werewolf transformation or something.
At runtime, you use transform.parent to parent the weapon to the model, probably to his hand or something. If it's holstered, reparent it to the holster.
Cheers everyone!
I'll be sure to check out that parent documentation (in the unity manual I assume). Hopefully I can get my character shooting and stabbing his way to victory in no time at all!
Your answer
![](https://koobas.hobune.stream/wayback/20220613081151im_/https://answers.unity.com/themes/thub/images/avi.jpg)
Follow this Question
Related Questions
Best way to go about creating animations 1 Answer
Multiple animations for weapons 0 Answers
Exporting .prefab to Modelling Program 0 Answers
Importing fbx model problem 1 Answer
How to correctly import from Blender 2 Answers