How to move the center of an object.

Feb 22, 2013 at 3:20pm

How to move the center of an object.

Hello,
I m new using opengl into max and i was wondering if i could move the center of an object (e.g. a sphere) from the center to the perimeter. I want the position in the perimeter not in the center of the object in order to be able to rotate it from there. I use jit.gl.gridshape object. Thanks in advance.
Vasso

#66665
Feb 25, 2013 at 7:51pm

check out the @anchor attribute for all opengl objects.

#239944
Feb 27, 2013 at 8:38am

Thanks for your response Rob. I ve tested this attribute but it seems that is something wrong. Max Window message: anchor is not a valid attribute argument. Do you have any idea why this is happening? Actually, i ve seen to use this attribute also in some Jitter recipes (book 4).

#239945
Feb 27, 2013 at 10:47am
– Pasted Max Patch, click to expand. –
#239946
Feb 27, 2013 at 9:39pm

make sure you’ve updated to the latest version (6.0.8 as of this writing)

#239947
Feb 28, 2013 at 9:31am

Indeed that was the problem. I had 6.0.1 version. I upgraded it and now it’s working fine. Thank you.

#239948

You must be logged in to reply to this topic.