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

setMatrix function #223

Closed
wants to merge 1 commit into from
Closed

setMatrix function #223

wants to merge 1 commit into from

Conversation

SimianLogic
Copy link

I think I mentioned on reddit that we're exporting Flash animations and running them in Futile. At first we just used position/rotation/scale, but we found that not having skews made life harder for animators and ended up with more jittery animation.

I added skews back, but that required this small change to Futile.

When setting a transform matrix directly, the _didSetMatrix flag is set to true
Setting any other property (scale,rotation,position) unsets this flag and reverts to the previous behavior
While _didSetMatrix is set to true, UpdateMatrix and similar calls will not re-write the matrix

@MattRix
Copy link
Owner

MattRix commented Mar 29, 2014

Cool, makes sense! I won't merge it immediately because I've made a couple minor changes to similar things in my local dev branch, but I'll definitely integrate it soon.

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

Successfully merging this pull request may close these issues.

None yet

2 participants