How do I get my weapon to show in game?

Hi,

I tried create socket and attach weapon like here: https://docs.unrealengine.com/latest/INT/Engine/Content/Types/SkeletalMeshes/Sockets/index.html#permanentattachment

I drag & drop weapon to socket and it works in Persona editor but doesn’t work in play game mode. I see “Preview Only” next to Weapon object like on the screen:

http://s12.postimg.org/if34ap05p/socket.png

Could you help me? Is it a bug? Or what?

Thank you,

You have to go to your blueprints components.
Add the item in there.
Then when in components drop it ontop of your actor. (So it becomes a child)
From there you then put it on the socket in the mesh details.

Let me know if you can get it done.
If not.
Then i will add some more description.

Can we get some more clarification to this answer? I’m having the same trouble and cannot figure this out. Thanks.

The preview mesh of your weapon you added there is only a preview to allow you to tweak your sockets rotation/location till it looks right.

Once you’ve adjusted your sockets transform values you need to actually spawn the weapon and attach to the right socket.

Look at the node AttachToComponent and give the right socket name that matches the socket you created.