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 path isAngle strange behavior #169

Open
yohankoehler opened this issue Nov 22, 2017 · 1 comment
Open

Motion path isAngle strange behavior #169

yohankoehler opened this issue Nov 22, 2017 · 1 comment
Labels
bug bug to fix
Projects

Comments

@yohankoehler
Copy link

I tried to use your exemple to animate a kite but I noticed a problem, the shape seems to flip when it hit the quarter circle.

You can see it here

@xavierfoucrier
Copy link
Member

Indeed the value of the angle goes from -90 ° to + 90 ° instantaneously, its a bug. You can try to use this short workaround by setting the angleOffset manually:

angleOffset: function (currentAngle) {
  return currentAngle * 2;
}

Note that this will not give you exactly the desired effect.

@xavierfoucrier xavierfoucrier added the bug bug to fix label Mar 20, 2019
@xavierfoucrier xavierfoucrier added this to Bugs in mojs@next Feb 13, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug bug to fix
Projects
No open projects
Development

No branches or pull requests

2 participants