I am trying to track the position of particle collisions. I can get the value of the collision in U and V, but I am a bit confused as to how to interprert these coordinates to 3d space. the U value seems to relate to the x value of a locator that I have set up to position at these points, but V does not seem to correspond very well at all.
Any ideas?
Here is a youtube video.
There is the scene all set up: Scene.mb

float $colU = particleShape1.collisionU;
float $colV = particleShape1.collisionV;
int $time = `currentTime -q`;
if ($colU > 0) {
particleShape1.lifespanPP=0;
//print "HIT!";
print ( "collisions in u:" + $colU + "collisions in v:" + $colV+"\n");
//setAttr "loc.translateX" ($colU*10);
setAttr "loc.translateZ" ($colV*10);
}
//print ("Collision: " + $colU + "\n");
//print ("Collision: " + $colV + "\n");