Search Unity

AirSim on Unity

Discussion in 'Getting Started' started by anish_g, Feb 25, 2019.

  1. anish_g

    anish_g

    Joined:
    Feb 25, 2019
    Posts:
    2
    Hello everyone. I am new to Unity and am starting to work on AirSim Unity for autonomous vehicles. I had a couple of questions regarding the same.
    1. Can we import CarSim (for Vehicle dynamics) or any other software into Unity Airsim?
    2. Can we use Python in Unity?
     
  2. Ryiah

    Ryiah

    Joined:
    Oct 11, 2012
    Posts:
    21,175
    If CarSim provides an SDK. You might have to write a wrapper around it if it's implemented in C++.

    Yes and no. You can add it as a way to script functionality in your app, but you can't use it to code the actual app (ie you can't use it instead of C#).
     
    Joe-Censored and anish_g like this.
  3. anish_g

    anish_g

    Joined:
    Feb 25, 2019
    Posts:
    2
    Thank you for your reply. Also do you know any tutorials in which I can undertsand the basics of AirSim and Unity. I am pretty new to this. Thanks.
     
    DerrickMoore likes this.
  4. JeffDUnity3D

    JeffDUnity3D

    Joined:
    May 2, 2017
    Posts:
    14,446
    Yes, we (hopefully) support the same functionality in AirSim (I helped to write the port) as in Unreal. The same Python documentation would generally still apply https://github.com/Microsoft/AirSim . You likely would not want to use your own Physics Engine. You could, as it's open source. But it would be a lot of work.
     
    anish_g likes this.
  5. xiaoyunyunyunyunxiao

    xiaoyunyunyunyunxiao

    Joined:
    Oct 13, 2017
    Posts:
    2
    what anish_g says the "CarSim" is a famous Vehicle simulation system, https://www.carsim.com/, and i really want to know why unity support AirSim instead of CarSim.
     
  6. JeffDUnity3D

    JeffDUnity3D

    Joined:
    May 2, 2017
    Posts:
    14,446
    It was a strategic decision. It's open source, so you are free to modify it as you desire.