Profile image

Funky Trees Question

3,089 bruhmoment99  3.9 years ago

how do i make a wheel that turns less when the speed increases?

  • Log in to leave a comment
  • Profile image
    29.9k ChiChiWerx

    Here's a very simple formula to try, it limits the rotator's turn starting at 9 m/s (32 kph), so that the low speed handling is not decreased. It then decreases the steering to 40% at 22 m/s (79 kph), decreasing to 20% at 44 m/s (158 kph) and down to around 10% at 88 m/s (316 kph):

    clamp01(Yaw * (1/(GS/9)))

    Put that formula into the "input" field of the rotator that moves the steering wheel under the "InputController" dropdown menu using the Overload portion in the build screen. The total movement of that rotator will be dictated in the "range" field under the "JointRotator" dropdown menu. You can change "Yaw" to any input you're using for the steering wheel, whether it's yaw or roll. I would also use the same formula for the rotators which steer the steering wheels on your build. My only concern is that it will limit the steering too much at intermediate speeds (slower than 79 kph), but see how it works. If you would like to tag me on an unlisted build, we can tweak the formula.

    3.9 years ago
  • Profile image
    29.9k ChiChiWerx

    I have a formula that disables rotators above a certain speed, but understand you need something that decreases the input as speed increases? Do you know how to change the input using the Overload embedded into the basic SP program?

    3.9 years ago
  • Profile image
    3,089 bruhmoment99

    @ChiChiWerx im asking how i can make a wheel turn less the more the speed increases. For example, if i were going 20kph, the wheel would turn 20 degrees, but if i were going 100kph, the wheel would turn 5 degrees.

    3.9 years ago
  • Profile image
    29.9k ChiChiWerx

    I’m not sure I understand the question. Are you asking how to make a steering wheel be less effective with an increase of speed or for the actual wheel that’s driving the build to move less quickly as speed increases?

    3.9 years ago