How it works...

This recipe adds a start animation that works as a transition between the Idle and Steering states. We use the SpeedRaw and DirectionRaw parameters to check the raw player input (not damped). Using damped values wouldn't work in this case because the damped Direction parameter always starts from 0 and increases in time to the raw input direction value. This would always trigger the Idle | Steering transition before the Idle | 180Turn transition as the Idle | 180Turn transition checks if the direction is greater than 160 or less than -160 degrees.

..................Content has been hidden....................

You can't read the all page of ebook, please click here login for view all page.
Reset
3.15.31.22