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
Too much depression
How it works:
The system is made up of two rotators.
One that actually elevates the gun
And another that makes sure that the gun stays at that elevation
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.
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!
@Pophead I think to make it horizontal you can change the Pitch in it to Roll or Yaw.
Is there a horizontal version of this if so please help me
Tried this on my tank but the stabilizer rotates fully instead of what it needs to rotate to be stable
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.
Its keeps bobbing up and down
Sooo is there now a version with no problems ?
@plane918273645 I did, but the gun would then raise up and just stay up.
He literally said to apply damper multiplier but you didn’t... @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?
@Kirby144p
.
See this discussion thread here. I've addressed a lot of your concerns.
@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...Well you could have the stabilizer set to activation group 8.
@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.
@Kirby144p no problem.
Thank you for your help @EternalDarkness , it is very much appreciated!
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.
@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
@Kirby144p this works pretty well.
And also the picture aren't loading for some reason.
@Armyguy1534 Weird.. they show up for me. Reload the page or restart your browser.
I cant see the pictures
SimplePlanes is legit turning into ComplicatedPlanes
The prophecy is true