Sure, you just need the points in some sort of format (.csv works for me), then read the file (easy), parse the file contents to an array (easy), then set the camera's position on each frame (easy).
I assume that that your path is just points, rather than in / out vectors as well?
Search found 114 matches
- August 1st, 2006, 6:03 am
- Forum: Scripts Discussion
- Topic: Defining a path
- Replies: 1
- Views: 7005
- July 7th, 2006, 5:58 am
- Forum: Scripts Discussion
- Topic: Determining Width and Height of a Text Layer
- Replies: 62
- Views: 128816
- April 3rd, 2006, 7:37 am
- Forum: Expression Discussion
- Topic: Save a time value
- Replies: 17
- Views: 29552
- April 3rd, 2006, 6:02 am
- Forum: Expression Discussion
- Topic: Save a time value
- Replies: 17
- Views: 29552
This code works on a left / right / left wiggly path... You need a comp with 2 layers: travelling and falling. Every time the travelling layer goes over 300 px it executes the code ONCE, until it then goes under 300px ... then it waits for the next time it goes over. var comp = app.project.activeIte...
- April 3rd, 2006, 5:11 am
- Forum: Expression Discussion
- Topic: Save a time value
- Replies: 17
- Views: 29552
- March 28th, 2006, 2:32 pm
- Forum: Scripts Discussion
- Topic: again, an undefined error...
- Replies: 5
- Views: 11469
- March 28th, 2006, 2:32 pm
- Forum: Scripts Discussion
- Topic: again, an undefined error...
- Replies: 5
- Views: 11469
- March 17th, 2006, 3:40 am
- Forum: Scripts Discussion
- Topic: ExtendScript Editor
- Replies: 0
- Views: 5990
ExtendScript Editor
Wahoo! Well done Adobe ... this is brilliant!
The databrowser implimentation could be a lot better, but the interactive ability is brilliant. I've been using Crimson, but the interactive debugging is great.
The databrowser implimentation could be a lot better, but the interactive ability is brilliant. I've been using Crimson, but the interactive debugging is great.
- March 11th, 2006, 2:54 pm
- Forum: Scripts Discussion
- Topic: Is there any way to activate a window via scripting?
- Replies: 2
- Views: 8214
- March 11th, 2006, 12:43 pm
- Forum: Scripts Discussion
- Topic: Is there any way to activate a window via scripting?
- Replies: 2
- Views: 8214
Is there any way to activate a window via scripting?
app.project.activeItem is read only - but I want to bring a comp window to the front. Is there any way to do that?
Cheers,
Dave
Cheers,
Dave
- March 5th, 2006, 6:05 pm
- Forum: Expression Discussion
- Topic: using valueAtTime() on individual channels
- Replies: 3
- Views: 15097
- March 5th, 2006, 5:19 pm
- Forum: Expression Discussion
- Topic: using valueAtTime() on individual channels
- Replies: 3
- Views: 15097
Hi Robby, The problem arises because you are calling the valueAtTime method on a Number (position[1]), not a position Value (position): //bad position[1].valueAtTime(time - 0.1) //good position.valueAtTime(time - 0.1)[1] You may find it easier to understand things in future if you break your code up...
- March 4th, 2006, 2:35 am
- Forum: Scripts Discussion
- Topic: Running scripts from the command line: Scripting Guide ERROR
- Replies: 2
- Views: 15309
Running scripts from the command line: Scripting Guide ERROR
The example code in the Scripting Guide to launch scripts from the command line contains a grammatical error, that will cause your scripts NOT to run. Basically, the code therin is formatted using an em-dash – rather than a hyphen - (as Windows expects). If you were to copy and paste the code to a...
- March 4th, 2006, 2:09 am
- Forum: Scripts Discussion
- Topic: Default directory
- Replies: 3
- Views: 9490
Thanks vidpat, Sure I could - and that's probbaly what I'll end up doing. For the record, Folder.current only worked for teh current evaluation of a script. As soon as it was done executing, Folder.current reverted back to /Support Files. It seems odd (but understandable) that you can't set it! Any ...
- March 3rd, 2006, 8:12 pm
- Forum: Scripts Discussion
- Topic: Default directory
- Replies: 3
- Views: 9490
I'll play with
Code: Select all
Folder.current