Digital humans the art of the digital double
Ever wanted to know how digital doubles are created in the movie industry? This course will give you an insight into how it's done.
# 1 03-12-2011 , 12:17 AM
deluxmilkman's Avatar
Registered User
Join Date: May 2009
Posts: 2

Maya Instancer with "aim up axis" issue?

I'm using Maya Instancer with "aim position" and "aim up axis"
I wanna have all instances (arrows) to point to the the locator.

but depending on the direction of "aim position" and "aim up axis", they are acting differently.
it's only working on the 3rd picture.
how can i fix this?

Code:
vector $pos = nParticleShape1.position;
vector $loc = <<locator1.translateX, locator1.translateY, locator1.translateZ>>;
nParticleShape1.customVector = <<$loc.x - $pos.x, $loc.y - $pos.y, $loc.z - $pos.z>>;
user added image
facing the other way.
user added image
facing nowhere.
user added image
working fine.

thanks in advanceuser added image


Last edited by deluxmilkman; 03-12-2011 at 02:50 AM.
# 2 03-12-2011 , 08:45 PM
daverave's Avatar
The thin red line
Join Date: Aug 2009
Location: England
Posts: 4,472
Its a bit of a long shot but try moving all instances in one axis, at the moment you have them stuck in all three..............dave




Avatar Challenge Winner 2010
Posting Rules Forum Rules
You may not post new threads | You may not post replies | You may not post attachments | You may not edit your posts | BB code is On | Smilies are On | [IMG] code is On | HTML code is Off

Similar Threads