CGTalk > Software > Autodesk Maya > Maya Character Setup
Login register
Thread Closed share thread « Previous Thread | Next Thread »  
 
Thread Tools Search this Thread Display Modes
Old 06-01-2012, 06:31 PM   #1
DimensionDynamics
New Member
portfolio
Chris Lewin
Dorset, GB
 
Join Date: Feb 2012
Posts: 27
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
 
Old 06-01-2012, 07:42 PM   #2
animatedfox
what the ?!?!
 
animatedfox's Avatar
portfolio
Benjamin Fox
Seat 43
USA
 
Join Date: Feb 2010
Posts: 895
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!!
 
Old 06-01-2012, 08:35 PM   #3
DimensionDynamics
New Member
portfolio
Chris Lewin
Dorset, GB
 
Join Date: Feb 2012
Posts: 27
Quote:
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!
 
Old 06-01-2012, 08:35 PM   #4
CGTalk Moderation
Lord of the posts
CGTalk Forum Leader
 
Join Date: Sep 2003
Posts: 1,066,480
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


Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

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 09:00 PM.


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