Lattice + aim constrain newb help

Become a member of the CGSociety

Connect, Share, and Learn with our Large Growing CG Art Community. It's Free!

THREAD CLOSED
 
Thread Tools Search this Thread Display Modes
  06 June 2012
Question Lattice + aim constrain newb help

Hi,
I am rigging a non spherical eye, I thought the best way to do this would be to deform the eye with a lattice and then make the eye aim at a locator using the aim constrain.

All works well, the eye aims correctly when I move the locator around, but when I move the lattice the eye stops following the locator and just stays still in the lattice.

Dont know if theres a way around this so help is much appreciated , thanks
 
  06 June 2012
Remember that deformers don't affect transforms...which is what the aimConstraint is affecting. Delete your lattice and you will see that the eye hasn't moved at all...so that's why it doesn't appear to be looking at the anim target. By as far as the eye's transform it is looking at the anim...no matter what the lattice is doing!
So, you need to have a transform moving with that lattice to drive the aim rotations of your eyeball. Unfortunately you can't just parent the eye to the lattice, or something easy like that.
Parent a locator with the lattice that is animConstrained to your target and then orient constrain the eyeball geo to that locator. (or connect the rotates) I think this should give you the behavior you are looking for.
Of course this suggestion is made in a vacuum with no knowledge of your actual setup...but the jist of it should be able to be extrapolated out to the best eye rig EVER!!
 
  06 June 2012
Originally Posted by animatedfox: Remember that deformers don't affect transforms...which is what the aimConstraint is affecting. Delete your lattice and you will see that the eye hasn't moved at all...so that's why it doesn't appear to be looking at the anim target. By as far as the eye's transform it is looking at the anim...no matter what the lattice is doing!
So, you need to have a transform moving with that lattice to drive the aim rotations of your eyeball. Unfortunately you can't just parent the eye to the lattice, or something easy like that.
Parent a locator with the lattice that is animConstrained to your target and then orient constrain the eyeball geo to that locator. (or connect the rotates) I think this should give you the behavior you are looking for.
Of course this suggestion is made in a vacuum with no knowledge of your actual setup...but the jist of it should be able to be extrapolated out to the best eye rig EVER!!


Thanks! It works great!
 
  06 June 2012
Thread automatically closed

This thread has been automatically closed as it remained inactive for 12 months. If you wish to continue the discussion, please create a new thread in the appropriate forum.
__________________
CGTalk Policy/Legalities
Note that as CGTalk Members, you agree to the terms and conditions of using this website.
 
Thread Closed share thread



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
CGSociety
Society of Digital Artists
www.cgsociety.org

Powered by vBulletin
Copyright 2000 - 2006,
Jelsoft Enterprises Ltd.
Minimize Ads
Forum Jump
Miscellaneous

All times are GMT. The time now is 11:24 PM.


Powered by vBulletin
Copyright ©2000 - 2017, Jelsoft Enterprises Ltd.