Search in
Sort by:

Question Status:

Search help

  • Simple searches use one or more words. Separate the words with spaces (cat dog) to search cat,dog or both. Separate the words with plus signs (cat +dog) to search for items that may contain cat but must contain dog.
  • You can further refine your search on the search results page, where you can search by keywords, author, topic. These can be combined with each other. Examples
    • cat dog --matches anything with cat,dog or both
    • cat +dog --searches for cat +dog where dog is a mandatory term
    • cat -dog -- searches for cat excluding any result containing dog
    • [cats] —will restrict your search to results with topic named "cats"
    • [cats] [dogs] —will restrict your search to results with both topics, "cats", and "dogs"

Office Holiday

Epic Games' offices will be on holiday from June 22nd to July 7th. During this period support will be limited. Our offices will reopen on Monday, July 8th. 

How can I keep my weapon correctly in my hand?

I'm curious to how i can change the skeletal mesh permanently in UE4 of this shotgun, so when i add it to my characters it stays in the correct position?

I Currently have 4 other guns working in my hand, however i'm using a custom model and the mesh isn't positioned correctly for my character model, anyway i can fix this mistake made by the skeletal mesh?

alt text

Product Version: Not Selected
more ▼

asked Feb 11 '17 at 02:10 AM in Using UE4

avatar image

33 3 3 5

(comments are locked)
10|2000 characters needed characters left
Viewable by all users

2 answers: sort voted first

Why not add another socket for the shotgun to attach to? and let the other weapons go to the other socket otherwise you will have to fix the shotgun for him to hold it right

more ▼

answered Feb 11 '17 at 07:29 AM

avatar image

348 12 7 19

avatar image MattSowards Feb 11 '17 at 06:18 PM

Well thats what i have setup right now, however some of my models don't work well, like some of my skeletal meshes are perfectly in the hand and my other models are all unplaced and not working, The only thing i found that actually does sometihng is if i export each individual model into an editor, change the position, and keep re-importing into the characters hands. This absolutely awful though, half the time it looks jittery and its very time consuming, as well as when you aimdown sites its terrible. What do i do?

avatar image saeedc Feb 12 '17 at 03:49 AM

you definitely need to learn Hand ik

(comments are locked)
10|2000 characters needed characters left
Viewable by all users

had the same problem, for every gun i have a different socket, you need to change the socket's location/rotation so the gun fits in your hand fit in your character's hand, you can preview how the gun looks in the socket by right clicking in the socket->add preview asset->selecting your gun ss

in this ss if location and rotation was set to 0 (default) it would look like the one in your ss.

sockets.png (463.0 kB)
more ▼

answered Feb 12 '17 at 03:16 PM

avatar image

1.1k 31 17 66

avatar image MattSowards Feb 13 '17 at 10:15 AM

No, I already have that setup as i mentioned before, however it does nothing, since its only a preview it doesen't save! why cant they make it so when you click save on the position you have the mesh, it ACTUALLY STAYS.... ugh why is it only a preview? what do i do?

avatar image veccher Feb 13 '17 at 01:09 PM

how exactly are you attaching? probably the following node, you just need to be sure about 2 things, in the "Attach location type" chose "Snap to target, Keep world scale" instead of "Keep relative offset"(maybe you missed this step), and in socket name put the same name as in the socket you created in your skeletal mesh(you probably already did it) alt text

(comments are locked)
10|2000 characters needed characters left
Viewable by all users
Your answer
toggle preview:

Up to 5 attachments (including images) can be used with a maximum of 5.2 MB each and 5.2 MB total.

Follow this question

Once you sign in you will be able to subscribe for any updates here

Answers to this question