Search Unity

Games My Truck Game

Discussion in 'Works In Progress' started by Cristineltr, Nov 2, 2019.

  1. Cristineltr

    Cristineltr

    Joined:
    May 15, 2016
    Posts:
    13
    This game is an attempt to use a combination of soft and rigid bodies in order to try and simulate a truck with a focus on tire deformation and suspension.

    I am using Truss Physics for tires, for the suspension and for the frame of the truck.

    At the moment there is nothing to do except for truck driving in the desert.

    Demo https://www.indiedb.com/groups/unity-devs/downloads/my-truck-game-demo



     
    Last edited: Jan 23, 2020
    Bzuco and Peter77 like this.
  2. khos

    khos

    Joined:
    May 10, 2016
    Posts:
    972
    Cool, would you mind showing some detail how you got this setup with truss? I imagine it is not that easy.. Any pointers would be cool to see.
     
  3. kopanz

    kopanz

    Joined:
    Dec 6, 2016
    Posts:
    5
    Have you ever tested it over 100mph/160kmh ? Because node/beam tires have serious stretch issues over that speed.
     
  4. Cristineltr

    Cristineltr

    Joined:
    May 15, 2016
    Posts:
    13
    Yes, there are problems at high speeds but my game focuses on off road driving at lower speeds and the issues are not bad at speeds under 100 km/h
     
  5. Cristineltr

    Cristineltr

    Joined:
    May 15, 2016
    Posts:
    13
    What do you need help with? Just keep in mind that I am pretty bad at this
     
  6. Cristineltr

    Cristineltr

    Joined:
    May 15, 2016
    Posts:
    13
  7. khos

    khos

    Joined:
    May 10, 2016
    Posts:
    972
    Gave it a try :)
    Download broke/cut a few times, eventually got it and played, it not bad! What kind of feedback are looking for? The truck/sim part is very good, now you need other parts like scenery/roads/missions etc.

    I would like to see if you can give a sample of how you used truss in your truck, I would love to setup my own off road car with that , the soft body wheels will be useful, would you be willing to give any info, e.g. how are wheels setup? what drive the car, e.g. scripts?

    Good luck and your game is very good sofar!
     
    Cristineltr likes this.
  8. Cristineltr

    Cristineltr

    Joined:
    May 15, 2016
    Posts:
    13

    Thanks,
    The main thing about the demo was to find out if it works for other people and if there's any major problem

    If you bought Truss Physics you can ask the author for the red car demo and you can get a lot of info from the way that is setup.

    I can try to help you but for some scripts like the steering and brakes I used stuff from that demo and I don't think I can share those parts without permission.

    I can help you with the other parts of the setup.

    The truck is driven by applying torque to the rims which are rigid bodies
     
  9. Bzuco

    Bzuco

    Joined:
    Sep 6, 2015
    Posts:
    52
    Impressive result, great sounds, physics, moving parts. My engine stalls when I hit front part of truck hard at higher speeds on bumps :) and when I press hand brake and turn at high speed, the truck rolled sideways :) on desert surface. Really impressive, good job.
     
    Cristineltr likes this.
unityunity