Profile image

How do i activate an input if my yaw turn is fast

371 Planemodder1911  2 months ago

Im modifying a car and I need my exhaust output to be activated when i turned very fast but if the turn speed decreases the input is deactivated. Im sorry idk how to say it another way

  • Log in to leave a comment
  • Profile image
    16.6k SilverStar

    @Planemodder1911 (YawRate>x)|(YawRate<y)
    x is a value > 0
    y is a value < 0

    Pinned one month ago
  • Profile image
    44.1k Graingy

    @Planemodder1911 I see.

    Could probably be set to one somehow, but I’d just add another engine with the inverse input.

    Pinned 2 months ago
  • Profile image

    @SilverStar thx

    one month ago
  • Profile image
    44.1k Graingy

    @SilverStar I don’t follow?

    one month ago
  • Profile image
    16.6k SilverStar

    @Graingy This is the variable for the rate of change of the Yaw axis of the vehicle

    one month ago
  • Profile image
    44.1k Graingy

    @SilverStar aren’t those completely different axis?

    one month ago
  • Profile image

    It worked thx @Graingy

    +1 one month ago
  • Profile image

    @Graingy alr i’ll try it rn

    one month ago
  • Profile image

    @Planemodder1911 it activates when u turn too fast but it needs to be activated both sides

    2 months ago
  • Profile image

    @Graingy no. It’s like a vtol engine with 0 power activating a nozzle with cos(Time * 350) * abs([YawRate thing but it needs to be both sided). Basically the nozzle acts like an exhaust pipe if the car

    2 months ago
  • Profile image
    44.1k Graingy

    That is, how does the system work?

    2 months ago
  • Profile image
    44.1k Graingy

    Backfire... like the engine not working right? How are you implementing this?

    2 months ago
  • Profile image

    @Graingy im trying to backfire the car if i turn too fast on both sides but if slowly decreases the yaw rate, it deactivates

    2 months ago
  • Profile image
    44.1k Graingy

    Hm. Makes sense. What are you trying to achieve?

    2 months ago
  • Profile image

    I mean it does work but it only activates when i turn right, but when i turn left it doesn’t work.

    +1 2 months ago
  • Profile image

    @Graingy i’ll try thx

    +1 2 months ago
  • Profile image
    44.1k Graingy

    @Planemodder1911 I can't remember the variable off the top of my head, but perhaps try something to the effect of YawRate>[Your desired rate here]?

    +1 2 months ago
  • Profile image

    @Graingy smth like dat

    2 months ago
  • Profile image
    44.1k Graingy

    As in yaw rate? Degrees per second?

    2 months ago