# Using A Lattice To Deform An Object

**URL:** https://forum.highend3d.com/t/using-a-lattice-to-deform-an-object/43424
**Category:** Maya
**Tags:** new-user
**Created:** [November 14, 2005, 11:57pm UTC](https://forum.highend3d.com/t/using-a-lattice-to-deform-an-object/43424 "2005-11-14T23:57:41Z")
**Posts on this page:** 6
**Page:** 1

<div class="post-metadata">

### Author: ![mike-milo](https://forum.highend3d.com/user_avatar/forum.highend3d.com/mike-milo/32/512_2.png) [@mike-milo](https://forum.highend3d.com/u/mike-milo)
#### Post date: [November 14, 2005, 11:57pm UTC](https://forum.highend3d.com/t/using-a-lattice-to-deform-an-object/43424/1 "2005-11-14T23:57:41Z")

</div>

Hi all,  
I want to set up an irregular shaped sphere (an eye), attach a lattice to it, then set up an Aim Constraint and attach it to a locator and the eyeball geometry so that when I move the locator, the sphere deforms and stays inside the lattice. I want to create irregular shaped eyes looking at something and I dont want them to go thru the geometry around them.

A guy I know did it once for me and I’ve since lost contact with the guy AND lost my notes on this. I’ve tried to do it but it doesn’t seem to work. Any ideas what I’m doing wrong? ANy help would greatly be appreciated!

---

<div class="post-metadata">

### Author: ![failure](https://forum.highend3d.com/letter_avatar_proxy/v4/letter/f/f08c70/32.png) [@failure](https://forum.highend3d.com/u/failure)
#### Post date: [November 15, 2005, 12:41am UTC](https://forum.highend3d.com/t/using-a-lattice-to-deform-an-object/43424/2 "2005-11-15T00:41:42Z")

</div>

constrain the lattice

or if you’re talking about keeping the deformation in place while rotating the eye then just constrain the eye and set Outside Lattice in ffd attributes to “All” to avoid popping.

---

<div class="post-metadata">

### Author: ![mike-milo](https://forum.highend3d.com/user_avatar/forum.highend3d.com/mike-milo/32/512_2.png) [@mike-milo](https://forum.highend3d.com/u/mike-milo)
#### Post date: [November 15, 2005, 1:17am UTC](https://forum.highend3d.com/t/using-a-lattice-to-deform-an-object/43424/3 "2005-11-15T01:17:58Z")

</div>

I tried that as well and it works nice on a new piece of geometry but not on the eyes I built. I added a link to the file I mentioned.  
[http://www.milowerx.com/milowerx/badeyes.zip](http://www.milowerx.com/milowerx/badeyes.zip)

---

<div class="post-metadata">

### Author: ![failure](https://forum.highend3d.com/letter_avatar_proxy/v4/letter/f/f08c70/32.png) [@failure](https://forum.highend3d.com/u/failure)
#### Post date: [November 15, 2005, 3:01am UTC](https://forum.highend3d.com/t/using-a-lattice-to-deform-an-object/43424/4 "2005-11-15T03:01:47Z")

</div>

Ok, here’s what you should do ( from the scratch )

-create a sphere - don’t scale it or anything else, it must be perfect sphere with pivot in center

- add a ffd to it
- constrain sphere to a locator
- use ffd to shape the sphere into eye, don’t move points or transform it with scale/rotate etc.
- parent ffd to whatever you need in hierarchy ( head )

---

<div class="post-metadata">

### Author: ![mike-milo](https://forum.highend3d.com/user_avatar/forum.highend3d.com/mike-milo/32/512_2.png) [@mike-milo](https://forum.highend3d.com/u/mike-milo)
#### Post date: [November 15, 2005, 3:06am UTC](https://forum.highend3d.com/t/using-a-lattice-to-deform-an-object/43424/5 "2005-11-15T03:06:41Z")

</div>

Ahhhhh! That makes perfect sense! Thanks Failure! You rock!

---

<div class="post-metadata">

### Author: ![mike-milo](https://forum.highend3d.com/user_avatar/forum.highend3d.com/mike-milo/32/512_2.png) [@mike-milo](https://forum.highend3d.com/u/mike-milo)
#### Post date: [November 15, 2005, 3:32am UTC](https://forum.highend3d.com/t/using-a-lattice-to-deform-an-object/43424/6 "2005-11-15T03:32:13Z")

</div>

But wait, it’s not working. I did exactly what you said and it didn’t work. What could I be doing wrong? What settings are you using for the Lattce and the Aim Constraint? Maybe I have them messed up. When I do it,the eye pops to a new pivot. Arrrrrgh!
