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. 

Cant parent actor with blueprint to empty actor

So if i add stuff like the cube or sphere or any other actor from "Modes" i can parent it to an empty actor. But if i add a blueprint to any of those children objects whenever i start it gets unparented and is impossible to parent back (at runtime by dragging it onto it) and is normally parented when i stop. So why cant i parent blueprint actors to empty actors?

I cant use children actors or any other blueprint stuff i just want to make objects move with the parent just like they would if they were child objects of it.

Product Version: UE 4.16
more ▼

asked Jun 05 '17 at 09:44 PM in Using UE4

avatar image

1 2 2

avatar image Irakli Jun 05 '17 at 10:14 PM

Its a bit hard to understand the problem, would you have some screenshots of the problem or maybe a short video

avatar image pacukluka Jun 06 '17 at 07:39 PM

I have an empty actor and a child object on it (actor) but when i add a blueprint to the child it detaches from the parent on start

avatar image pacukluka Jun 06 '17 at 09:03 PM

Found out it only happens when i enable physics

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

1 answer: sort voted first

You can parent blueprint actors to other blueprint actors even if they are empty. You will never be able to reparent and modify the game from the editor while running except for a few differences.

If it detaches then there must be some code that causes it to detach from the parent blueprint. You will have to look through your code to see if it does that. Also check for conflicts between the type of actor it is. Are they both movable?


more ▼

answered Jun 05 '17 at 10:47 PM

avatar image

2.7k 106 35 179

avatar image pacukluka Jun 06 '17 at 07:42 PM

Of course they are all movable, i wouldnt be able to parent them in the first place if they werent.

Of course there isnt any code that unparents it.

You actually can reparent in editor at runtime (if you pause)

The parent actor isnt a blueprint actor, just a default empty one

avatar image pacukluka Jun 06 '17 at 09:03 PM

only when i enable physics on the child this happens so thats it i guess

avatar image NoobsDeSroobs Jun 06 '17 at 11:35 PM

That makes sense as physics can tear apart a parenting connection if the threshold is high enough. I am not too sure about this though, but good that you found the problem!

(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