Hey!
Hope someone can help a little or a lot!?!?
I am not into expressions at all and that might explain why i dont see the "misstake(?)" myself here but maybe you do.
I copy an expression code from several tutorials and get an error.When i change it a bit the function i want mainly works. But i still can´t use all of the trick because i get a 2nd problem (which might be because of the 1st??).
- ok so here is the tutorial i watched, for example:
e.d.Films Tutorial: Rigging Multi-Layered Characters - Lesson 01 - YouTube
- this is the code from the tutorial which does not work with me. ("kopf" is the name of my null obejct layer)
n=thizsComp.layer("kopf") nullpos=n.toComp(n.anchorPoint¬); fromComp(nullpos);
- this is a little different code form a similar tutorial:
L =thisComp.layer("kopf"); value+L.toComp(L.anchorPoint);
Insteadt I use a different expression which is made by after effects automaticly when i do the following: pressing alt and clicking the clock, pulling the spiral thing to the position of the null object. if i pull the spiral to the entire null object i get an other error too.
- my code which seems to work till now:
thisComp.layer("kopf").transform.position
So i dont understand why everyone has these n= and l= things everywhere to begin with. after effects seems to have a problem with that or writes it different it self...?? i dont know. this confused me.
- this is the error (german):
After effects warnung: expression wurde augrund eines fehlers deaktiviert.
Fehler in Zeile 1 in Eigenschaft „position“ von ebene 10 (´kopfhals´) in komposition ´kopfhalsnase´. erwartet: ;.
the 2nd problem i get in the following is :
after i pined the subject, created null objects and connected them to the pins i connect the nullobjects with eachother via the spirals. it kind of works but every point of the subject gets now totaly distored and jumps somewhere randmomly...
This does not happen in any of the tutorials... why, how???
hope you understand me, know exactly what to do and tell me... I could get screenshots in case i was very ununderstandable...
thanks