Profile image

WORKING FIX FOR AUTO ROLL...

2,928 Brisket  4.1 years ago

I’ve been trying to fix the auto roll on my builds as part of my retrofits and ended up with this line of code...

No drag alterations needed, I think. I am still testing go it on my other builds but it works on my A6M2_Zero - Updated version has code utilised.

Code is listed bellow...

Roll = 0 ? floor(smooth((RollRate), .25))/15 : Roll

To ‘fit’ to your aircraft just change the rate of smooth (the 0.25) to a higher or lower value.
I find going lower has worked for my spitfire I’m retrofitting.

Roll input can be altered to other inputs for roll, eg. My A6M2 has sluggishness at high speeds in place of just ‘Roll’.

Hope this helps people with their builds :)

  • Log in to leave a comment
  • Profile image

    When you return

    2.7 years ago
  • Profile image

    Men... Ma homie is dead. When ya comin back?

    2.8 years ago
  • Profile image

    Wait do i have to put this on both wings or only one?

    3.7 years ago
  • Profile image
    6,869 Diver

    Auto roll don't happen if you make the wings correct@rexrexThezion

    4.1 years ago
  • Profile image
    2,928 Brisket

    @rexrexThezion Agreed, but not anymore! - at least for my zero lol
    .
    Hope it works for you too :)

    4.1 years ago
  • Profile image
    44.4k rexzion

    autoroll is big pain

    4.1 years ago