How do you use the ‘dampTime’ version of ‘animator.SetFloat()’? It appears that you have to calculate some value(s) across updates for it to work correctly. In a method called from ‘Update()’, I use:
anim.SetFloat(“MoveZ”, moveZ, .1f, Time.deltaTime)
but it will never reach the actual value of the input. So if the input value is 1, the dampened value only ever reaches .7.
Can someone show an example of how to set this up properly? I’ve seen some partial examples, but they use values/variables that aren’t defined in the example, so I can’t see how it is supposed to work.