SimplyMaya Forums

Welcome to the forum, feel free to ask questions here.

Home / forum / Lounges / Maya Basics & Newbie Lounge / Center coordinates
Register FAQ Members List Calendar Mark Forums Read

New Thread
 
Thread Tools
Old 15-06-2003, 01: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, 02: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, 02: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, 03: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, 04: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, 04: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 04:35 AM.
Darkware is offline   Reply With Quote
Old 15-06-2003, 05: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, 09: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, 12: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, 01: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
New Thread

« Previous Thread | Next Thread »

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off

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 11:32 AM

1 Month

$34

Month-to-month billing
$34/month
Unlimited access to all videos
Project files to download
Easy to cancel at anytime
 
 

3 months

$87

Billing every 3 months
$29/month
Unlimited access to all videos
Project files to download
Easy to cancel at anytime
Save $5 per month or $15 in total compared to monthly billing with this package.

12 months

$288

Billing every 12 months
$24/month
Unlimited access to all videos
Project files to download
Easy to cancel at anytime
Save $10 per month or $120 in total compared to monthly billing with this package.

Your plan will automatically renew. You can cancel at any time via your PayPal account to avoid being charged again.

You can view the FAQ on our video plans here. You can contact us directly here. By clicking one of the buttons above, you agree to our Terms and Privacy Policy.