Lerp pin order

Would be really nice to change lerp pin order, so it’s same as switch:

5 Likes

+1

On a similar note, I too would like the order of RangeContainsValue’s input pins to match with Clamp (i.e. the value is asked first, and the range second).

For now I have created a wrapper for it in my utilities. I also changed its name to reflect the order of input pins:

I think we users expect that we could align the nodes vertically by taking the first output pin of the previous node and linking it to the first input of the next node.

Yep that’s issue with lerp, when you add lerp you expect the current value to be linked to Scalar

Two cents: I guess it’s like that because of the C# parameters order. But it indeed feels weird.

1 Like

I always have trouble with this too. It feels unintuitive

While we are at it - it would be great if Lerp also had a Pin Group like the Switch to use it with multiple values.

1 Like