Page 1 of 1

Centering The Origin Of A Shape

Posted: Wed Sep 14, 2011 5:27 pm
by drumlug13
Hello Ladies & Gents .....

I'm doing some more incredibly cheesy spinning graphics and I need to find the precise center of a shape. Is there a way to select a shape and set origin at the exact center?


.... the future of mankind hangs in the balance...

Posted: Wed Sep 14, 2011 5:41 pm
by SvenFoster
You need a script young Jedi

Posted: Wed Sep 14, 2011 5:58 pm
by drumlug13
Ahhhhh .... Those have become the 4 words I love the most.

Thank you sir.

Posted: Wed Sep 14, 2011 6:17 pm
by GCharb
You could select the shape points, activate the move point tool and enter 0 and 0 in the x and y fields, that usually brings the selected points in the middle of the screen.

Then do the same with the center of origin if you moved it.

From there use layer animation, which should preserve the center of origin in the middle of the shape.

You would of course need to make a different layer for each moving parts!

Posted: Wed Sep 14, 2011 8:34 pm
by funksmaname
if you used a bone, you could center an vector X over the shape, then pull a bone from the center point to the edge which will give you a pradictible rotation.



...did i just say 'pull a bone'? :oops:

Posted: Wed Sep 14, 2011 8:49 pm
by jonbo
That's a great idea Funk, and much easier than trying to script that.

Posted: Wed Sep 14, 2011 8:58 pm
by ulrik
If you search for "macton" scripts here in the forum, there is a script called "CC: selected vector layers - center to points"
It's working here in AS pro 8

Posted: Thu Sep 15, 2011 1:33 am
by drumlug13
Thanks guys