Weapon rigging necessary?

Hi, all

I’m working on a 3rd person shooter. i’m modeling my 1st gun. It will be holstered to the characters hip, then when in use he will hold it in position to fire/aim. This will have to be pick up in the world 1st. Am i able to attach it to the players hip/hand on the fly when neccessary?. Due to this would i be correct in thinking i would not need to animate the guns movement( only the trigger,muzzle flash etc)?. Or is there a better way to do all this?

Thanks

As you can see in many games using UE4 you can attach on the fly. Once you finished the weapon, you need to create a socket in the character skeleton where the gun will be attached. You might also need to position the weapon using its pivot, moving and rotating (translation), until it fits the correct place. When you pick the weapon, the code will need to identify the specific weapon, attach it to the socket and also apply that weapon’s translation and you are set. For each weapon you might keep a table containing the socket name and translation necessary for it.

You will only rig a weapon if it has an specific part’s movement that in this case needs animation.

Cheers NilsonLima that confirmed my thoughts :slight_smile: