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"

Attach object to an element (inside another object)

Hello, I'm making a project about a hotel and i need to know if it's possible to attach an object (such as the number of the door) to an element inside an object (the door). So the fact is that I animate the door to be opened, but its Blueprint contains a few things (frame, door, etc.), so when I attach the number mesh to the object and open the door, the number is floating. Waiting for your answers, Thank you!

Product Version: UE 4.13
more ▼

asked Jan 24 '17 at 02:29 PM in Using UE4

avatar image

5 1 4 6

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

1 answer: sort voted first

Hi, This is not a very clear question not 100% sure what you are asking but I will make a guess.

So you want to add a number to the static mesh / skeletal mesh so that when the door moves the number moves with it?

you can do this buy attaching a TextRenderComponent (or widgetcomponent but needs UMG) to the mesh and positioning it within the viewport (blueprint designer) then when the door moves all attached components will move with it.

Hope that helps.

more ▼

answered Jan 24 '17 at 03:21 PM

avatar image

196 11 7 12

avatar image ericgabella Jan 24 '17 at 03:45 PM

Yes sorry, I think I didn't ask clearly, thank you for answering anyway.

So what I have is a mesh with a number, and the map where I am working, there are many doors with the same blueprint. Then I don't know if it is possible to attach

this is the mesh I want to attach

alt text

Now it's attached to the door object, but I need it to be inside the "hinge".

alt text

ueanswer.jpg (265.0 kB)
ueanswer1.jpg (790.3 kB)
avatar image Troublesum Jan 24 '17 at 04:08 PM


So you want to attach the number to the hinge?

just do it the same way you attached the hinge to the door in the blueprint. Maybe i'm still missing something?

avatar image ericgabella Jan 24 '17 at 04:12 PM

so if I do that, all the doors wil have the same number, then should I make a diferent blueprint for each door?

thank you

avatar image Troublesum Jan 24 '17 at 04:32 PM

oh ok now I understand.

So the number has to be a mesh? cant use a TextRenderComponent or UMG?

If not you could just use the same blueprint and change the static mesh (number) after you have dropped it on the level by selecting the MeshComponent in the details tab and changing it to the desired mesh number for that blueprint instance.

avatar image ericgabella Jan 24 '17 at 04:41 PM

I'll try to use a TextRenderComponent to see if it looks good, however, that option was what I was looking for.

Thank you for the answer!

(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