Documentation

Unity Engine

Download Unity

Unity Engine

FreeformBlendSpace2DMode

The freeform blend space algorithms that FreeformBlendSpace2DData supports.
Read time 1 minuteLast updated 3 hours ago

Definition

public enum FreeformBlendSpace2DMode

Remarks

Choose the mode that matches the layout of your animations, and pass it to the constructor of FreeformBlendSpace2DData. BlendSpaceUtility.ComputeBlendSpace2DFreeformWeights uses the same mode to compute the weights.
Additional Resources: FreeformBlendSpace2DData

Fields

Value

Description

CartesianUses the position of the input in the plane to weight the animations, so the weight of an animation decreases with its distance from the input.
DirectionalUses the angle and the magnitude of the input to weight the animations, for example for locomotion with several speeds in each direction.