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

mattiascibienmattiascibien Posts: 105
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: 62
    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: 7,657
    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: 105
    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.
Rocket Fuel