Playmaker Forum

PlayMaker Help & Tips => PlayMaker Help => Topic started by: rechronicle on June 25, 2019, 06:39:19 AM

Title: Flow the float?[SOLVED]
Post by: rechronicle on June 25, 2019, 06:39:19 AM
Hello,
I'm trying to make a player run and then stop with a slight time of brake and then full stop.

The variable Speed will be reduced from 10 to 0.3 and then progressively reduce to zero. I have tried to use Animate Float but can't seem to get it right.

Is there any way to manipulate the float variable freely?

If you know anything, please share.
Thank you!
Title: Re: Flow the float?
Post by: djaydino on June 25, 2019, 08:57:11 AM
Hi.
Maybe float interpolate.
Or you can try out the PlayMaker Tweens (https://hutonggames.fogbugz.com/default.asp?W1714)
Be aware tho that they are still in beta.

I have been using them a bit and had no issues yet.
I really do like the ease custom curve on the actions, this can be really useful to tweak to your needs.
Title: Re: Flow the float?
Post by: rechronicle on June 26, 2019, 08:38:37 AM
Hello djaydino,
thank you for mentioning the Tween, gonna check them out.
Also, Float Interpolate does the trick for now. I tend to forget this action is available.

Cheers