Profile image

WORKING FIX FOR AUTO ROLL...

2,798 Brisket  3.5 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.1 years ago
  • Profile image

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

    2.2 years ago
  • Profile image

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

    3.1 years ago
  • Profile image
    6,453 Diver

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

    3.5 years ago
  • Profile image
    2,798 Brisket

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

    3.5 years ago
  • Profile image
    41.7k rexzion

    autoroll is big pain

    3.5 years ago