x

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"

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:

alt text

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

Thank you, Patrick

Product Version: Not Selected
Tags:
more ▼

asked Mar 23 '14 at 02:43 PM in Using UE4

avatar image

kodmistrz
314 54 81 101

(comments are locked)
10|2000 characters needed characters left

2 answers: sort voted first

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.

more ▼

answered Apr 29 '14 at 11:20 PM

avatar image

VRF
21 2 6 7

avatar image reedandrader Jul 28 '14 at 09:15 PM

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

(comments are locked)
10|2000 characters needed characters left

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.

more ▼

answered Apr 10 '18 at 02:59 PM

avatar image

Nonlin
109 7 17 18

(comments are locked)
10|2000 characters needed characters left
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