Search Unity

  1. Welcome to the Unity Forums! Please take the time to read our Code of Conduct to familiarize yourself with the forum rules and how to post constructively.

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

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

  1. Fibonaccov

    Fibonaccov

    Joined:
    May 5, 2020
    Posts:
    58
    All of the answers to your questions can be found in this thread including how to attach a Truss soft body to a rigid body. There is even a diagram ;)

    https://forum.unity.com/threads/rel...t-body-simulation-plugin.349503/#post-2265898

    https://forum.unity.com/threads/rel...-simulation-plugin.349503/page-2#post-2309181

    You can apply some force to a regular Unity rigid body once attached to a Truss soft body using Constraints - there is also some applyImpulse() method you can call on a Truss soft body.
    https://heartbroken.bitbucket.io/trussphysics/document/scripting-api/txsoftbody/
    https://heartbroken.bitbucket.io/trussphysics/document/scripting-api/
     
    Last edited: Jun 15, 2021
  2. Taku-chan-gamer

    Taku-chan-gamer

    Joined:
    Nov 18, 2019
    Posts:
    29
    i want the ability for sound
     
  3. DuoFan

    DuoFan

    Joined:
    Oct 24, 2020
    Posts:
    1
    Is it has the android plugin?
     
  4. jogescosta

    jogescosta

    Joined:
    Jul 25, 2021
    Posts:
    5
    [QUOTE = "ASDev, post: 6185128, membro: 164387"] Claro que é possível :)
    https://fex.net/ru/s/favvvmx
    1º carro, 1ª pista. Ele corre devagar quando 2 a 5 carros estão na pista. Mas eu o construí há 2 anos, talvez agora os dispositivos móveis sejam capazes de executá-lo a pelo menos 50-60 fps [/ QUOTE]

    you would still have an apk i wanted to download
     
  5. jogescosta

    jogescosta

    Joined:
    Jul 25, 2021
    Posts:
    5
    [QUOTE = "Arsyl_Games, post: 6190878, member: 3077641"] Posso baixar tudo e funciona perfeitamente no meu telefone. É possível ge o projeto para melhorá-lo, otimizá-lo e depois devolvê-lo a você? [/ QUOTE]
    you would still have an apk i wanted to download
     
  6. jogescosta

    jogescosta

    Joined:
    Jul 25, 2021
    Posts:
    5
    Dowload please download men
     
  7. jogescosta

    jogescosta

    Joined:
    Jul 25, 2021
    Posts:
    5
     
  8. jogescosta

    jogescosta

    Joined:
    Jul 25, 2021
    Posts:
    5
    New ink please men please estpu desespetado meda um novo link
     
  9. n00b_013

    n00b_013

    Joined:
    Dec 20, 2020
    Posts:
    14
    Dear all,

    I'm trying to use the Truss Physics in my game, but right after importing it, I'm running into trouble..
    15 red errors, all the same on different lines in the TxTrussDesignerEditor.cs and TxConstraintEditor.cs

    Code (CSharp):
    1. 'Handles' does not contain a definition for 'SphereCap'
    Searched this thread on Handles and SphereCap, but could not find anyone who already provided some help on this. I am using Unity 2020.3f1. Does somebody have an idea?

    Kindest regards,
     
  10. khos

    khos

    Joined:
    May 10, 2016
    Posts:
    1,217
    Just some info found:
    I might be wrong but Truss was last updated: Released: Mar 9, 2016.. when was Unity 2020 released?

    Also on the asset page I see:
    How to update scripts so it works on 2018 version: https://forum.unity.com/threads/rel...-simulation-plugin.349503/page-7#post-3519295
     
  11. n00b_013

    n00b_013

    Joined:
    Dec 20, 2020
    Posts:
    14
    Yeah, exactly my thought!

    But to rebuild what I already have now, its gonna be dramatic.. Especially after reading all the struggles and difficulties faced when using this package.

    Thanks for the quick reply though, appreciate it.

    All I could think of was: https://docs.unity3d.com/ScriptReference/Handles.SphereHandleCap.html which seems, for my knowledge an upgraded version of the Handles.SphereCap mentioned in the errors.. But I have no idea how to rebuild that..

    Handles.SphereCap
    public static void SphereCap(int controlID, Vector3 position, Quaternion rotation, float size);

    vs.
    Handles.SphereHandleCap
    public static void SphereHandleCap(int controlID, Vector3 position, Quaternion rotation, float size, EventType eventType);


    Kind regards,
     
  12. Webyilmaz

    Webyilmaz

    Joined:
    Dec 29, 2017
    Posts:
    3
    Hi, car setup tutorial avaible? Car setup is very hard..
     
  13. minions123

    minions123

    Joined:
    Feb 21, 2022
    Posts:
    1
    Dear All,
    I have updated the scripts, but when use the scripts on anything and press playmode, the unity instant crash, how can I solve this problem?

    Kindest regards.

    JASON BOOTH
     
  14. MansoorAhmadKhan

    MansoorAhmadKhan

    Joined:
    Dec 30, 2018
    Posts:
    7
    Hello Minion, I will ask you not to continue with this, you will get even more confused how things are working in it.

    Btw what are you actually trying to achieve? I may be able to suggest other stuff, may be,
     
  15. Tegleg

    Tegleg

    Joined:
    Jun 10, 2013
    Posts:
    76
    the more tx_static objects in the scene the lower the framerate.
    has anyone found a fix or workaround for this?
     
  16. VetStudio

    VetStudio

    Joined:
    Aug 11, 2015
    Posts:
    1
    Hello everyone, has anyone figured out what to do with the Arm64 library to upload the game to Google play?
     
  17. herofille

    herofille

    Joined:
    Jul 12, 2020
    Posts:
    2
    guys why the truss physics wont work on phone ?
     
  18. Taku-chan-gamer

    Taku-chan-gamer

    Joined:
    Nov 18, 2019
    Posts:
    29
    would love to get this to work with UnityCar
     
  19. khos

    khos

    Joined:
    May 10, 2016
    Posts:
    1,217
    Lol, sorry but I wish you good luck, if you succeed please share with us!
     
  20. Taku-chan-gamer

    Taku-chan-gamer

    Joined:
    Nov 18, 2019
    Posts:
    29
    i have tried before but i cant even get it to work with my own models
     
  21. khos

    khos

    Joined:
    May 10, 2016
    Posts:
    1,217
    You should design your own controller, using forces etc. I mean to get things working with truss
     
  22. Taku-chan-gamer

    Taku-chan-gamer

    Joined:
    Nov 18, 2019
    Posts:
    29
    i need unitycar for my game tho and i need something like truss for vehicle damage
     
  23. devotid

    devotid

    Joined:
    Nov 14, 2011
    Posts:
    433
    Seven years later and 14 pages deep and still no one knows how to use it. What a bummer...
     
unityunity