gunslinger
I'm using a simple setup to instance a disc object onto a mesh. Its following the tutorial  here http://mayaspiral.blogspot.co.uk/2012/06/soup-point-and-instancer-basic.html

I need a way to pass the original object's closest normal onto the scattered points, and then into the arrayToDynArray. Basically, aligning the instanced objects to the surface 

I thought of using something like a closestPointOnMesh node to query the object normal from scattered points, but the default maya closestpoint only accepts a single input

Any thoughts appreciated 

bEN
gunslinger
Screen Shot 2014-11-08 at 09.54.48.png
Screen Shot 2014-11-08 at 09.54.48.png   
Screen Shot 2014-11-08 at 09.54.58.png 

Reply 0 0
gunslinger
I tried a second flavour which seems a bit more interesting. This uses a pointOnMesh node rather than a point. Pretty easy to get orientation from this. 

Screen Shot 2014-11-08 at 10.13.38.png

Screen Shot 2014-11-08 at 10.13.38.png   
Screen Shot 2014-11-08 at 10.13.44.png 
Reply 0 0
pshipkov
glad you figured it out.
Reply 0 0
gunslinger
It's my first time playing with soup, this has transformed how I approach Maya in great ways
Also found the copier node provides local orientation
Reply 0 0
Reply