Accumulator - Max and Min Limits

I want to map an object position to a thumbpad axis. Accumulator behaves exactly the way I need so thumbpad (-1,1) values map to (-,+) decreasing or increasing values. The problem is the lack of a Min Value parameter clamping the object in one direction. While I can clamp the Max distance, the Min distance will continue to infinity. Any workarounds for that?
Min/Max settings would also be handy in the Continuous Modifier.

1 Like

I had the same problem. Spent a lot of time trying Notch logic but ended up using Javascript node.

Same problem here too.
Add the parameter Min And Max in the Accumulator will be handy.

In the java script node there is a Clamp function and a get delta second or frame value ?
Thx

@MNVR min value is a great idea. We’ll have a chat to the dev team about this.

@fred.tretout I’m not sure if javascript has a built in clamp function, but it should be easy enough to write one!