Activity › Forums › Adobe After Effects Expressions › parent a null to 2 different position
-
parent a null to 2 different position
Txus Da silva replied 14 years, 2 months ago 3 Members · 14 Replies
-
Raphael Schaaf
March 7, 2012 at 6:20 pmHi Mr. da Silva ^^
Here’s the script file:
Use it like this:
1. Place the videos you tracked on top of all the layers of your comp.
2. Name them after the side you filmed them from, i. e. “front” and “right”.
3. Select your two null layers with the 2d-tracking data. The null belonging to the first video should be on top of the other null, otherwise the x and z data get interchanged.
4. Run the script. I use the German version, but it should be something like this: file > script > run scrip > MoCapNullCon.jsxIf you have done everything wright you have now a null with the 3d data.
I wrote the script in AE CS4, hope it works fine in other versions….
If not contact me an I will try to fix it. -
Txus Da silva
March 9, 2012 at 10:05 pmman, thanks ever so much ur a star…
it works charms even in CS3!!now i have to work out how to reverse the data from one of the sides cos i recorded from the left and need to find where to stick that
-
Raphael Schaaf
March 10, 2012 at 12:12 amIf you want to reverse one side just call the tracked video “left” instead of “right”.
The names of the tracked videos are only used to orientate the 3d movement correctly.Another little info about the script:
If you change the position of your 2d-null, the position of the 3d-null should automatically be recalculated without rerunning the script.
Reply to this Discussion! Login or Sign Up