RigidChips
Would you like to react to this message? Create an account in a few clicks or log in to continue.

Aircraft-unwanted roll

4 posters

Go down

Aircraft-unwanted roll Empty Aircraft-unwanted roll

Post by Maurice Fri Dec 21, 2012 12:37 pm

So I've been working on a small fighter aircraft and a strange phenomenon has begun to occur: the plane will roll rightwards all by itself with no input. I've gone through and checked, there are no weird angles or unzeroed values that should be causing this. The roll becomes more pronounced when you pitch up, and pitching down causes the roll to reverse. This has actually happened to several of my aircraft but it is most pronounced on this one because of it's size. Any insight into this and a way to counter it would be great. It's got me completely stumped.
Maurice
Maurice
Hover
Hover

Posts : 153
Join date : 2011-10-07
Age : 28
Location : The early 1970's

Back to top Go down

Aircraft-unwanted roll Empty Re: Aircraft-unwanted roll

Post by DanielLC Fri Dec 21, 2012 12:50 pm

Can you give the code for the airplane?

DanielLC
Tank
Tank

Posts : 78
Join date : 2010-10-23

Back to top Go down

Aircraft-unwanted roll Empty Re: Aircraft-unwanted roll

Post by Maurice Fri Dec 21, 2012 5:17 pm

Sure thang...

