Playmaker Forum

PlayMaker Help & Tips => PlayMaker Help => Topic started by: gozda on August 14, 2015, 02:30:26 AM

Title: Smooth Float
Post by: gozda on August 14, 2015, 02:30:26 AM
Hello.
Thete is an action or anyone know how to make float value that smooth follows other value? Like "Float Lerp Advanced" but automaticly follow other value. For simple.. Its from Easy Touch https://dl.dropboxusercontent.com/u/8514696/Asset%20Store/EasyTouchControls/Demo01/Demo01.html
under joystick choose Parameter, and select interia in both axis.

Thanks
Title: Re: Smooth Float
Post by: terri on August 14, 2015, 08:47:10 AM
wouldn't Float Lerp Advanced set to every frame solve this?

edit: nope
Title: Re: Smooth Float
Post by: terri on August 15, 2015, 01:13:02 AM
hey, try this, I think it should work

edit: added finish event
Title: Re: Smooth Float
Post by: jeanfabre on August 15, 2015, 05:43:46 PM
Hi,

 Great action, but why pre multiplying by 10 the speed in  code?

I'll put it on the Ecosystem when you'll reply, maybe this make sense for your pre multiplier, I want to be sure before putting the code.

Bye,

 Jean
Title: Re: Smooth Float
Post by: terri on August 16, 2015, 06:15:36 AM
ops, I think I left that in there by mistake when testing
Title: Re: Smooth Float
Post by: gozda on August 17, 2015, 02:12:38 AM
Yay! AWESOME!! Thanks this will solve my problems :)
I didnt believe that someone will answer my question, but for create an action... Thank You:)