Released 2018-05-29
- [Pro-Only] Added
AnimancerLayers which can either override or additively blend with each other and supportAvatarMasks to determine which bones they each affect. - Improved the layout of the
AnimancerControllerInspector.- States are now grouped by layer.
AnimationMixers now show their sub-states even when not showing their details, show the threshold of each sub-state, and show the currentParametervalue of the mixer when its details are expanded.- The Inspector now repaints itself whenever animations are active to make sure it is always showing the latest information.
- [Lite-Only] Moved all
MonoBehaviourcomponents out of Animancer.dll so that Unity won't lose any script references when upgrading from Lite to Pro. - [Lite-Only] Added XML documentation file with Animancer.dll so your IDE can display comments for all public types and members inside the dll.
- Added
AnimancerExtensionsclass containing extension methods for theAnimatorcomponent to easily add anAnimancerControlleror play clips. - [Pro-Only] Added
AverageVelocityproperties to calculate the blended velocity of all states in anAnimancerPlayable,AnimancerLayer, andAnimancerStateat their currentWeight. - [Pro-Only] Added
AnimationMixer.CalculateThresholdsmethod which takes a delegate to determine the threshold of each state based on whatever values you like, such as the average root motion velocity on the X and Z axes. - Changed
AnimancerPlayableto public and exposed it viaAnimancerController.Playable. - Moved the dictionary of registered states from
AnimancerControllerintoAnimancerPlayableto make it more self-contained and potentially reusable without anAnimancerControllercomponent. Also removed theOnStateDestroyedevent as it was only being used to update the dictionary. - Implemented
IEnumerable<AnimancerState>withGetEnumeratormethods inAnimancerPlayable,AnimancerLayer, andAnimancerStatesinstead ofAnimancerController.GetStates. This allows you to use foreach loops over any of them. - Optimised
AnimationMixersto not use foreach loops so they no longer generate garbage every frame and when setting theParameter. - Fixed a bug that prevented animations from playing after reactivating an
AnimancerController, such as when utilising object pooling. - Changing time values or playing states using the Inspector while the editor is paused will now call
AnimancerC.Evaluateto immediately apply the changes to the model. - Improved the cleanup process when destroying states and layers.
- [Pro-Only] Fixed an error in the way
DirectionalAnimationMixercalculates blend weights. - Fixed a bug that prevented states without a registered key from being shown in the
AnimancerControllerInspector.