## 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

# Welcome to Simply Maya

 Simply Maya User Community - Maya Tutorials Pick up local coordinates
 Register FAQ Members List Calendar Mark Forums Read

 24-07-2008, 02:30 AM #1 barbe_bleue Registered User   Join Date: Jul 2008 Posts: 1 Thanks: 0 Thanked 0 Times in 0 Posts Pick up local coordinates Hello, I've placed a locator in relation to an object of my scene (this object has its own coordinate system) and I would like to know how to pick up the coordinates of this object in the local coordinate system (not world coordinates). I want to do that because I want then use these coordinates in a MEL program to place the locator in relation to the object whatever the position of the object is in the scene... Thank you EDIT : Orthography... Last edited by barbe_bleue : 24-07-2008 at 04:53 AM.
 24-07-2008, 03:55 AM #2 publicFunction Senior Software Developer     Join Date: Jan 2005 Location: Livingston, Scotland Posts: 1,701 Thanks: 1 Thanked 23 Times in 23 Posts The center of the poly primitives is 0,0,0, but this will be reletive to the world co-ords with its origin on 0,0,0. So if a cube 5,5,5 will have is local origin at 0,0,0 but in world it would be at 0,2.5,0. How to get MEL to pick this up would be getting the co-ords of the vertices. The cube would have 8 verts 4 top and 4 bottom each occupying its own space. Enough theory... Have a look at this link: http://www.robthebloke.org/mel/DATA_mesh.html __________________ Chris (formerly R@nSiD) Twitter When the power of love overcomes the love of power the world will truely know peace - Jimmy Hendrix Winner SM VFX Challenge 1 3rd Place SM SteamPunk Challenge (May 2007)

A little bit about who we are