Skip to content

Reversed tween skips first update #79

@745comics

Description

@745comics

Steps to reproduce the behavior:

let tween = new Tween(
      {
        y: 1000
      },
      0.5,
      {
        playOnAdded: true,
        ease: Ease.backOut,
        reversed: true,
      });

this.addComponent(tween);

After code above execution, game object would appear on its current position (y = 0) on the first frame (should be y = 1000). After first update tween proceeds as expected.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions