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

[BUG] Rotate Towards Offset seems to not be working? #213

Open
ChasarooniZ opened this issue Dec 21, 2023 · 0 comments
Open

[BUG] Rotate Towards Offset seems to not be working? #213

ChasarooniZ opened this issue Dec 21, 2023 · 0 comments

Comments

@ChasarooniZ
Copy link

No errors in the console, but rotation offset when targetting a token seems to do nothing. (example macro im using linked below

const target = game.user.targets.first();
const angle = token.angle;
const seq = new Sequence();
seq.animation()
    .on(token)
    .rotateTowards(target, {duration: 500, ease:'easeInCubic', offset:90})
    .waitUntilFinished(250)
    .animation()
        .on(token)
        .rotateIn(angle, 500, {ease: "easeOutCubic"})
    .play()```
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

No branches or pull requests

1 participant