playMaker

Author Topic: Float Remap ( cross multiplication )  (Read 5760 times)

jeanfabre

  • Administrator
  • Hero Member
  • *****
  • Posts: 15563
  • Official Playmaker Support
Float Remap ( cross multiplication )
« on: October 04, 2013, 02:24:58 AM »
Hi,

 Following an request, please find a custom action to remap a float between values.

http://forum.unity3d.com/threads/119437-Re-map-a-number-from-one-range-to-another

Typically, you have 2 defined between 1 and 3, remaping 2 between 0 and 10 will give 5.

It's called actually Cross multiplication:

http://en.wikipedia.org/wiki/Cross-multiplication

you can get it directly on the Ecosystem or below:

FloatRemap

 Bye,

 Jean
« Last Edit: September 22, 2015, 04:42:36 AM by jeanfabre »