Search Unity

  1. Megacity Metro Demo now available. Download now.
    Dismiss Notice
  2. Unity support for visionOS is now available. Learn more in our blog post.
    Dismiss Notice

Physics [RELEASED] Silantro Flight Simulator

Discussion in 'Tools In Progress' started by Oyedoyin1, Mar 20, 2018.

?

Which is better in terms of "user-friendliness" and "performance"

Poll closed Aug 13, 2018.
  1. 1 giant script

    0 vote(s)
    0.0%
  2. Multiple smaller scripts

    15 vote(s)
    100.0%
  1. Oyedoyin1

    Oyedoyin1

    Joined:
    Oct 30, 2016
    Posts:
    915
    Chengdu J-20

     
  2. JamesArndt

    JamesArndt

    Joined:
    Dec 1, 2009
    Posts:
    2,932
    Not sure if this has been addressed prior, but does this system include functionality for recording of flight sessions that can be replayed?
     
  3. Oyedoyin1

    Oyedoyin1

    Joined:
    Oct 30, 2016
    Posts:
    915
    Not really, just pure flight data.



    I felt it was unnecessary since screen recorders can do the job better.
     

    Attached Files:

    Last edited: Jul 11, 2019
  4. Oyedoyin1

    Oyedoyin1

    Joined:
    Oct 30, 2016
    Posts:
    915
    #UPDATE

    1. Testing out the new Rigidbody based gun system. The Avenger generates around 87KN of pure recoil with the PGU -14/B HEI round!!!!:D:D





    2. The Radar system can now do "Per Object Tracking" where multiple targets can be identified and the best firing option for each is chosen i.e the system can now identify a ground target and Fire an AGM Missile instead of just a random missile. Note: If only AAM missiles are available and a ground target is locked, the system will warn you before launching an AAM missile.

     
    Bartolomeus755 likes this.
  5. Oyedoyin1

    Oyedoyin1

    Joined:
    Oct 30, 2016
    Posts:
    915
    #UPDATE

    The new Weapons system is now fully complete. Interesting Features;
    1. Easier communication and smaller scripts for ease of understanding and customization
    2. All available weapons can now be launched simultaneously with no switching required. i.e While tracking a ground target, you can release bombs or fire the gun while tracking a chasing aggressor, pull a full 360 and fire a missile at it. :D:D
    3. Bombs can be dropped in Single or Salvo mode depending on the rack location. i.e either Internal or External
    4. Multiple weapons (especially missiles) can be fired simultaneously at multiple targets which mimics the ability of the F-35 to track and attack multiple air targets at once.
    and much more...

    F-22 Simultaneous fire test



     
  6. Oyedoyin1

    Oyedoyin1

    Joined:
    Oct 30, 2016
    Posts:
    915
    Absolute Overkill :D:D:D:D:D

     
    Bartolomeus755 likes this.
  7. Oyedoyin1

    Oyedoyin1

    Joined:
    Oct 30, 2016
    Posts:
    915
    #UPDATE

    Semi-Active Radar System now fully functional, the missile will keep updating the target information from the parent radar whilst outside its internal radar range, then switch to Active radar for terminal guidance.



    I'll advise slowing down to about 0.3-0.5x speed to see the operation and switch, it's pretty awesome :):)
     
    Bartolomeus755 likes this.
  8. Oyedoyin1

    Oyedoyin1

    Joined:
    Oct 30, 2016
    Posts:
    915
    #UPDATE

    3rd Person Enter-Exit Flight Test

     
    Willbkool_FPCS likes this.
  9. Oyedoyin1

    Oyedoyin1

    Joined:
    Oct 30, 2016
    Posts:
    915
  10. Oyedoyin1

    Oyedoyin1

    Joined:
    Oct 30, 2016
    Posts:
    915
    New Object Tracking System

     
  11. Oyedoyin1

    Oyedoyin1

    Joined:
    Oct 30, 2016
    Posts:
    915
    #UPDATE

    Finally solved the digital PFD and MFD display integration puzzle:D:D:D


    Base Test
     
    Last edited: Jul 18, 2019
    Bartolomeus755 likes this.
  12. Oyedoyin1

    Oyedoyin1

    Joined:
    Oct 30, 2016
    Posts:
    915
  13. Oyedoyin1

    Oyedoyin1

    Joined:
    Oct 30, 2016
    Posts:
    915
  14. Oyedoyin1

    Oyedoyin1

    Joined:
    Oct 30, 2016
    Posts:
    915
    F-22 Raptor Tests



     
    Bartolomeus755 likes this.
  15. Oyedoyin1

    Oyedoyin1

    Joined:
    Oct 30, 2016
    Posts:
    915
    ibyte likes this.
  16. Oyedoyin1

    Oyedoyin1

    Joined:
    Oct 30, 2016
    Posts:
    915
  17. Oyedoyin1

    Oyedoyin1

    Joined:
    Oct 30, 2016
    Posts:
    915
    Mikoyan MiG-29



     
  18. Oyedoyin1

    Oyedoyin1

    Joined:
    Oct 30, 2016
    Posts:
    915
    Eurofighter Typhoon



     
    Bartolomeus755 likes this.
  19. Oyedoyin1

    Oyedoyin1

    Joined:
    Oct 30, 2016
    Posts:
    915
    Boeing VC-25

     
    AlteredPlanets and John1515 like this.
  20. Oyedoyin1

    Oyedoyin1

    Joined:
    Oct 30, 2016
    Posts:
    915
    Northrop YF-23

     
  21. Oyedoyin1

    Oyedoyin1

    Joined:
    Oct 30, 2016
    Posts:
    915
    Mil Mi-26

    Finally got to fly this big fella :D:D



     
  22. Oyedoyin1

    Oyedoyin1

    Joined:
    Oct 30, 2016
    Posts:
    915
    Sukhoi Su-47



     
    Last edited: Jul 28, 2019
  23. John-G

    John-G

    Joined:
    Mar 21, 2013
    Posts:
    1,122
    Any thoughts on an upgrade path between the both the flight and helicopter systems for thoses that own own of the systems.
     
  24. Oyedoyin1

    Oyedoyin1

    Joined:
    Oct 30, 2016
    Posts:
    915
    I focused on making them work seamlessly together from the very beginning i.e If you have the fixed wing you should be able to import the Rotary wing and vice-versa without any problems or stress even though both are completely independent.

    The only common system between both is the Weather system which is in a different folder so that when a new package is imported the old version is overwritten without throwing errors.

    I still have plans to make the combination work more effectively in the future.:)
     
  25. John-G

    John-G

    Joined:
    Mar 21, 2013
    Posts:
    1,122
    I meant will you have an upgrade between both systems for current users, as means of a discount to current users that wish to get the second system.
    A loyalty system, many sellers do that on the asset store as a thank you to their current customers.
     
    Oyedoyin1 likes this.
  26. Oyedoyin1

    Oyedoyin1

    Joined:
    Oct 30, 2016
    Posts:
    915
    Oh I get you now :D:D:D

    The thing is setting up discounts between two assets in Unity is not so straightforward. But it think I've got it figured out and it should be live sometime next month ;)
     
  27. John-G

    John-G

    Joined:
    Mar 21, 2013
    Posts:
    1,122
    That will be great. Thanks.
    Will pick up the heli package then.
     
  28. John1515

    John1515

    Joined:
    Nov 29, 2012
    Posts:
    248
    Hi I'm having some problems with the controls in the editor. When I select Oyedoyin > Fixed Wing > Misc > Setup Input, then it only says that keyboard input setup is succesful. Theer's no screen as in the documentation (see attachment).
    I have a Playstation2 controller attached via USB which I would like to use, also in the editor.
    The next step will be to add on screen controls. Do you have any tips on how to do that? Thanks in advance :cool:
     

    Attached Files:

    Last edited: Aug 10, 2019
  29. John1515

    John1515

    Joined:
    Nov 29, 2012
    Posts:
    248
    It's this screen that I'm looking for in the post above :)
     
  30. Oyedoyin1

    Oyedoyin1

    Joined:
    Oct 30, 2016
    Posts:
    915
    Hello,

    What I've actually done in the later updates is to combine all the controls (Keyboard + Joystick), but since the Playstation has limited buttons to handle all the controls, I choose the Logitech X3D as the default Joystick.

    All you have to do is go to Input settings and change the Joystick axis (Roll, Pitch and Yaw) to match your Playstation Controller.
    I've attached the Old Playstation Input manager, Extract it and copy it into a new project. Then check out the axis I used.
     

    Attached Files:

    • PS4.rar
      File size:
      1.5 KB
      Views:
      381
    John1515 likes this.
  31. Oyedoyin1

    Oyedoyin1

    Joined:
    Oct 30, 2016
    Posts:
    915
  32. Oyedoyin1

    Oyedoyin1

    Joined:
    Oct 30, 2016
    Posts:
    915
    New Helicopter Tutorials

    1. Upgrade Tutorial


    2. Full Setup Tutorial
     
  33. John1515

    John1515

    Joined:
    Nov 29, 2012
    Posts:
    248
    Aha thank you. Now that I understand the new implementation (keyboard + joystick) I think that's better yes. And with help of this asset I was able to find the right numbers for each axis on the playstation controller.

    About mobile: is there a unity scene with the mobile controls available? I'm rebuilding my iOS app AR Airplanes with the Silantro simulator, because the physics I have now are really really really bad :D

    I'm considering replacing all the "Input" in SilantroController.cs with the Unity "CrossPlatformInputManager" Is that a good approach to create a mobile setup?
     
    Last edited: Aug 11, 2019
  34. Oyedoyin1

    Oyedoyin1

    Joined:
    Oct 30, 2016
    Posts:
    915
    Its actually quite simple really;
    1. Switch the Aircraft Input Type to "Custom"
    2. Create a new CustomController script and assign the aircraft controller i.e
    public SilantroController aircraft;
    3. Use the CrossPlatformInputManager to collect control variables and then send them to the aircraft

     
    John1515 likes this.
  35. John1515

    John1515

    Joined:
    Nov 29, 2012
    Posts:
    248
    Ah thank you for the example, I started "hacking" SilantroController but your approach is much more correct :D
     
    Oyedoyin1 likes this.
  36. Oyedoyin1

    Oyedoyin1

    Joined:
    Oct 30, 2016
    Posts:
    915
    Helicopter Weapons Test + MFD Display Update

     
  37. Oyedoyin1

    Oyedoyin1

    Joined:
    Oct 30, 2016
    Posts:
    915
  38. John1515

    John1515

    Joined:
    Nov 29, 2012
    Posts:
    248
    EDIT: ok I made the Silantro aerofoil for the tail twice as big as in the 3D model and now it's much more steady. So now the plane is taking off! :D Now I have to adjust the flying controls:

    The elevator/pitch seems a bit off, the plane tends to point its nose down. I guess I could trim it, but shouldn't it fly straight without trimming?



    ORIGINAL POST/PROBLEM:
    Hey I'm trying to rig an airplane that I modelled, but it won't get airborne. Instead it spins on the runway. What things should I check here? It seems to be something with the wheels. All 3 wheels are added to Silantro Gear System, and the tail wheel is checked as "steerable". The wheels also have colliders etc (I followed the youtube tutorial). But the same happens if I uncheck "steerable" for the tail wheel.
    Do you have some ideas what I can check?
     
    Last edited: Aug 17, 2019
  39. Oyedoyin1

    Oyedoyin1

    Joined:
    Oct 30, 2016
    Posts:
    915
    This looks interesting.. Usually, the spinning problem only happens on Flying wing setups (where there's nothing to absolve the excess horizontal forces). Are the wing types/positions marked correctly!?.

    The youtube tutorial is kinda outdated now, I already have plans to release a new set next week.

    As per the stability, a lot of variables are in play : COG position, Wing airfoil type and the sizes. You can send the the prefab to my mail and I'll check it out later.
     
  40. Oyedoyin1

    Oyedoyin1

    Joined:
    Oct 30, 2016
    Posts:
    915
    #UPDATE

    Fixed Wing v2 Full Setup Tutorial


     
    Last edited: Aug 22, 2019
    Bartolomeus755 and John-G like this.
  41. Oyedoyin1

    Oyedoyin1

    Joined:
    Oct 30, 2016
    Posts:
    915
    UH-1Y Venom Combat Test



    CH-47 Test Flight

     
  42. Oyedoyin1

    Oyedoyin1

    Joined:
    Oct 30, 2016
    Posts:
    915
    KA-52 Flight Tests



     
  43. Oyedoyin1

    Oyedoyin1

    Joined:
    Oct 30, 2016
    Posts:
    915
    First Draft of Fenestron System Complete :D







     
    John1515 likes this.
  44. Oyedoyin1

    Oyedoyin1

    Joined:
    Oct 30, 2016
    Posts:
    915
    Helicopter airflow analysis

    1. During Stable hover i.e Vx = 0



    Generated lift is balanced on both sides of the rotor.

    2. Forward Speed Vx = 110 knots







    Legend;
    1. Green Lines: Pure Lift
    2. Red Lines = Incoming Airflow
    3. Yellow Lines = Resultant Airflow

    The rotor is rotating the in the Clockwise direction so the Advancing blade on the left side is generating more lift than the retreating blade on the right side.
    Just have to develop a good hinge system to simulate the blades stalling at high speeds. :)
     
    Bartolomeus755 likes this.
  45. Oyedoyin1

    Oyedoyin1

    Joined:
    Oct 30, 2016
    Posts:
    915
    #UPDATE

    Dynamic Center of Mass System



    The aircraft center of mass will now be calculated as a function of its payload (crew, equipments, weapons and cargo) as demonstrated in the video. The center of gravity (Blue Sphere) changes as the fuel is being expended. :):)
     
  46. Oyedoyin1

    Oyedoyin1

    Joined:
    Oct 30, 2016
    Posts:
    915
    #UPDATE

    Fuel System Upgrade

    The aircraft fuel system now operates in a realistic way. Tanks can be selected as being in the wings (with left or right position selectable), body (central) or as external. The fuel selector is now also available, it can be set to;
    1. Left: Fuel is used from the left tanks alone
    2. Right: Fuel is used from the right tanks alone
    3. External: Fuel is used from the external tanks
    4. Automatic: Fuel is burnt to keep the COM as central as possible.




    Sample:
    Fuel is burnt from Left-Central-Right. The COM (Blue Sphere) moves accordingly

     
    Bartolomeus755 likes this.
  47. Oyedoyin1

    Oyedoyin1

    Joined:
    Oct 30, 2016
    Posts:
    915
  48. Oyedoyin1

    Oyedoyin1

    Joined:
    Oct 30, 2016
    Posts:
    915
    F-4 Phantom II Flight Test

     
  49. Oyedoyin1

    Oyedoyin1

    Joined:
    Oct 30, 2016
    Posts:
    915
    Mikoyan-Gurevich MiG-21

     
  50. Oyedoyin1

    Oyedoyin1

    Joined:
    Oct 30, 2016
    Posts:
    915
    Junkers Ju 52 Flight Tests



    1. VR:


    2: Normal:
     
    Willbkool_FPCS likes this.