How to center a object in the middle of another one?
Thanks
How to center a object in the middle of another one?
Moderators: Víctor Paredes, Belgarath, slowtiger
Re: How to center a object in the middle of another one?
If you use the grid when creating both objects this is easy. If both objects are already created, it gets more complicated, since the grid only works for one layer (not layer independent). But you can easily create 2 crossing lines on a third layer and use this as a reference for both objects.
- Víctor Paredes
- Site Admin
- Posts: 5655
- Joined: Wed Jan 26, 2005 12:18 am
- Location: Barcelona/Chile
- Contact:
Re: How to center a object in the middle of another one?
Genete wrote a script to align closed shapes. It's old and I don't know if it's working in current version, but you could try it.
viewtopic.php?t=8917
viewtopic.php?t=8917
Moho Product Manager
www.mohoanimation.com
Rigged animation supervisor in My father's dragon - Lead Moho artist in Wolfwalkers - Cartoon Saloon - My personal Youtube Channel
- jezjones29
- Posts: 339
- Joined: Tue Jan 31, 2006 9:43 pm
- Location: Wales, UK
- Contact:
Re: How to center a object in the middle of another one?
If the objects are on the same layer (vector), then I would simply select all the points (G) of the first object, then click on the Translate Points (T) tool and set the position of X and Y to 0, then do the same to the other object/s. This should align them all, then I can move the layer.
It they are on different layers, then I would set all the layers to X:0 and Y:0 and group them, and move the group.
It they are on different layers, then I would set all the layers to X:0 and Y:0 and group them, and move the group.