SpriterDotNet icon indicating copy to clipboard operation
SpriterDotNet copied to clipboard

Animation State Machines

Open loodakrawa opened this issue 9 years ago • 4 comments

Add support for state machine driven animations

loodakrawa avatar Nov 03 '15 22:11 loodakrawa

Essentially yes. I was planning to add something similar to the core library to have the functionality in the Monogame plugin as well. I'll look into this more when you finish SpriterDotNetMecanim to make everything more seamlessly integrated.

loodakrawa avatar Mar 20 '16 22:03 loodakrawa

I understand.

Extrapolating from this, if state machines were part of the core library, then the AnimatorController could just link its own state machines to the SpriterDotNet state machines directly, and cut out the middle man.

It would be kinda like how the SpriterAnimator is extended to UnitySpriterAnimator, and then loaded into a Monobehaviour, you could have some sort of SpriterAnimatorState, which can be extended and then loaded into a StateMachineBehaviour.

Dharengo avatar Mar 20 '16 22:03 Dharengo

Yes, exactly that.

loodakrawa avatar Mar 20 '16 23:03 loodakrawa