Profile image

1.9 Beta - Tank Stabilizer with Funky Trees

331 Kirby144p  5.0 years ago

Seeing this forum post, I got really exited about the new Funky Trees system. After spending some time with it yesterday, I managed to create a semi-gyro semi-rotator stabilizer (gyro for rotation of the turret, rotator for elevation of the gun). It looks like this:

The red parts simulate the gun without stabilization

Amazing isn't it?
It's better than a gyro-stabilized gun because it can still fully elevate the gun when going up or downhill. Also its much more stable. But not without any problems:

Elevating above 40°, the maximum elevation
Elevating above 40°, the maximum elevation

Too much depression
Too much depression

How it works:

The system is made up of two rotators.
One that actually elevates the gun
actual elevation

And another that makes sure that the gun stays at that elevation
stabilizer
Theoretical input:
clamp(deltaangle(Trim * [Your guns max elevation], PitchAngle), -1 ,1)
Practical input:
clamp(deltaangle(Trim * 40, PitchAngle), -1 ,1)

Make sure that damperMultiplier is set to a high value, other wise the gun will very rapidly move up and down.

I would appreciate your comments and ideas for this new system. Fixes are welcome!

The link to the used craft can be found here.

  • Log in to leave a comment
  • Profile image
    331 Kirby144p

    I want to address my false statement that "It's better than a gyro-stabilized gun because it can still fully elevate the gun when going up or downhill." It can't. But as is said, you can still submit fixes right here!

    Pinned 5.0 years ago
  • Profile image
    2,272 GooseSan

    @Pophead I think to make it horizontal you can change the Pitch in it to Roll or Yaw.

    4.2 years ago
  • Profile image
    8,888 Pophead

    Is there a horizontal version of this if so please help me

    4.4 years ago
  • Profile image

    Tried this on my tank but the stabilizer rotates fully instead of what it needs to rotate to be stable

    4.4 years ago
  • Profile image

    Jundroo really needs to add XML inputs to the Joint Rotator:

    Title: enableStabilizer
    Type: true/false
    Remarks: (Placeholder description) You know what it does.

    Title: axis
    Type: string
    Remarks: can be x (horizontal) or y (vertical)

    Title: stabilizeRate (only accessible in Overload)
    Type: number
    Remarks: The speed the rotator reacts to a change in angle.

    Title: activationGroup
    Type: integer
    Remarks: The activation group that activates the stabilizer.

    +5 4.5 years ago
  • Profile image
    8,064 Jauntyccmbr

    Its keeps bobbing up and down

    4.7 years ago
  • Profile image
    1,902 RavenG59

    Sooo is there now a version with no problems ?

    4.7 years ago
  • Profile image
    15.3k Baby

    @plane918273645 I did, but the gun would then raise up and just stay up.

    5.0 years ago
  • Profile image

    He literally said to apply damper multiplier but you didn’t... @Baby

    5.0 years ago
  • Profile image
    15.3k Baby

    Could I possibly have some help with this..? I understand it but each time I apply it to my build everything shakes wildly, could you possibly help me with my build?

    5.0 years ago
  • Profile image
    67.1k SnoWFLakE0s

    @Kirby144p
    .
    See this discussion thread here. I've addressed a lot of your concerns.

    5.0 years ago
  • Profile image
    331 Kirby144p

    @SnoWFLakE0s
    I just saw your comment and I’ve got no time to test it but would your solution fix the problem, mentioned in my pinned comment?

    EDIT:
    I’ve thought about it and now I know it doesn’t. You’d need to measure the tanks as well as the guns pitchAngle, which can only be achieved by having two cockpits...

    5.0 years ago
  • Profile image
    24.4k NoGoCars

    Well you could have the stabilizer set to activation group 8.

    5.0 years ago
  • Profile image
    67.1k SnoWFLakE0s

    @Kirby144p
    .
    Here's a slightly more elegant solution- this doesn't need any other modifications except for the actual input (no need to deal with damperMultiplier):

    clamp(PitchAngle*0.01, -1, 1)
    all you need is a rotator with 90º range (the default). No other modifications needed. Although, this also requires that you add a separate part to elevate your gun- though when modifying older builds to have a stabilizer, my solution will likely be easier to use, and the same can be done to add a horizontal stabilizer:

    clamp(RollAngle*0.01, -1, 1)
    Both in tandem create an effective two-plane stabilizer.

    +3 5.0 years ago
  • Profile image

    @Kirby144p no problem.

    5.0 years ago
  • Profile image
    331 Kirby144p

    Thank you for your help @EternalDarkness , it is very much appreciated!

    5.0 years ago
  • Profile image

    When using Imgur links, remove "s" from "https". Otherwise, images won't show to those who aren't logged into Imgur. I did it for you here.

    5.0 years ago
  • Profile image
    331 Kirby144p

    @Roswell I've revisited the websites the pictures are on and viewed the post without being logged in. Everything works fine for me... But anyways thanks for your kind comment. :D

    5.0 years ago
  • Profile image
    7,256 Roswell

    @Kirby144p this works pretty well.
    And also the picture aren't loading for some reason.

    5.0 years ago
  • Profile image
    331 Kirby144p

    @Armyguy1534 Weird.. they show up for me. Reload the page or restart your browser.

    5.0 years ago
  • Profile image
    28.0k Armyguy1534

    I cant see the pictures

    5.0 years ago
  • Profile image
    13.1k CruzerBlade

    SimplePlanes is legit turning into ComplicatedPlanes
    The prophecy is true

    +5 5.0 years ago