Profile image

How to make rotators that don't reverse direction when you deactivate them

1,219 Novaxomix  2.0 years ago

I need this for a submarine engine, I fixed the submarine before, but I don't remember how, sum(Throttle) changes literally nothing about the fact that the engine reverses direction

  • Log in to leave a comment
  • Profile image
    6,361 11qazxc

    clamp01 requires one input. try to activate AG1 and try again. And you don't need activation group in rotator itself with this code.

    2.0 years ago
  • Profile image
    1,219 Novaxomix

    @11qazxc sum(Throttle*clamp01(Activate1)) will not work, my guess is that clamp01 requires two inputs, but im not sure.

    2.0 years ago
  • Profile image
    1,219 Novaxomix

    @11qazxc Thanks, ill try this

    2.0 years ago
  • Profile image
    6,361 11qazxc

    set zeroOnDeactivate to False in input section of rotator's xml.
    or use something like sum(Throttle*clamp01(Activate1)) for input.

    2.0 years ago