PDA

View Full Version : Maya Instancer with "aim up axis" issue?


deluxmilkman
03-12-2011, 12:17 AM
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?

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>>;
http://www.whaleanddeer.com/forum/6.png
facing the other way.
http://www.whaleanddeer.com/forum/7.png
facing nowhere.
http://www.whaleanddeer.com/forum/8.png
working fine.

thanks in advance;)

daverave
03-12-2011, 08:45 PM
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