Hi Barry,
> thanks for the script but unfortunately its rotation is in the wrong axis.
Sorry, I had interpreted one of your images as the rotation needing to happen in the Front view. Or I guess I just happened to position things that way when I made my own file to test with.
You can change the axis by editing line number 107 in the BottleFeedArray.js file.
It currently has this:
code:
var frame = moi.vectorMath.createFrontFrame();
Change it to this instead:
code:
var frame = moi.vectorMath.createTopFrame();
Hopefully that will do what you need then.
- Michael
|