hi
how can I make the player hold a weapon (like a rifle) and make him hold it while he's walking ?
Note: I have a model of M4a1 rifle
hi
how can I make the player hold a weapon (like a rifle) and make him hold it while he's walking ?
Note: I have a model of M4a1 rifle
you have to have a model of the arms Attatched to the gun model.
Make the model a prefab, make it a child of the camera so that it moves with you...
To make it shoot, institiate an object and have its rotation and movement same as the camera... Follow the FPS tutorial for more help...
Good luck!
Think of it as an arm really. it's just an arm on an arm. The ankle bones connected to the... well , the gun is connected to the hand/arm as a joint possibly. I'm not sure it's what you need or even if it will work at all. You should really consider checking out the other answers first, I just wanted to share this information for if you hit a dead end you can just look it up see if it's worth anything.