modify userdata in clones
-
On 18/10/2015 at 18:55, xxxxxxxx wrote:
I have a Cloner object, cloning a single object child "consider it a simple Cube" , this Cube got UserData.
I want to modify this UserData per clone, how to do this? -
On 19/10/2015 at 01:51, xxxxxxxx wrote:
Hello,
could you please share some more information? Are you talking about MoGraph clones? Why do you want to edit the userdata? The clones are only virtual and will be rebuild over and over again so your changes would be lost.
Best wishes,
Sebastian -
On 19/10/2015 at 03:05, xxxxxxxx wrote:
Hi Sebastian,
consider a Cube, with some userdata that can change its dimensions using xpresso
now this cube is cloned in a Cloner "MoGraph clones", I want the Cloner to control its clones userdata using an effector "and for sure the clones should behave correctly according to their new userdata values".I expect the Cloner object to clone the whole object "with its tags, hierarchy, etc.." , so this should be doable.
-
On 19/10/2015 at 09:21, xxxxxxxx wrote:
Hello,
in a MoGraph effector you typically edit arrays of properties and not the clones themselves. You could try to access the cloner with GetGenerator() and then edit the clones in its cache. But honestly I don't know if that is save.
Best wishes,
Sebastian