python effector rotation

On 10/06/2013 at 15:35, xxxxxxxx wrote:

I'm trying to set the rotation of a clone using this code in a pyEffector. It rotates incorrectly and scales it too. I'm sure its something simple im doing wrong

hpb = c4d.Vector(utils.Rad(90), utils.Rad(90), utils.Rad(90))  
marr[0] = marr[0] + utils.HPBToMatrix(hpb)

On 10/06/2013 at 16:08, xxxxxxxx wrote:

marr[0] = marr[0] * utils.HPBToMatrix(hpb)

On 10/06/2013 at 18:48, xxxxxxxx wrote:

haha yep, figured it would be something simple like that. Thanks again Little Devil!