Cloner - Change Clones
On 07/08/2014 at 04:08, xxxxxxxx wrote:
Cinema 4D Version: 13
Platform: Windows ; Mac ; Mac OSX ;
Language(s) : C++ ;
could anybody tell me what the best way is to change clones of a cloner?
I can retrieve and read the modata just fine but I can't anywhere find a SetArray or similar to change the clones directly (its matrix for example).
Thanks in advance!
On 12/08/2014 at 09:45, xxxxxxxx wrote:
Is it maybe not possible?
I tried to change the matrix array itself and set the modata dirty afterwards but cannot enforce a change in the clones' position.
I tried copying the modata, then changing the matrices and merge it back in. Nothing worked so far.
Anybody any idea? It would really save my all the hassle if it wasn't possible in the first place.
Thanks in advance
On 12/08/2014 at 10:47, xxxxxxxx wrote:
I also tried using the GetArray() pointer version without success.
I do this from within a scene hook, could that pose an issue?
On 12/08/2014 at 11:23, xxxxxxxx wrote:
ok, further tests show that when using an expression tag with priority stage set to Generators and a very priority value, something changes (the mograph selection vertices change position but not the clones themselves)...
it seems an effector is the only safe way?