Skip to content
This repository was archived by the owner on Nov 14, 2023. It is now read-only.
This repository was archived by the owner on Nov 14, 2023. It is now read-only.

Inconsistencies when hiding actor after a end of a behavior #155

Description

@arnuschky

CAAT seems to require that actors are rendered (setVisible / setFrameTime) well beyond the end of the last behavior.

If you call setVisible(false) directly at or shortly after the end of an animation, CAAT will get into an inconsistent state:

actorBehavior.setFrameTime(scene.time, 1000);
actor.setFrameTime(scene.time, 1000);

causes the problem, while

actorBehavior.setFrameTime(scene.time, 1000);
actor.setFrameTime(scene.time, 1010);

seems to work fine. (Same result when using a timer and setVisible(false))

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

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