Playmaker Forum

PlayMaker Updates & Downloads => Share New Actions => Topic started by: doppelmonster on September 22, 2015, 03:52:22 AM

Title: Float Range Mapper
Post by: doppelmonster on September 22, 2015, 03:52:22 AM
Remaps a float value to a new range. Convert for example degree (Old Min = 0 , Max = 360) to percent (New Min = 0, Max = 100).

You can get it on the Ecosystem or here:
https://doppelmonster.snipt.net/-a5e7d59d/ (https://doppelmonster.snipt.net/-a5e7d59d/)


Title: Re: Float Range Mapper
Post by: jeanfabre on September 22, 2015, 04:44:28 AM
Hi,

thanks for this, but I think we already have something similar :)FloatRemap (http://hutonggames.com/playmakerforum/index.php?topic=5122.msg24311#msg24311)

also, I think in your example you mean [0:360] to [0:100] or [0:1] right?


Bye,

 Jean
Title: Re: Float Range Mapper
Post by: doppelmonster on September 22, 2015, 06:37:36 AM
Ups, you are right ::). Couldnt find it back then, so i have written my own...
I will remove it from the ecosystem. no need for a double there.
Title: Re: Float Range Mapper
Post by: jeanfabre on September 22, 2015, 12:29:39 PM
Hi,

 ok. What I'll do is add them keyword "range" and "mapper" to the action, it will increase visibility and will return this action if you search for such words.

 Bye,

 Jean