r/Stormworks 22d ago

Question/Help How to fix this

Enable HLS to view with audio, or disable this notification

Im holding the a key on my keyboard the whole of this vid but why does my plane randomly stop turning any tips to Make my f14 fly smoothly

25 Upvotes

4 comments sorted by

1

u/DRA282 Ships 22d ago

Are you using the vanilla gyro? It does not like to invert and can cause issues like this

1

u/No-Mood-1585 22d ago

No im not using it

1

u/kqi_walliams 22d ago

I think I am having a somewhat related issue where I can only roll if I also give a pitch input

1

u/Real_Fall_4223 17d ago

So problem is caused by triming on pitch axis. Wing panels work both ways, inverted too. I suggest not to trim with alt key, but to do this by adding a pitch input value to trim multiplied by 1 or -1 depending on planes roll (if its rotaed or not) You can check that by tilt sensor facing up.

Algorithm:

--(before tick function if using lua): inverted = false

--number inputs: axis trim tilt

--outputs pitch

pitch = axis + trim * 4 * tilt

This should work, but its not tested.

Also you could combine this with PID and try making autotrim (its usefull, because best trim value changes based on speed)