Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Motion 3 - Controllers not rendering #1921

Open
rdcarney opened this issue Jan 3, 2020 · 3 comments · May be fixed by #3132
Open

Motion 3 - Controllers not rendering #1921

rdcarney opened this issue Jan 3, 2020 · 3 comments · May be fixed by #3132

Comments

@rdcarney
Copy link

rdcarney commented Jan 3, 2020

Tell us about your environment
MAC OS 10.15.2

  • Browser and Browser Version:
    Cross-Browser Issue

  • After Effects Version:
    17.0.1
    Screen Shot 2020-01-03 at 10 45 34 AM

What did you do? Please explain the steps you took before you encountered the problem.
basically I have a dot array on a shape layer, and each dot has a wiggle expression for scale

What did you expect to happen?
Controllers should limit the response of the wiggle expression over time however the dots get too large and overlap.

Example here:
https://lottiefiles.com/share/hRU0Cm

What actually happened? Please include as much relevant detail as possible.
Variables scale is not limited to the controller, here is a sample causing the issues:

// Mt. Mograph - Motion3 (2D Dynamics Expression)
var a = thisLayer("ADBE Effect Parade");
var b = a("[d] Scale");
var c = b("Pseudo/EPO5750a279cg-0001");
var d = b("Pseudo/EPO5750a279cg-0002");
var e = b("Pseudo/EPO5750a279cg-0003");
var f = b("Pseudo/EPO5750a279cg-0004");
var h = b("Pseudo/EPO5750a279cg-0007");
var i = b("Pseudo/EPO5750a279cg-0008");
var j = b("Pseudo/EPO5750a279cg-0009");
var seedValue = b("Pseudo/EPO5750a279cg-0005");
var g;
if (c > 0) {
if (d == 1) {
seedRandom(seedValue * 1000);
if (h > 0) {
if (i.value === j.value) {
wiggleVal = wiggle(e, i, 1, 1, time)[0];
g = [wiggleVal, wiggleVal];
} else {
g = [wiggle(e, i, 1, 1, time)[0], wiggle(e, j, 1, 1, time)[1]];
}
} else {
g = wiggle(e, f, 1, 1, time);
}
} else if (d == 2) {
seedRandom(seedValue);
var freq = 1 / e;
var times = thisComp.duration / freq;
var progress = (time / (thisComp.duration + thisComp.frameDuration));
var timeVal = Math.floor(times * progress);
if (h) {
if (i.value === j.value) {
wiggleVal = wiggle(e, i, 1, 1, timeVal)[0];
g = [wiggleVal, wiggleVal];
} else {
g = [wiggle(e, i, 1, 1, timeVal)[0], wiggle(e, j, 1, 1, timeVal)[1]];
}
} else {
g = wiggle(e, f, 1, 1, timeVal);
}
}
}
g || value;
//META{"tool": "dynamics", "controllerLayer": "Ring 1 Outlines", "name": "[d] Scale", "effectIsOnThisLayer": true}ENDMETA

Please provide a download link to the After Effects file that demonstrates the problem.

https://drive.google.com/open?id=1d2lvGF_D--7qlDxlW9UE1yiLl5udul72

@bodymovin
Copy link
Collaborator

Hi, unfortunately the wiggle function is not easy to replicate and it doesn't work at all like the AE one works

@rdcarney
Copy link
Author

Ok so I removed the script altogether. I am using the Adobe shape layer and I added a wiggle transform to it which takes the dots and wiggles the scale. There is no custom script and am using part of stock cc. Its creating the same effect however where it works before export and am having the exact same issue.

Format below:
Shape Layer > Contents > add > wiggle transform

example:
https://lottiefiles.com/share/yMjNMq

@bodymovin
Copy link
Collaborator

The wiggle behavior is not supported in any of its formats. Not sure if there is an alternate solution for what you are looking for.

@Dan-Shields Dan-Shields linked a pull request Nov 17, 2024 that will close this issue
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants