You can find the plugin here.
This simple plugin provides two expressions; Map and Constrain.
Map re-maps a number from one range to another.
Constrain constrains a number to be within a range.
Cheers!
Isn't constrain the same as the clamp expression, or am I understanding this wrong?
Develop games in your browser. Powerful, performant & highly capable.
Yup, it's same. I forgot about it so i implemented my own solution!
You can do the map function yourself inside C2 also, it just returns //(x - in_min) * (out_max - out_min) / (in_max - in_min) + out_min //