Search Unity

  1. Good news ✨ We have more Unite Now videos available for you to watch on-demand! Come check them out and ask our experts any questions!
    Dismiss Notice

[RELEASED] Truss Physics for Unity3D. Soft-body simulation plugin.

Discussion in 'Assets and Asset Store' started by Heartbroken, Aug 22, 2015.

  1. markgusseff

    markgusseff

    Joined:
    Dec 21, 2019
    Posts:
    3
    Arsyl_Games likes this.
  2. moo9

    moo9

    Joined:
    Sep 23, 2018
    Posts:
    3
    seems like It's not the full package, should I add the old demo and replace with yours? thank you in advance :).
     
  3. moo9

    moo9

    Joined:
    Sep 23, 2018
    Posts:
    3
    by the way It's still crash when I try to add truss tires to my own car with another car control script too, the red car demo works fine..
     
  4. ShadowTM6X

    ShadowTM6X

    Joined:
    Apr 29, 2016
    Posts:
    98
  5. Arsyl_Games

    Arsyl_Games

    Joined:
    May 8, 2019
    Posts:
    42
    How do you mean?
     
  6. Arsyl_Games

    Arsyl_Games

    Joined:
    May 8, 2019
    Posts:
    42
    in unity 2018 the demo works fine without any errors. I also imported it in unity 2019.2.4 and it also works. But when I add my own model with truss it doesnt work.
     
    Last edited: Mar 20, 2020
  7. ShadowTM6X

    ShadowTM6X

    Joined:
    Apr 29, 2016
    Posts:
    98
    I Click Play and Car not moving
     
  8. Arsyl_Games

    Arsyl_Games

    Joined:
    May 8, 2019
    Posts:
    42
    Did you import it to a empty project? Just create a new project and then import truss in it. If car is not moving there needs to be an error. Can you show the error to me? Also I want mobile UI. Does anyone nows how to make it? Or a tutorials about it?
     
  9. ShadowTM6X

    ShadowTM6X

    Joined:
    Apr 29, 2016
    Posts:
    98


     
  10. ShadowTM6X

    ShadowTM6X

    Joined:
    Apr 29, 2016
    Posts:
    98
    Camera Working but Car not and no errors
     
  11. Arsyl_Games

    Arsyl_Games

    Joined:
    May 8, 2019
    Posts:
    42
    Go to your scene and press “save scene” press again play and look. Is it build for windows and which unity version do you use? Also look in the car if there are no scripts missing. Is there also a script called “redcar” added to the redcar?
     
    Last edited: Mar 24, 2020
  12. ShadowTM6X

    ShadowTM6X

    Joined:
    Apr 29, 2016
    Posts:
    98
    Script RedCar in car ? No not exist script :/
     
  13. Arsyl_Games

    Arsyl_Games

    Joined:
    May 8, 2019
    Posts:
    42
    I can give you redcar script. You need only give your email to me. without the redcar script the car doesnt ride. Cause it is the car controller script.
     
  14. ShadowTM6X

    ShadowTM6X

    Joined:
    Apr 29, 2016
    Posts:
    98
    Facerougex@gmail.com Thanks :)
     
  15. Arsyl_Games

    Arsyl_Games

    Joined:
    May 8, 2019
    Posts:
    42
  16. ShadowTM6X

    ShadowTM6X

    Joined:
    Apr 29, 2016
    Posts:
    98
    Send full project pls Thanks :)
     
  17. Arsyl_Games

    Arsyl_Games

    Joined:
    May 8, 2019
    Posts:
    42
    I did
     
    ShadowTM6X likes this.
  18. Arsyl_Games

    Arsyl_Games

    Joined:
    May 8, 2019
    Posts:
    42
    Does somebody knows how to generate my own car mesh? If I go to the package>Truss>Meshes>Generated is everything from the redcar generated. I also have Realistic car controller. If I go there to the imported meshes from the vehicles it is also generated. I have my own car model but I dont know how to do it. If somebody of you guys knows how to do it or a if you know a tutorial about it, pls let me know. Thanks
     
  19. Arsyl_Games

    Arsyl_Games

    Joined:
    May 8, 2019
    Posts:
    42
    Here is the redcar demo with mobile UI. This is tested on iOS and Android (within unity editor)
     
    Last edited: May 28, 2020
    markgusseff and ShadowTM6X like this.
  20. ShadowTM6X

    ShadowTM6X

    Joined:
    Apr 29, 2016
    Posts:
    98
    Amazing work :)
     
    Arsyl_Games likes this.
  21. Arsyl_Games

    Arsyl_Games

    Joined:
    May 8, 2019
    Posts:
    42
    Can somebody help me with the truss plugins (Redcar demo)? Go to Truss->plugins and you will find all the plugins. I have a problem when I build it to android. Nothings is working. The world and stuff can load but thé softbody physics arent working :(
    I use unity 2019.3.10
    If you can help me and it works, I will give you a prize! Thanks
     
    Last edited: May 28, 2020
  22. ASDev

    ASDev

    Joined:
    Dec 9, 2012
    Posts:
    48
    Softbody physics works on android and iOS very slow. It's because I stopped develop games with Truss physics on mobile platforms
     
  23. shahzaib

    shahzaib

    Joined:
    Dec 14, 2013
    Posts:
    25
    so tried running the example scenes on android, nothing works, objects stay static. any idea why it does that?
     
  24. Arsyl_Games

    Arsyl_Games

    Joined:
    May 8, 2019
    Posts:
    42
    Here is everything the same. When running on android, everything is static. When using the debugger I have 7 errord. Tried to fix Them but it is almost impossible. Developer is also not answering or something like that. Its a shame
     
  25. Arsyl_Games

    Arsyl_Games

    Joined:
    May 8, 2019
    Posts:
    42
    Wait truss physics are working on android? When I try to run it, it doesn't work
     
  26. Mehrdad995

    Mehrdad995

    Joined:
    Jul 17, 2013
    Posts:
    39
    Take a look at this guy (https://twitter.com/StudioTatsu)
    He's doing some cool physics stuff, Idk if it's soft body but it looks very promising.
     
  27. ASDev

    ASDev

    Joined:
    Dec 9, 2012
    Posts:
    48
    Yes, it works on Android, but if you use softbody tires - it runs too slowly
     
  28. Arsyl_Games

    Arsyl_Games

    Joined:
    May 8, 2019
    Posts:
    42
    it are softbody physics, I talked t him but he will not make a beamng style game. His game will be different. He is also not planning to sell it.
     
  29. Arsyl_Games

    Arsyl_Games

    Joined:
    May 8, 2019
    Posts:
    42
    Wait it works when you try it on android?? When I build it to android it doesnt. Is it possible to have the apk file from it? Than I can test it on my phone.
     
  30. ASDev

    ASDev

    Joined:
    Dec 9, 2012
    Posts:
    48
    Of course it's possible :)
    https://fex.net/ru/s/favvvmx
    1st car, 1st track. It runs slow when 2-5 cars on track. But I built it 2 years ago, maybe now mobile devices are able to run it at least 50-60fps
     
    Mehrdad995 likes this.
  31. Arsyl_Games

    Arsyl_Games

    Joined:
    May 8, 2019
    Posts:
    42
    I can download everything and it runs smoothly on my phone. Is it possible to ge the project to improve it, optimize it and than give it back to you?
     
  32. ASDev

    ASDev

    Joined:
    Dec 9, 2012
    Posts:
    48
    You should understand that truss physics is very complicated to setup a car. Especially removable parts. I don't think its possible to create productioon version of game with it. I tried several types of vehicle games - racing, offroad, destruction etc. and I think Truss physics is in very early stage of develoment to create car games with it
     
  33. Mehrdad995

    Mehrdad995

    Joined:
    Jul 17, 2013
    Posts:
    39
    You are right, It's probably his game's most valuable competitive advantage so he won't sell it at least before the game release.
    I'm also very interested in soft-body physics and racing games and I'm planning to take a look at it for my next project next year, maybe in future, we have to eventually work on making our own soft-body physics after all :D
     
  34. Arsyl_Games

    Arsyl_Games

    Joined:
    May 8, 2019
    Posts:
    42
    Can I atleast try? And in what unity version is it made?
     
  35. Arsyl_Games

    Arsyl_Games

    Joined:
    May 8, 2019
    Posts:
    42
    If we want softbody physics, than we need to make them ourself. But that is where the problem starts. I dont have enough skills to make softbody physics from scratch. And there are 2 ways of softbody physics. One is using particles and the other one using beamns and nodes. Beamng and truss their softbody system is using beamns and nodes. The asset called « obi softbody » is made using particles. If you want to make a softbody physics system, pls make one using beamns and nodes. Thats the only way to make a car Racing/destruction style game with softbody physics.
     
  36. Mehrdad995

    Mehrdad995

    Joined:
    Jul 17, 2013
    Posts:
    39
    Many years ago I made a quite simple damage system for my racing game that had bendable surfaces and nodes (which displace or break apart) but it wasn't soft body as it was calculated upon impacts, taking into account the accurate impact force and point.
    Now that I got to know soft-body more, I'm impressed with how many possibilities it opens for developers.
    I really hope someone makes a good one before I start a new project as the R&D process can take a lot of time but if no one does that then I have to do it myself.
    The StudioTatsu one, as far as I know, is using Unity's new burst compiler with Multi-Threading,
    for performance heavy things like this, you either have to make them in c++ or if proven the new unity D.O.T.S technology that I've heard a lot of positive reviews from it.
    Even if I have to make one it will not be ready sooner than 2022 so don't stop your project, I'm sure you can either find or make something suitable.
     
    Arsyl_Games likes this.
  37. Fibonaccov

    Fibonaccov

    Joined:
    May 5, 2020
    Posts:
    19
    Yes, that's the first thing I noticed but then I went to build for Android Arm64 (IL2CPP) and was able to generate an APK and run it on the device fine so maybe that's a non issue unless there is some extra check when publishing an APK through Google Play Store? Wonder if anyone has tried with Truss and will try and research if that's an issue independently of this asset - I did request @Heartbroken if we could get some Arm64 library for Android but haven't heard back - I do own the asset.
     
  38. Fibonaccov

    Fibonaccov

    Joined:
    May 5, 2020
    Posts:
    19
    Ok well - here the answer to my own question above:

    By August 1, 2021, Google will remove Arm64 APKs which contain 32 bit DLLs - in short, it won't be possible to publish a Truss Physics based app to Google Play Store after that date as there is no Android Arm64 DLL of Truss Physics
    That explains why building an Android Arm64 APK works today still.

    Source
     
  39. Arsyl_Games

    Arsyl_Games

    Joined:
    May 8, 2019
    Posts:
    42
    oh noooo
     
unityunity