I have written script so that the mouse can click and drag in the x,y,z directions.
I now need to use this code for another device - phantom device - though the type of device is not extremely important. I have the .mll code which can locate the x,y,z position of the phantom device but how do you pass the c++ values into the mel scipt - so that it knows that it needs to work with x,y,z values of the phantom and not the mouse?
eg.
// call the .mll for getting the x,y,z postion of the phantom device
// assign the phantom[x] to the mouse variable for [x];
// assign the phantom[y] to the mouse variable for [y];
// assign the phantom[z] to the mouse variable for [z];
