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: 5843
- Joined: Tue Jan 25, 2005 3:18 pm
- 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 co-owner
Previously Rigged animation supervisor: My father's dragon, Wolfwalkers & Star Wars Visions "Screecher's Reach"
My personal Youtube Channel
- jezjones29
- Posts: 339
- Joined: Tue Jan 31, 2006 12: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.