All Classes Namespaces Functions Variables Enumerations Enumerator Properties
plyGame.LegacyAnimControl Class Reference

The Legacy Animation controller decides when to play the character's idle and movement related animations. More...

Inherits plyGame.AnimationControlBase.

Public Member Functions

void OnDeath (object npc, object[] args)
 
void GoIdle ()
 
void PlayAnimation (string name, bool queued, QueueMode queueMode, PlayMode playMode)
 
void CrossfadeAnimation (string name, float fadeLength, bool queued, QueueMode queueMode, PlayMode playMode)
 
void BlendAnimation (string name, float targetWeight, float fadeLength)
 
bool SetActiveGroup (string name)
 

Public Attributes

Animation ani
 The animation component being controlled.
 
CharacterControllerBase chara
 The character controller.
 
float minSpeedDetect = 0.2f
 Minimum movement speed before animation changes from idle to one of the defined movement animations.
 
bool useBodyRot = false
 
Transform bip
 
Transform spine
 
List< LegacyAnimGroupaniGroups = new List<LegacyAnimGroup>()
 

Protected Member Functions

void Reset ()
 
void Awake ()
 
void Start ()
 
void Update ()
 
void LateUpdate ()
 
void FixedUpdate ()
 

Detailed Description

The Legacy Animation controller decides when to play the character's idle and movement related animations.