|
|
the post where someone had a fancy ball flying around and some kind of
"guns" followed him ...
I know it was here a VERY long time ago, and I don't know from whom it was,
but he must have used a macro that takes an location and a target as vectors
and gives back some rotations ...
If someone knows what I mean, please tell me, where I have to look at ...
I have to admit, that I'm currently to lazy to figure this out myself ...
AFAIK it goes like a conversion of cartesian coordinates to polar
coordinates ...
it was something with atan, but IIRC there have been some special cases to
handle when something like x/y was zero ...
I'd prefer to find a macro (of course, I'm sure there is one) ....
ThanX ... Jan
--
Jan Walzer
Post a reply to this message
|
|