Congratulations! You are a March Madness BONUS BUYER!

Enjoy 10% OFF* ALL PURCHASES STOREWIDE or enjoy 30% OFF items with a SKU number lower than 16000 & 30% OFF items from Runtime DNA.

Buy any "Newly Mad" or "Still Mad" and get an EXTRA 60% OFF**:

Star 2.0 Stellar BundleCallie 6 Pro BundleToon Generations 2 Essentials for Genesis 3Karen 7 Pro BundleCaptain Charisma for Genesis 3 Male

Offer valid for intended recipient only
* 10% discount DOES apply to Gift Cards and Memberships. **Items must be in cart simultaneously for discount to apply.
[ collapse ]

Get all chlothes (or followers in general) attached to a figure

mattiascibienmattiascibien Posts: 140
edited December 1969 in Daz SDK Developer Discussion

Is there any way to get alist of the followers of a DzSkeleton in C++? I came up with a method but it iterates all over the scene to get them? Is there a simpler way?

Comments

  • ketthroveketthrove Posts: 63
    edited December 1969

    gravity0 said:
    Is there any way to get alist of the followers of a DzSkeleton in C++? I came up with a method but it iterates all over the scene to get them? Is there a simpler way?

    DzFigure has a list of what is grafted to it. But, to find all following clothes, what you are doing is probably the easiest.

  • mjc1016mjc1016 Posts: 14,741
    edited December 1969

    Can you introduce some sort of culling routine?

    I'm assuming from your post that DzSkeleton is giving you everything and you only want a specific subset of that.

  • mattiascibienmattiascibien Posts: 140
    edited December 1969

    Well nope, I have to iterate all over the scene and check if the pointers of the selected skeleton and the chlotes are equal.

Sign In or Register to comment.