Code:
// [RCD]
Val
{
   AIL(default=0, min=-10, max=10, step=5)
   AIRBRAKE(default=0, max=45, step=10)
   B(default=0, max=50, step=50)
   ELEV(default=0, min=-5, max=5, step=2.5)
   GEARM(default=-90, min=-180, max=-90)
   GUN(default=0, max=60000, step=60000)
   JET(default=0, max=100000)
   RUDD(default=0, min=-15, max=15, step=5)
}
Key
{
   0:Elev(step=-2.5)
   1:Elev(step=2.5)
   2:Ail(step=-5)
   3:Ail(step=5)
   4:Jet(step=5000)
   5:Jet(step=-5000)
   6:GearM(step=-5)
   7:rudd(step=5)
   8:gun(step=60000), B(step=10)
   9:rudd(step=-5)
   10:GearM(step=5)
   12:airbrake(step=5)
}
Body
{
   Core() {
      S:Frame(angle=160) {
         S:Chip(angle=20) {
            N:Chip() {
               N:Chip() {
                  N:Trim(angle=90) {
                     N:Frame(angle=rudd, option=1) {
                        E:Chip() {
                           S:Rudder(angle=53) { }
                        }
                        N:Wheel(angle=180, brake=B) { }
                     }
                  }
                  S:Frame(angle=30) {
                     S:Jet(angle=-120, power=-jet) { }
                     S:Cowl(angle=-50, effect=#8000) {
                        S:Cowl(angle=10) {
                           S:Cowl(angle=-150) {
                              S:Cowl(angle=-10) {
                                 S:Cowl(angle=-10) {
                                    W:Cowl(angle=-91) { }
                                    E:Cowl(angle=-91) { }
                                    S:Cowl(angle=-10) {
                                       S:Cowl() {
                                          S:Cowl() {
                                             W:Cowl(angle=-160, option=3) {
                                                N:Cowl() { }
                                             }
                                             E:Cowl(angle=-160, option=4) {
                                                N:Cowl() { }
                                             }
                                          }
                                          W:Cowl(angle=-160) { }
                                          W:Cowl(angle=-120, option=3) { }
                                          E:Cowl(angle=-120, option=4) { }
                                       }
                                       E:Cowl(angle=-120) { }
                                       W:Cowl(angle=-120) { }
                                    }
                                 }
                                 W:Cowl(angle=-90, option=4) { }
                                 E:Cowl(angle=-90, option=3) { }
                              }
                              E:Cowl(angle=-160, option=3) {
                                 S:Cowl(option=4) { }
                              }
                              W:Cowl(angle=-160, option=4) {
                                 S:Cowl(option=3) { }
                              }
                           }
                           E:Cowl(angle=-160, option=4) {
                              N:Cowl(option=3) { }
                           }
                           W:Cowl(angle=-160, option=3) {
                              N:Cowl(option=4) { }
                           }
                        }
                        E:Cowl(angle=-91, option=4, effect=#8000) { }
                        W:Cowl(angle=-91, option=3, effect=#8000) { }
                     }
                     S:Cowl(angle=150) {
                        S:Cowl(angle=10) {
                           S:Cowl() {
                              S:Cowl() {
                                 W:Cowl(angle=160, option=3) {
                                    N:Cowl() { }
                                 }
                                 E:Cowl(angle=160, option=4) {
                                    N:Cowl() { }
                                 }
                              }
                              W:Cowl(angle=160) { }
                              W:Cowl(angle=120, option=3) { }
                              E:Cowl(angle=120, option=4) { }
                           }
                           E:Cowl(angle=120) { }
                           W:Cowl(angle=120) { }
                        }
                        W:Cowl(angle=90) { }
                        E:Cowl(angle=90) {
                           S:Cowl(angle=90) { }
                        }
                     }
                  }
                  N:Chip() {
                     N:Chip() {
                        E:Trim(angle=-elev) { }
                        W:Trim(angle=elev) { }
                     }
                  }
               }
               E:Rudder(angle=-30) {
                  E:Chip() {
                     E:Chip() { }
                  }
                  W:Chip() { }
                  N:Chip(angle=ail) { }
               }
               W:Rudder(angle=30) {
                  W:Chip() {
                     W:Chip() { }
                  }
                  N:Chip(angle=-ail) { }
                  E:Chip() { }
               }
            }
            W:Wheel(angle=gearm, brake=B) { }
            E:Wheel(angle=gearm, brake=B) { }
         }
      }
   }
}
Maurice
Maurice
Hover
Hover

Posts : 153
Join date : 2011-10-07
Age : 28
Location : The early 1970's

Back to top Go down

Aircraft-unwanted roll Empty Re: Aircraft-unwanted roll

Post by orrrrz Fri Dec 21, 2012 7:58 pm

It is a bug which causes a slight vibration.If you add several frames to your model,the problem may be solved.

orrrrz
Tank
Tank

Posts : 55
Join date : 2012-06-19
Age : 29
Location : Tokyo

Back to top Go down

Aircraft-unwanted roll Empty Re: Aircraft-unwanted roll

Post by Maurice Sat Dec 22, 2012 9:19 am

Where would I add said frames? I really don't want to throw off the balance...
Maurice
Maurice
Hover
Hover

Posts : 153
Join date : 2011-10-07
Age : 28
Location : The early 1970's

Back to top Go down

Aircraft-unwanted roll Empty Re: Aircraft-unwanted roll

Post by mober Sat Dec 22, 2012 2:58 pm

It works fine for me. But the gun dont work
mober
mober
Tank
Tank

Posts : 65
Join date : 2012-01-17

Back to top Go down

Aircraft-unwanted roll Empty Re: Aircraft-unwanted roll

Post by Maurice Sat Dec 22, 2012 3:02 pm

Aircraft-unwanted roll Facepa10

It doesn't have a gun on it... That val was residual from the aircraft I based it off of, which did have a gun. This is a work in progress, remember?
Maurice
Maurice
Hover
Hover

Posts : 153
Join date : 2011-10-07
Age : 28
Location : The early 1970's

Back to top Go down

Aircraft-unwanted roll Empty Re: Aircraft-unwanted roll

Post by orrrrz Sat Dec 22, 2012 4:38 pm

I still haven't understood a low of the bug,so I cannot tell you where you should add frames.
The rational way to solve the vibration is you make a script to control your plane.

orrrrz
Tank
Tank

Posts : 55
Join date : 2012-06-19
Age : 29
Location : Tokyo

Back to top Go down

Aircraft-unwanted roll Empty Re: Aircraft-unwanted roll

Post by Sponsored content


Sponsored content


Back to top Go down

Back to top

- Similar topics

 
Permissions in this forum:
You cannot reply to topics in this forum