Does GetAllBodiesBelow exist as a function somewhere?

I see SetAllBodiesBelowBlendWeight manages to access the child bones/bodies somehow. Anyone know if it’s possible to list their names at runtime?
Cheers.

I could work on a BP node for this, I do not see any C++ that covers this so may even make an engine pull request.

:slight_smile:

Rama

Thanks for that Rama. I’ll stop turning rocks over looking for its pseudonym then.

I’ll guess I’ll do some kind of recursive check in the construction script and store them in an array for the time being.

Thanks for your help.

Here’s what I’ve come up with in the meantime. It’s not pretty though and requires a struct, array, and 2 functions.
It seems to work ok though so I’m happy:

Struct:

Array (of that struct):
c635236a91e6f73821d0ff569bacf194c83ef10c.jpeg

Construction routine:
d19b71a212f99a23033c236a71b468e49188d3da.jpeg

Func 1 (BoneHasChild):
32d71d8a884d1606ac71e9f4995c2befcc539320.jpeg

Func 2 (Recursive BoneGetChildren):
741b8a85b32c7a72c1432e710b083c0b3f29fd2c.jpeg

Running it:
9fd19992a1c0eac8b64c0023f72985687f26ca01.jpeg

Cheers

Congrats on finding your own solution!

I did it! I made single BP nodes to do this, using a recursive traversal of the skeleton!

Check it out!

Gonna finish polishing and upload to my Victory BP Library!

Rama

Here I return all bone names below “thigh_l” in the epic skeleton

A single node would be terrific Rama. I shall def try it out when you upload it.

Thanks a lot for this.

New BP Node for Everyone!

Dear Eanandroid,

Here is my new node for you Eanandroid!

I had a lot of fun making this!

I used a recursive function to traverse the skeleton tree, and the FReferenceSkeleton from the SkeletalMesh asset, which works great in packaged games (unlike the USkeleton).

Rama’s Victory BP Library ~ Get All Bones Below Bone

Here’s what my shiny new Victory BP Node looks like!


**My C++ Code For You**

The C++ code I just wrote for this node and the download link are in my Victory BP Library thread!

**Rama's Victory BP Library ~ Get All Bones Below Bone**
https://forums.unrealengine.com/showthread.php?3851-(39)-Rama-s-Extra-Blueprint-Nodes-for-You-as-a-Plugin-No-C-Required!&p=317467&viewfull=1#post317467

I've tested this as working with the packaging process!

Have fun today!

:)

Rama

Absolutely brilliant!

Have a great day Rama, and thankyou again.