Anim8or Community

Please login or register.

Login with username, password and session length
Advanced search  

News:

Ian Ross has just released a book on Anim8or. It's perect for a beginner and a good reference for experienced users. It contains detailed chapters on every aspect, with many examples. Get your own copy here: "Anim8or Tutorial Book"

Author Topic: Circular orientation script [not working]  (Read 10453 times)

hihosilver

  • Global Moderator
  • Hero Member
  • *****
  • Posts: 1294
    • View Profile
Circular orientation script [not working]
« on: August 07, 2008, 05: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.
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?
Logged

Kubajzz

  • Flying Platypus
  • Global Moderator
  • Sr. Member
  • *****
  • Posts: 548
  • Little doggie ate my avatar...
    • View Profile
Re: Circular orientation script [not working]
« Reply #1 on: August 07, 2008, 05: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"...)
Logged

hihosilver

  • Global Moderator
  • Hero Member
  • *****
  • Posts: 1294
    • View Profile
Re: Circular orientation script [not working]
« Reply #2 on: August 10, 2008, 05: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
« Last Edit: August 10, 2008, 05:16:39 am by hihosilver »
Logged

startrekfan001

  • Jr. Member
  • **
  • Posts: 65
    • View Profile
Re: Circular orientation script [not working]
« Reply #3 on: August 16, 2010, 10:17:23 am »

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.
Logged