Maya Training

Introduction to Hard Surface Modeling

Maya Training

Interiors and Furniture Vol 1 & 2 - Modeling & Cloth

Maya Training

Shading, Lighting and Rendering the Bedroom in MR

Maya Training

Robot volume one - Modeling with animation in mind

Maya Training

Spach-Alspaugh House the complete courseware

Maya Training

Burt The Cartoon Dinosaur Vol 01 - Modeling

New Maya Training

Robot Volume 02 - Hybrid Rigging
You are here > Home > SimplyMaya Community Forums
Loading

Welcome to Simply Maya

Please Sign in or Sign up for an account

Member Login

Lost your password?

Not a member yet? Sign Up!

Old 15-06-2003, 02:29 AM   #1
Dann
Registered User
 
Dann's Avatar
 
Join Date: Feb 2003
Location: Los Angeles
Posts: 695
Thanks: 0
Thanked 2 Times in 2 Posts
Default Center coordinates

Well I know how to center an object's pivot point, but how do I get it's xyz values to reflect that new center pivot point? Maya says my object's center is still at 0,0,0, when it clearly is not.

Any thoughts?
Dann is offline   Reply With Quote
Old 15-06-2003, 03:24 AM   #2
Darkware
Subscriber
 
Darkware's Avatar
 
Join Date: Oct 2002
Location: USA
Posts: 1,172
Thanks: 0
Thanked 4 Times in 4 Posts
Default

Take your object and snap it (hold down the x key) to the very center of the grid. Choose Modify>Freeze Transformation and your object will reset to 0,0,0.
__________________
www.Darkware3D.com
Darkware is offline   Reply With Quote
Old 15-06-2003, 03:31 AM   #3
Dann
Registered User
 
Dann's Avatar
 
Join Date: Feb 2003
Location: Los Angeles
Posts: 695
Thanks: 0
Thanked 2 Times in 2 Posts
Default

OK, but then how do I get it back in place. It has to be exact. Is there a way to get the coordinates of where it is without have to move it and freeze it?
Dann is offline   Reply With Quote
Old 15-06-2003, 04:56 AM   #4
Darkware
Subscriber
 
Darkware's Avatar
 
Join Date: Oct 2002
Location: USA
Posts: 1,172
Thanks: 0
Thanked 4 Times in 4 Posts
Default

You could make a duplicate, take the original back to the origin, freeze transformations, then take it back and try to line it up with the duplicate as best you can. You can make precise movements if you zoom in really close in the side, front, and top view panels.
__________________
www.Darkware3D.com
Darkware is offline   Reply With Quote
Old 15-06-2003, 05:02 AM   #5
Dann
Registered User
 
Dann's Avatar
 
Join Date: Feb 2003
Location: Los Angeles
Posts: 695
Thanks: 0
Thanked 2 Times in 2 Posts
Default

yeah, but it's so lame you can't be exact.
Dann is offline   Reply With Quote
Old 15-06-2003, 05:30 AM   #6
Darkware
Subscriber
 
Darkware's Avatar
 
Join Date: Oct 2002
Location: USA
Posts: 1,172
Thanks: 0
Thanked 4 Times in 4 Posts
Default

ok, ok. It's not as lame as you think. Here is a way to do it.

Make a duplicate of your object. Take the original to the center of the grid, freeze transformations, then move it next to your original. (not directly on top of it, just next to it.) WIth the original object selected, press "insert." The pivot point for the object appears. Hold down the "c" key and snap the pivot point to a vertice. Point snapping can be a little tricky, but you can do this. Just try a few times. It can be done. Once you have the pivot point snapped to a vertices, press insert again. Now since the pivot point is directly on a vertice, you can point snap the object to the same vertice of the duplicate. Delete the duplicate, then center pivot your original.

This DOES WORK. If you can't figure out hwo to do something, I can provide a full explanation with images if need be.

Now you can't say it's lame.
__________________
www.Darkware3D.com

Last edited by Darkware : 15-06-2003 at 05:35 AM.
Darkware is offline   Reply With Quote
Old 15-06-2003, 06:50 AM   #7
Dann
Registered User
 
Dann's Avatar
 
Join Date: Feb 2003
Location: Los Angeles
Posts: 695
Thanks: 0
Thanked 2 Times in 2 Posts
Default

Yeah, OK. But it is a crazy work around. Let's be honest, when you center the pivot point, the X,Y,Z should read the coordinates of where the center is, not 0,0,0
Dann is offline   Reply With Quote
Old 15-06-2003, 10:20 AM   #8
BabyDuck
Subscriber
 
BabyDuck's Avatar
 
Join Date: Nov 2002
Location: USA
Posts: 1,170
Thanks: 3
Thanked 12 Times in 12 Posts
Default

no it is not a crazy workaround. it would be a hell of a mess if everytime you change the position of pivot the xyz coordinates would change. you can enable the handle, and snap the pivot to the handle w/o snapping the pivot to a vertex. point snapping works also for handles - but only if they are visible.
BabyDuck is offline   Reply With Quote
Old 15-06-2003, 01:47 PM   #9
mtmckinley
The Maya Mountain
 
mtmckinley's Avatar
 
Join Date: Aug 2002
Location: Seattle, WA
Posts: 8,245
Thanks: 1
Thanked 25 Times in 25 Posts
Default

You've also got the alignment commands under the modify menu.
__________________
-Mike
www.mtmckinley.net
The Maya Toolbelt
mtmckinley is offline   Reply With Quote
Old 15-06-2003, 02:41 PM   #10
Darkware
Subscriber
 
Darkware's Avatar
 
Join Date: Oct 2002
Location: USA
Posts: 1,172
Thanks: 0
Thanked 4 Times in 4 Posts
Default

Center pivot was not made to make the coordinates of your object change, but to make the pivot of your geometry appear at the center of your geometry. Like Babyduck said - it would be crazy if the coordinates were always changing. If you group an object to another object, the child object will lose its world coordinate and will move according to where its parent is. It absolutely has to be this way, otherwise we would have an emense amount of trouble driving that object with expressions and the like because it has to move according to where the parent object is.

The thing to remember is that center pivot has only one use and it does what it's supposed to well. Messing with coordinates requires you to use other tools specifically designed to modify coordinates. Alias|Wavefront purposly made two seperate tools for each so users could have more flexibility.

The routine I explained above is not really "a crazy work around" because it can be done in mere seconds. It's not that difficult to do in my opinion.

and... I'm sorry if I came across as being a little harsh in this post, but you really shouldn't jump to conclusions so quickly. Be patient.
__________________
www.Darkware3D.com
Darkware is offline   Reply With Quote
Reply


Similar Threads
Thread Thread Starter Forum Replies Last Post
Physical Fitness Center Lounge - Original SM Gallery Image by Philip Miss_Nova Simply Maya Gallery 0 05-12-2010 12:32 PM

Thread Tools





A little bit about who we are
Links you might find useful
Catch up with SimplyMaya
SimplyMaya specialises in Maya tutorials. We offer over 1,000 individual Maya training videos, ranging from basic Maya tutorials through to intermediate Maya tutorials. Our tutorials are created by instructors with industry experience and are designed to get you up and running in Maya quickly without making it seem like hard work.

Copyright © 1999-2015 SimplyMaya - vBulletin® Copyright © 2000-2015, Jelsoft Enterprises Ltd.