Solved EffectorData: Set clone visibility?

Hello,

I am playing around with an EffectorData here. Never tried it before. I looked at the examples NoiseEffector and DropEffector in the SDK, but still have a question:

How would I set the clones' visibility, like e.g. the Plain Effector, and other effectors, do? I noticed that clones that are made invisible by an effector, are not only invisible but actually removed (no invisible objects are in the hierarchy when I convert the Cloner with "c"). How can I do that?

I don't see any MODATA_array for this. Is it done using the flags in the MODATA_FLAGS array?

effector_clone_visibility.jpg

Thanks in advance!

Cheers,
Frank

www.frankwilleke.de
Only asking personal code questions here.

hi,

yes it's done with the flag MOGENFLAG_CLONE_ON.

Cheers,
Manuel

MAXON SDK Specialist

MAXON Registered Developer

Works like a charm, thank you!

Greetings,
Frank

www.frankwilleke.de
Only asking personal code questions here.