Matthias Kappenberg wrote:
As a simple script:
// script begin
mypi = Math.PI;
Self.SetTotalTranslate(new r3Vect(mypi*Time,2.2, 0));
// script end
// ok, more correct is
var mypi = Math.PI;
Self.SetTotalTranslate(new r3Vect(mypi*Time,2.2, 0));
// script end
or directly:
// script begin
Self.SetTotalTranslate(new r3Vect(Math.PI*Time,2.2, 0));
// script end
think of "Math.PI" as a "alternate" for
3,141592653589793238462643383...
Matthias
There is also:
Math.PI // ?
Matthias,
lol, Thankz for the explain, but what happened is that I tried to insert
the greek letter but it did not make it through the encoding; thus the
"?" : D
I use it much and just did not want it to be left out of the list.
Also, from fre-ber is some more handy math stuuf from the site you
linked earlier:
http://www.javascripter.net/faq/arithmet.htm#top
Cheerz,
Zaug