The positions I want the words to start at I would like to be random but limited to specific starting positions:
I want those starting points to be randomized to each word.x-axis can start from -1700 (left) or 1700 (right)
y-axis can start from -600 (left) or 600 (right)
z-axis can start from -2100 (top) or 0 (bottom)
Currently, I have:
Code: Select all
ran = random(0,1);
x = [-1700, 1700];
y = [-600, 600];
z = [0, -2100];
[(x[Math.round(ran)]),(y[Math.round(ran)]),(z[Math.round(ran)])]
An example that I want it to be random:
Word 1 starts at -1700 on the x-axis and animates to final position
Word 2 starts at 600 on the y-axis and animates to final position
Word 3 starts at -2100 on the z-axis and animates to final position
Word 4 starts at -600 on the y-axis and animates to final position
All help is appreciated.
Thanks