Forums > Jitter

How to move the center of an object.

February 22, 2013 | 3:20 pm

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


February 25, 2013 | 7:51 pm

check out the @anchor attribute for all opengl objects.


February 27, 2013 | 8:38 am

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).


February 27, 2013 | 10:47 am
– Pasted Max Patch, click to expand. –

February 27, 2013 | 9:39 pm

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


February 28, 2013 | 9:31 am

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


Viewing 6 posts - 1 through 6 (of 6 total)