Copy link to clipboard
Copied
Hi,
I am trying to wigle only y sxis. That means its [1].
In first case the cloud changes its position,ignoring the keyframe value of X axis. and in 2nd case cloud stops wiggling but remain in where I want it to be.
whai am doing wrong? 😥
first case
second case
Expression 1:
a = wiggle(4,5);
[a[1], value[0]]
value[0] is the X axis, you should try:
a = wiggle(4,5);
[value[0], a[1]]
Expression 2:
a = wiggle(4,5);
[a[1], value[transform.position[0]]
value[0] = X axis value
value[1] = Y axis value
value[2] = Z axis value
value[transform.position[0]] doesn't make sense
You should try:
x = value[0];
y = wiggle(4,5)[1];
[x, y]
Copy link to clipboard
Copied
Expression 1:
a = wiggle(4,5);
[a[1], value[0]]
value[0] is the X axis, you should try:
a = wiggle(4,5);
[value[0], a[1]]
Expression 2:
a = wiggle(4,5);
[a[1], value[transform.position[0]]
value[0] = X axis value
value[1] = Y axis value
value[2] = Z axis value
value[transform.position[0]] doesn't make sense
You should try:
x = value[0];
y = wiggle(4,5)[1];
[x, y]
Copy link to clipboard
Copied
Thank you so much. I was about to cry for not figuring out what is going on. 😥
Copy link to clipboard
Copied
value[transform.position[0]] doesn't make sense-- I learned this from atutorial. U can drag whip to Y or X or anyvalue that u wanna keep fixed in expression. Instead of writting [1], u can drag the whip to Y axis, expression will write value[transform.position[1]]
Copy link to clipboard
Copied
Check this--
Copy link to clipboard
Copied
it's:
temp = thisComp.layer("Circle").transform.position[0];
not:
temp = value[thisComp.layer("Circle").transform.position[0]];
value[0] is a shorthand for:
thisComp.layer("Circle").transform.position.value[0];
Copy link to clipboard
Copied
😮 😮 facepalm
Find more inspiration, events, and resources on the new Adobe Community
Explore Now