Skip to content

Possible issue with rotation during animation. #22

@MrSiggler

Description

@MrSiggler

Hey, I've recently added support for Spriter to my game via this sprite engine, but I had a peculiar issue when it was all set up.. everything was placed properly, but things were spinning crazy like on their pivot points.

What fixed it for me, was to dig into angleinfo.cpp and have the spinDirection swap between 1/!1 if reverseAngleOnLoad was used when loading (as I set that to false for my game.) I assume that the direction of the animation's interpolation isn't taken into account when it's reversed at load, and things are 'snapping' the wrong way?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions