playMaker

Author Topic: Set Animator Float Damp Time does not work...[WORKS]  (Read 3466 times)

Adam Z

  • Full Member
  • ***
  • Posts: 207
Set Animator Float Damp Time does not work...[WORKS]
« on: March 03, 2016, 08:49:32 PM »
Does Damp Time allow the current value to change to the inputted value over time?

Right now my character runs at a 1. In my Set Animator Float I have 0.5 as my value, with Damp Time at a 1, and Every Frame checked. Every time I hit my button to execute the Action, it jumps abruptly to 0.5.  I would like to it be more gradual, and drop from 1 to .5 over 1 second. Any thoughts?  Thanks.
« Last Edit: June 23, 2016, 03:47:02 AM by jeanfabre »

jeanfabre

  • Administrator
  • Hero Member
  • *****
  • Posts: 15500
  • Official Playmaker Support
Re: Set Animator Float Damp Time does not work...
« Reply #1 on: March 04, 2016, 01:51:51 AM »
Hi,

 Have you checked "EveryFrame" and let the state active during the damping?

 Else, I am not sure, because this damp is a built in function provided by the Unity Api itself, so maybe you should first investigate a working sample even if in c#, and use the same Animator graph and control it with this action and compare the results. That would be how I would go about it to testify it works.

Bye,

 Jean

Adam Z

  • Full Member
  • ***
  • Posts: 207
Re: Set Animator Float Damp Time does not work...
« Reply #2 on: March 17, 2016, 12:11:37 PM »
I did check every frame.

jeanfabre

  • Administrator
  • Hero Member
  • *****
  • Posts: 15500
  • Official Playmaker Support
Re: Set Animator Float Damp Time does not work...
« Reply #3 on: March 18, 2016, 02:01:20 AM »
Hi,

 I would ask at this point on Unity forum and QA what is the purpose of this damping property and how to verify that it works, if we have a repro case of a clear difference between using damping and not, then we can testify that the PlayMaker action works.

Also, maybe you should simply animate it yourself? have you tried that?

Bye,

 Jean

jeanfabre

  • Administrator
  • Hero Member
  • *****
  • Posts: 15500
  • Official Playmaker Support
Re: Set Animator Float Damp Time does not work...
« Reply #4 on: May 03, 2016, 02:20:40 AM »
Hi,

 Working on new samples for the upcoming version of PlayMaker, and I confirm that damping works on SetAnimatorFloat.

Have you had a chance to tes this further on your end?

Bye,

 Jean

jeanfabre

  • Administrator
  • Hero Member
  • *****
  • Posts: 15500
  • Official Playmaker Support
Re: Set Animator Float Damp Time does not work...
« Reply #5 on: June 23, 2016, 03:46:48 AM »
Hi,

 So, I released a Animator Sample using damping and it works well:

http://hutonggames.com/playmakerforum/index.php?topic=13058.0

check the Kyle Robot sample and how the direction Animator Parameter is damped.


Bye,

 Jean