Anim8or Community

General Category => ASL Scripts => Topic started by: hihosilver on August 07, 2008, 09:14:58 pm

Title: Circular orientation script [not working]
Post by: hihosilver on August 07, 2008, 09:14:58 pm
I'm trying to use Robhilly's circular orientation script found here:
http://cg-nation.com/community/archive/index.php/topic,421.msg4149.html#msg4149 (http://cg-nation.com/community/archive/index.php/topic,421.msg4149.html#msg4149).
Whenever I use it, I get a parsing error on the lines that set the position.  For example a line that reads,
"$position.y = $height;"

What I'm doing is:
*Turning expressions on for the camera and editing them,
*pasting robhilly's script in
*getting the error


Does anyone have any idea as to why the script isn't working? Or what I'm doing wrong?
Title: Re: Circular orientation script [not working]
Post by: Kubajzz on August 07, 2008, 09:56:31 pm
You have to use this script for the "position" controller, otherwise it won't work  :D
(I'm almost sure that's the problem... Maybe you want to use the "infinite rotation" script from the same page, that's the one you should use for "orientation"...)
Title: Re: Circular orientation script [not working]
Post by: hihosilver on August 10, 2008, 09:14:08 am
I'll try that out Kubajzz, thanks.
I can't use the infinite rotation, I'm trying to circle a camera about an object, not rotate it about a point.
For the time being I did it by hand which looks fine, but it'll still be nice to figure out how to use the script again.

Edit:
That did work Kubajzz, thanks.  At first I was confused at what you meant which took me a while to reply, but suddenly it dawned on me.  I had been using the 'fov' controller instead of the position controller.
Thanks
Title: Re: Circular orientation script [not working]
Post by: startrekfan001 on August 16, 2010, 02:17:23 pm
Hi, i'm looking for the above mentioned script. Does anyone know where i could find it?

I'm trying to make a ring spin infinitely, atm i must do it manually which is a lot of work.