fantasycalendar / FoundryVTT-Sequencer

This module implements a basic pipeline that can be used for managing the flow of a set of functions, effects, sounds, and macros.
Other
41 stars 17 forks source link

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

Open ChasarooniZ opened 6 months ago

ChasarooniZ commented 6 months ago

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()```