This project is read-only.

Can't get anything to work - beginner's guide?

Mar 11, 2011 at 8:29 PM
I've looked at the sample app, doesn't clue me in at all why my simple animation does nothing and returns NULL:

var ease = myButton.RotateTo(rnd.Next(0360), 1.5AnimationTransitions.ElasticEaseInOut0);

 

ease is always NULL no matter the parameters, but I get no exception.  I'm running in Debug mode so WTF?

Mar 11, 2011 at 9:01 PM

Before you can use that shortcut you'll need to Normalize the transformGroup - basically make sure the transforms are on the object before you can ease them. 

In ArtefactAnimatorExtensions.cs you'll find a function "NormalizeTransformGroup", run that on your object first.

NormalizeTransformGroup(myButton);