Hi Sam,

I’m confident there is a method within the Python API you could use to do
this, but a poor man’s version might be to:

   1. Create a plane, 3x3 divisions
   2. Parent to current camera and zero out transformations, with normals
   pointing from camera to target mesh.
   3. Create a follicle on plane at uv=(0.5, 0.5), it will end up at the
   center vertex.
   4. Transfer attributes of plane to target mesh, set to “Along Normals”
   5. Delete history, delete plane and use the transform of the follicle.

Best,
Marcus
​

On 22 September 2014 21:12, <[email protected]> wrote:

> ha, yep of course. Been trying to find a clear response to this problem
> for a while. Hopefully someone on here will know !;)
>
> Sam
>
> --
> You received this message because you are subscribed to the Google Groups
> "Python Programming for Autodesk Maya" group.
> To unsubscribe from this group and stop receiving emails from it, send an
> email to [email protected].
> To view this discussion on the web visit
> https://groups.google.com/d/msgid/python_inside_maya/ace6fce3-80a0-4dc0-9def-683be07483dc%40googlegroups.com
> .
> For more options, visit https://groups.google.com/d/optout.
>



-- 
*Marcus Ottosson*
[email protected]

-- 
You received this message because you are subscribed to the Google Groups 
"Python Programming for Autodesk Maya" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/python_inside_maya/CAFRtmOApj1%2Bp-b30vi%3Da_PD7pz1H0obXZJW622x86M%3DPA27nHw%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to