#How would I make the maximum speed of this not go above 100 or below 10
22 messages · Page 1 of 1 (latest)
No, you can do add -5
That works as well
techincally
If Value
it does
it's magical
To the second add port.
That way you either count up with 5 or with -5
A bit like this. You might have to switch the spots for the Then and Else on the If Value.
oops mistake
the output of the variable
It's an example, your variable could be named different or just be a int instead.
You need to execute the variable
It won't add speed otherwise
This could be done with if value
oh
why are you directly connecting it to the velocity chip?
Hey listen, I'm not a plane builder nor circuiteer
The set velocity probably constantly added 5 on it's speed with -5 making it go backwards.
The Min chip returns the smaller of the two inputs, while the Max chip returns the larger of the two. For clamping values in a range, I remember the phrase: "Min the maximum, and Max the minimum". Hopefully this helps!
To clarify, you should pass in your speed to a Min chip (either input works fine), and configure the second input to be the maximum value you want. Then, wire the output of that Min chip to the input of a Max chip, and configure the second input on the Max chip to be the minimum value you want.