07-04-2016, 11:48 AM
I didn't find how to use negative speed in animated movement. So I changed in CurvyController: line 1155 (getAnimationTF method)
float step = AbsSpeed * Animation.Evaluate(Mathf.Clamp01(mShotTime / TimeScale));
to
float step = Speed * Animation.Evaluate(Mathf.Clamp01(mShotTime / TimeScale));
Is there a better way to achieve this behaviour?
float step = AbsSpeed * Animation.Evaluate(Mathf.Clamp01(mShotTime / TimeScale));
to
float step = Speed * Animation.Evaluate(Mathf.Clamp01(mShotTime / TimeScale));
Is there a better way to achieve this behaviour?