@Bo1233 The no mods file is currently 1864 parts, however this can be reduced to approximately 1600 with the removal of details, and further reduced to approximately 200 (currently, not including cockpit) with the complete removal of all parts aside from physics-affecting parts.
From what I've found with my calculator, sin-1(any number) returns math error if the number in the equation is larger than 1. sin-1(1) returns 90, anything above it returns math error.
@X99STRIKER Well I can't really be bothered taking the time to write out a really long comment and then spending a further amount of time trying to solve all the problems the user has.
@TRD6932 For the variables, those are actually on the control base (the bit the joystick is attached to). Also note the two setters to 0 in the global variables panel. If you are interested in learning this yourself, download the car (linked at the top of the post) and look at it yourself.
Also just in case it comes up, you can use any variable you want. I just used Pitch1 and Roll1 to show how they work.
Autopilot... complicated but explainable.
Lemme explain the basics in a p̶a̶r̶a̶g̶r̶a̶p̶h̶ short essay. I will be using the SWL-10's autopilot (wait, you can use that!) for this example. For the SWL-120 the basics will be the same.
The first thing we want to do is make a system which allows us to select a target heading, altitude, and vertical speed. You have done this. Now, we want to incorporate our current heading, vertical speed, and altitude. Then we want to find the difference between the two and then clamp that difference, so we get a number which smoothly goes to 0 as we approach all of our targets. Something important to note is Unity works in metric (meters, meters per second) instead of imperial (knots, feet).
Another good thing - A while ago, I made several YouTube videos about the development of the SWL-10, specifically focusing on the funky trees, and I think one or two were almost exclusively about the autopilot. I'm not sure if they include all the information, but I'll make a video or two when I make the SWL-120's autopilot. Here is the video about the autopilot. I'm pretty sure some info is missing, but let me know and I'll help you.
Oh, and here's the SWL-10. The autopilot is in the bottom few variables (the video will help), and some numbers might need tuning. I'd also recommend looking at the code in the four "physics wings" around the aircraft.
I'd also like to have a look at the funkyness in the cockpit of this regional airliner you're building.
One last thing - if you're really stuck, then I'd recommend waiting a month or two, until I can make a video on the SWL-120's autopilot, because in that video I'll try and make sure the entire video is dedicated to completely explaining how the autopilot works, and then coding and testing it.
It's possible, go into controls, select the joystick, and click calibrate. Then adjust the zero until the positive axis turns into the whole input. I had the same problem with mine. (Different setup, but same problem).
I might ask you (following the instructions of the forum) to make a teaser for the SWL-120. It will take about a year to finish but just informing you of my thoughts now.
Wow! I've made something similar, and a user by the name of zwen has too, but this looks like it has more functions! Good job, and I will use this in my upcoming SWL-120.
@IceCraftGaming Yes. (Mostly). It won't have the ultra advanced stuff, but most things you'd find in a flight sim (and more even) will be in this. By ultra advanced I mean things like a fully working keyboard where you can type letters. It will have a waypoint system with flight plans and an autopilot with many functions like flying to waypoints.
@Bo1233 The no mods file is currently 1864 parts, however this can be reduced to approximately 1600 with the removal of details, and further reduced to approximately 200 (currently, not including cockpit) with the complete removal of all parts aside from physics-affecting parts.
+2@FeatherWing I found my RTX 3060 was at 80% usage when flying around with just a simple 50 part plane.
+2My SWL-10 has engine fire detection but it's just checking if there is a lot of throttle and no engine RPM.
+2@Spacepickle3214 hmm I think I know who the owner of @HondaOfficial is. Joined 1 hour ago.
+2@IICXLVIICDLXXXIIIDCXLVII I made a tutorial on making custom wings.
+2@Kakhikotchauri1 Thanks.
+2This may interest you, with this currently in development.
+2From what I've found with my calculator, sin-1(any number) returns math error if the number in the equation is larger than 1. sin-1(1) returns 90, anything above it returns math error.
+2@Kakhikotchauri1 What mods are you missing? I have almost all of your PC mods saved in an archive.
+2Very nice. Welcome back.
+2Wait, it doesn't have a 30 minute startup sequence complete with flight plan and ifr systems?
+2Still pretty good.
hmmmmmmmmmmmmmmm
+2@Hazerz I haven't really posted an update about it, but I'm going to have business class as well as economy now.
+2This looks AMAZING!
+2It's perfect for longer range planes.
dat gear tho...
+2Lag Wolf.
+2Makeup brand? I was thinking of the Apple product.
+2RTX 3060 vs this. Let's goooo....
+2@FujiwaraAutoShop I've seen a lot of people complaining about the craft instructions bricking their precious project. Interesting.
+2@SemedianIndustries Ah, I see. I forgot not everyone has a nasa PC.
+2GearDown is -1 or 1 in this. Try clamp01(GearDown).
+2Very useful! I personally reference this handy documentation for my labels, as it lists every single attribute the labels allow for.
+2Nice. I also had the idea of a magnet attaching to a plane/car with a camera, I just haven't worked on this idea. I can see here it works.
+2I have access to the testing version, that can be found here for anyone wondering.
+2@X99STRIKER Well I can't really be bothered taking the time to write out a really long comment and then spending a further amount of time trying to solve all the problems the user has.
+2@X99STRIKER You ask someone else, or wait until 2050 when I release a video tutorial on simulated fuel tanks.
+2@TRD6932 For the variables, those are actually on the control base (the bit the joystick is attached to). Also note the two setters to 0 in the global variables panel. If you are interested in learning this yourself, download the car (linked at the top of the post) and look at it yourself.
+2Also just in case it comes up, you can use any variable you want. I just used Pitch1 and Roll1 to show how they work.
I know @klm747klm747 has a lot of info on this.
+2@Cereal It's for my SWL-120.
+2@BeastHunter Higher damper reduces bounce. No damper has more bounce.
+2Reduces the bounce. Spring strength increases the overall strength, and damper slows down the movement.
+2First unwritten rule: If you ask, then you don't.
+2Autopilot... complicated but explainable.
+2Lemme explain the basics in a p̶a̶r̶a̶g̶r̶a̶p̶h̶ short essay. I will be using the SWL-10's autopilot (wait, you can use that!) for this example. For the SWL-120 the basics will be the same.
The first thing we want to do is make a system which allows us to select a target heading, altitude, and vertical speed. You have done this. Now, we want to incorporate our current heading, vertical speed, and altitude. Then we want to find the difference between the two and then clamp that difference, so we get a number which smoothly goes to 0 as we approach all of our targets. Something important to note is Unity works in metric (meters, meters per second) instead of imperial (knots, feet).
Another good thing - A while ago, I made several YouTube videos about the development of the SWL-10, specifically focusing on the funky trees, and I think one or two were almost exclusively about the autopilot. I'm not sure if they include all the information, but I'll make a video or two when I make the SWL-120's autopilot.
Here is the video about the autopilot. I'm pretty sure some info is missing, but let me know and I'll help you.
Oh, and here's the SWL-10. The autopilot is in the bottom few variables (the video will help), and some numbers might need tuning. I'd also recommend looking at the code in the four "physics wings" around the aircraft.
I'd also like to have a look at the funkyness in the cockpit of this regional airliner you're building.
One last thing - if you're really stuck, then I'd recommend waiting a month or two, until I can make a video on the SWL-120's autopilot, because in that video I'll try and make sure the entire video is dedicated to completely explaining how the autopilot works, and then coding and testing it.
It's possible, go into controls, select the joystick, and click calibrate. Then adjust the zero until the positive axis turns into the whole input. I had the same problem with mine. (Different setup, but same problem).
+2ayo point 1 is now a thing
+2Please tag me on thisss.
+2Also about the actual problem, it's not because of the variables. The SWL-120 has over 200, and there are never problems.
clamp01(IAS > 800 & Throttle > 0.96)
+2replace 800 with whatever value.
I might ask you (following the instructions of the forum) to make a teaser for the SWL-120. It will take about a year to finish but just informing you of my thoughts now.
+2@jamesPLANESii Yes it is.... but that wing tho... where airfoil
+2@TRD6932 No, I only archive PC mods. Sorry.
+2True. It's not a game anymore. It's a creative modelling and coding program. Also known as a flight simulator.
+2Wow! I've made something similar, and a user by the name of zwen has too, but this looks like it has more functions! Good job, and I will use this in my upcoming SWL-120.
+2@jamesPLANESii Do you happen to have a copy of this mod? @Mekomara (and other users) is trying to get a copy.
+2@DeveloperKorzalerke How about paint and a whole ton of ray tracing and shaders.
+2Mine's probably airliner white with a bit of everything else for smaller things.
+2@IceCraftGaming Yes. (Mostly). It won't have the ultra advanced stuff, but most things you'd find in a flight sim (and more even) will be in this. By ultra advanced I mean things like a fully working keyboard where you can type letters. It will have a waypoint system with flight plans and an autopilot with many functions like flying to waypoints.
+2My SWL-10 has one of the best cockpits on the website, and the upcoming SWL-120 will be the most detailed and realistic plane ever.
+2@IceCraftGaming @jamesPLANESii Probably.
+2I got one of the best PCs on the website, as well as all the other required things, except for VR.
+2@Hazerz We are each good at both.
+2