Profile image

Stopping a rotator

15.1k Ichko  5 months ago

I am trying to make a rowboat and using infinite rotators, but I want to be able to stop it and currently, when I set the input back to 0, it just starts spinning in reverse. I tried looking for solutions, but no success so far.

Thanks in advance.

  • Log in to leave a comment
  • Profile image
    31.1k DDVC

    @Ichko no problem

    5 months ago
  • Profile image
    15.1k Ichko

    @DDVC This works, thank you very much

    +1 5 months ago
  • Profile image
    28.0k 32

    @DDVC yeah that's probably way better than what I said

    +1 5 months ago
  • Profile image
    31.1k DDVC

    Use sum("control that you use")
    If that's not fast enough multiply the control inside the collum
    sum(ctrl*x)
    ctrl is the control that you will use
    x is the multiplication number
    Increase the speed of the rotator to 1000 with overload too

    +2 5 months ago
  • Profile image
    28.0k 32

    So fair warning, my FT skills are a bit basic, and I'm sure there's a more efficient way to do this, but my method worked during my testing.

    You can create a variable and call it something so you can remember what it does. Maybe something like rotatorControl or something like that. Set its expression to rotatorControl+[INPUT] with the input being whatever input you want your oars to be. What this does is say that rotatorControl will stay at the same value unless you add to it via your input. Then you can set the input to your oar to rotatorControl and it should work. The only problem here is that it probably won't stop immediately. You can change that by dividing the input by something that works for you. I think dividing it by 90 should work.

    I know funky trees can be confusing, so if this didn't make any sense, I made a little proof of concept you can find here . If you have any questions let me know, I know I probably could have done a better job explaining that.

    5 months ago