At
http://www.dickbaldwin.com/alice/Alice0900.htm#moveTo I wrote:
"
Problems setting vector values
Although I was able to set the coordinate values in a position vector by passing literal constants to the
set methods for the vector, I was not successful in setting those values by passing the name of a variable of type number as a parameter to the
set methods. If this is a bug in Alice, it greatly reduces the usefulness of the
vector option of the moveTo method."
I also wrote:
"
A possible bug in Alice I found that I was able to successfully call these methods to specify the three values to be stored in the vector so long as I passed literal constant values as parameters. However, whenever I passed the name of another variable of type number as a parameter, the statement was simply ignored. Either I wasn't doing it correctly, or this is a bug in Alice.
Destroys an important connection to other programming scenarios
If it is a bug, it greatly reduces the usefulness of the vector option of the
moveTo method. This is very significant problem. This option provides the capability of writing Alice 3D graphics programs in much the same way that they are written using other 3D programming languages that typically deal with position and direction vectors instead of
forward,
backward,
up,
down, etc."
I suspect that what you want to do can't be done using Alice 2.0, but I'm not certain. I hope that I am wrong.
Dick Baldwin
Free Alice tutorials:
http://www.dickbaldwin.com/tocalice.htm
Free programming tutorials:
http://www.dickbaldwin.com/toc.htm