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"

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. 

Get Children Components does not display Physics Enabled Actors

I am attempting to create a system in which you can pick up items in your left and right hand. The following blueprint is made to attach Blueprints of a certain class to the hand socket.

It loops through components in the blueprint to disable physics and collision, and then attach the object to the socket.

When "Simulate Physics" is set to active on the specific component/mesh in the blueprint, and I attempt to pick it up, it does not get listed in 'Get Children Components' and nor does it attach to the socket.

I am unaware as to what is causing this, as further testing shows that if I have physics simulation disabled before I start the game, and then physics is enabled by the game after 'dropping' an item I have picked up, I can then pick it up again and drop it, repeatedly.

LINK: Larger Image

alt text

Product Version: Not Selected
Tags:
more ▼

asked Jul 28 '14 at 09:13 PM in Blueprint Scripting

avatar image

noms
136 5 9 13

avatar image jejunus May 04 '15 at 06:27 PM

I've run into the same problem. Thanks @noms for pointing out that it is the physics enable that's doing it. I have a simpler example in the attached screenshot.

Calling Get Children Components on a scene component with one physics enabled child, and then checking length of returned array results in 0. When I disable physics on the child the array length is 1.

alt text

avatar image WoolLeg Apr 21 '18 at 07:27 PM

So.. it still happens in 4.19....................................... someone with an workaround?

(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