Move Object Along a Surface?

Hi,

I’d like to make pupils like this:

Where they are raised, casting a shadow. Also, the eye isn’t a perfect sphere, so I can’t just rotate it.

My eyeball model looks like this:


Is there anyway to just constrain the pupil to the surface of the eyeball and drag it across? My Thought was maybe match it to the origin of the eyeball and just rotate around that. But, it doesn’t work with my eyeball because it’s not a perfect circle.

Try constraint: shrinkwrap , target your head and rotate then your pupils as you want.

That works pretty well with a spherical object on the eye. Do you know if there is anyway to get it to rotate along the surface as well?

Add “track to” constraint and target is the head.

iris moves on eye http://www.pasteall.org/blend/39374

iris and eye rotates and eye is not a perfect sphere [http://www.pasteall.org/blend/39373

edit](http://www.pasteall.org/blend/39373)

IMHO the best way for this kind of thing is to use a normal sphere and adapt it to the mesh with a lattice.

Yes. then the face and eye deform the same. Lots of fun deforming the eyes, Lots of cool looks.
Put the same lattice on the face and the eyes.

I’m still learning. So does this mean… I should rig it like a normal eye… then use a lattice to deform it afterwards? So under the lattice it functions as a basic sphere?

Just model it all. stick the lattice on/around the eye. add a lattice modifier to the eye, face/head and iris. Use the same lattice. Put the object origin of the iris where the eye object origin is. That’s it. Figure that out and you got it.
yes the rigging is the same.
how much have you got so far?

Yes exactly :slight_smile:

As you can see in this example, this is a simple sphere deformed by a lattice…

i would at least make the pupil a separate object and deform it with the lattice. make it move over the eye. It will look more cool with the eyes in the first picture.