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 to attach different parts to a model on collision or input?

So I'm trying to make a PC customization system. I wan't to be able to pick up a model of a graphics card and attach it to a motherboard. I want to be able to dynamically attach wires to certain sockets. Is there any way to do that? For which documentation should I look?

Product Version: UE 4.19
more ▼

asked Jun 22 '18 at 06:13 PM in Blueprint Scripting

avatar image

1 1

avatar image ThompsonN13 Jun 22 '18 at 10:31 PM

use the attach to actor node or the attach to component node. you should also probably look into using sockets or scene components too.

basically your trying to recreate the pc builder sim on steam right.

the basics from my quick thought on it would be when card component is overlapping the pcie volume then attach card to MB at location. you would need an event that when you release the component it will either get overlapping components or it will get the computer actor then figure out where is the closest compatible slot for it, and then have an event for placing and attaching.

avatar image spritenation Jun 23 '18 at 10:17 AM

Thanks. Now I kinda know what I'm looking for.

I successfully attached a mesh to my player model but I can't seem to figure out how to attach the mesh to another mesh. I'm using AttachToComponent, made a socket on the other mesh. But what do I need to plug into the parent node? alt text

avatar image ThompsonN13 Jun 24 '18 at 03:26 AM

the parent would be the mesh that you want to attach to, then the socket would be the specific spot

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

0 answers: sort voted first
Be the first one to answer this question
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