playMaker

Author Topic: Bug with Set Animator Float and damp time not setting floats correctly  (Read 3138 times)

paradiseprime

  • Full Member
  • ***
  • Posts: 106
Set animator float has an issue when using Damp time where the float being set wont go back to 0 and will start to go into the negatives even if the editor shows the float is 0. This issue does not occur if damp time is 0 or not set.
Here is the video of it happening. https://streamable.com/fcqa5

jeanfabre

  • Administrator
  • Hero Member
  • *****
  • Posts: 15620
  • Official Playmaker Support
Re: Bug with Set Animator Float and damp time not setting floats correctly
« Reply #1 on: January 07, 2020, 04:21:13 AM »
Hi,

unfortunatly, I don't think it's a bug with the action. It is only calling the animator once, so it doesn't nothing but passing the values, all that's happening after is not coming from that action.

it's basically a one liner...
Code: [Select]
       

_animator.SetFloat(_paramID,Value.Value,dampTime.Value,Time.deltaTime);


Bye,

 Jean

Chicky

  • Playmaker Newbie
  • *
  • Posts: 5
What is the solution for this? I'm experiencing the exact same issue. When using a damp time (in set animator float) the blend tree that is using a Vertical animator float value de-syncs with the actual float value listed in parameters.

For example, in the Parameters tab shown on the side of the Animator window the Vertical float shows as 0, but in the blendtree itself that is referencing that float it shows a different number.

If I set damp time to 0 this issue completely goes away. Unity's animation system is so buggy.