|
| particle world position link to null
| | | |
particle world position link to null
by jonas espinoza (espinoza)
on
Jul 24, 2008 at 6:23:13 pm
having trouble linking the individual position x, y, z values with the position values from a 3D enabled null
the particle world emitter still works until i move the null in any direction and it just disappears
[url=http://img185.imageshack.us/my.php?image=picture3oe6.png][img=http://img185.imageshack.us/img185/3505/picture3oe6.th.png][/url]
Respond to this post Return to posts index
| | | | |
| | | | Re: particle world position link to null by jonas espinoza on Jul 24, 2008 at 6:50:53 pm
dang, that link didnt work, lets try this one
[URL=http://img185.imageshack.us/my.php?image=picture3oe6.png][IMG]http://img185.imageshack.us/img185/3505/picture3oe6.th.png[/IMG][/URL]
Respond to this post Return to posts index | | | | |
| | | | Re: particle world position link to null by Dan Ebberts on Jul 24, 2008 at 9:18:53 pm
This should work for x:
p = thisComp.layer("Null 1").transform.position;
d = (p - [thisComp.width/2,thisComp.height/2,0])/thisComp.width;
d[0]
Then just change the last line to d[1] for y and d[2] for z.
You'll probably need to fiddle with the effect's camera paramters to get it to match up exactly.
Dan
Respond to this post Return to posts index | | | | |
|
|
|