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 to attach static mesh to static mesh by socket in an actor?

I can add sockets in static mesh. However, how to apply the sockets when we use the mesh as Static Mesh component in an actor?

As the following image, the StaticMesh component use the SM_DoorFrame mesh. And in the SM_DoorFrame mesh, I add two sockets as in the second picture, namely Fire and Door. However, I can't attach StaticMesh1 component to either of the two sockets. How to do it?

alt text alt text

Product Version: UE 4.14
Tags:
1.png (347.4 kB)
2.png (540.8 kB)
more ▼

asked Dec 26 '16 at 05:33 AM in Rendering

avatar image

Yunze Gu
68 17 18 22

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

1 answer: sort voted first

Did you try following these instructions?

https://docs.unrealengine.com/latest/INT/Engine/Content/Types/StaticMeshes/HowTo/Sockets/

If that still does not work, you may try dragging StaticMesh1 out of being a child of StaticMesh and see if that gives you different results when you try to attach it.

more ▼

answered Dec 26 '16 at 04:47 PM

avatar image

Dartanlla
2.6k 62 27 281

avatar image Yunze Gu Dec 28 '16 at 02:34 AM

Yes, I've seen that. However, the author just dragged the mesh into the world, and it becomes a static mesh actor. Now I want to do it in an actor, and I want to add a static mesh component to another static mesh component. How can I make it?

avatar image Yunze Gu Jan 23 '17 at 02:40 AM

I think I've solved it. My actor may have a static mesh component, and its static mesh is the one I referred. What I should do is to attach the actor to the target static mesh component. And unreal engine has a function to fulfill this, named AttachToComponent().

(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