A movement definition, used in Legacy Animation controller More...
Public Member Functions | |
void | Init (Animation ani) |
Init should be called before any of the other functions can be used More... | |
float | PlayAni (float speed, Vector3 movement, CharacterControllerBase chara, Transform tr, Transform bip, Transform spine) |
Play the animation More... | |
Public Attributes | |
string | name = "" |
name | |
float | speedDetect = 999f |
play only if movement speed is this value or lower | |
LegacyAnimClipDef | forward = new LegacyAnimClipDef() |
forward | |
LegacyAnimClipDef | backward = new LegacyAnimClipDef() |
backward | |
LegacyAnimClipDef | forwardRight = new LegacyAnimClipDef() |
forward-right | |
LegacyAnimClipDef | forwardLeft = new LegacyAnimClipDef() |
forward-left | |
LegacyAnimClipDef | backwardRight = new LegacyAnimClipDef() |
backward-right | |
LegacyAnimClipDef | backwardLeft = new LegacyAnimClipDef() |
backward-left | |
bool | lrfRotateBody = true |
bool | lrbRotateBody = true |
float | lrfMaxAngle = 70f |
float | lrbMaxAngle = 70f |
A movement definition, used in Legacy Animation controller
void plyGame.LegacyAnimMoveDef.Init | ( | Animation | ani | ) |
Init should be called before any of the other functions can be used
float plyGame.LegacyAnimMoveDef.PlayAni | ( | float | speed, |
Vector3 | movement, | ||
CharacterControllerBase | chara, | ||
Transform | tr, | ||
Transform | bip, | ||
Transform | spine | ||
) |
Play the animation