stateName
- Animation State to crossfade to when this behaviour is activated.
transitionDuration
- the duration of crossfading to stateName. Value is in seconds.
layer
- layer index containing the destination state. If no layer is specified or layer is -1, the first state that is found with the given name or hash will be played.
fixedTime
- start time of the current destination state. Value is in seconds. If no explicit fixedTime is specified or fixedTime value is float.NegativeInfinity, the state will either be played from the start if its not already playing, or will continue playing from its current time and no transition will happen.
raycastLayers
- the layers that will be raycasted against to find colliding objects.
blendParameter
- the parameter in the Animator that blends between catch fall and writhe animations.
writheHeight
- the height of the pelvis from the ground at which will blend to writhe animation.
writheYVelocity
- the vertical velocity of the pelvis at which will blend to writhe animation.
blendSpeed
- the speed of blendig between the two falling animations.
canEnd
- if false, this behaviour will never end.
minTime
- the minimum time since this behaviour activated before it can end.
maxEndVelocity
- if the velocity of the pelvis falls below this value, can end the behaviour.
onEnd
- event triggered when all end conditions are met.