1. Trouble with the game?
    Try the troubleshooter!

    Dismiss Notice
  2. Issues with the game?
    Check the Known Issues list before reporting!

    Dismiss Notice

I created grass physics that is realistic for both street driving, and racing

Discussion in 'General Discussion' started by powiephenom, Oct 1, 2020.

  1. powiephenom

    powiephenom
    Expand Collapse

    Joined:
    May 21, 2017
    Messages:
    268
    So a bit back I made a thread regarding beamng's grass physics and its pretty bad. I was sick of flipping upside down on asphalt and then hitting a patch of grass and watch the car glide over it as if the grass was just asphalt but less grippy. So I took matters into my own hands. Luckily beamng is very community and mod friendly and allows you to mod the game extensively (including ingame files). So I went into the game engine files and started to modify the grass in the ground model files. After about a week of constant tweaking I finally made the perfect grass. Note did this EXACT same testing with the same cars same map and same area before and after the custom grass was made

    Edit: I released the grass you can install it here: https://www.beamng.com/threads/realistic-grass-physics.73869/#post-1229426


    Here is the first photo and the details are below.

    Car: Stereotypical daily driver car.
    Type of crash: Loss of control
    Speed at loss of control: 44 mph
    Angle of hitting the grass: about 75 to 85 degrees.
    Terrain condition: A slight slope or ditch on the side of a road
    Speed when vehicle made contact with grass: 31 mph
    Result with original grass: Car stayed completely on the ground and slid through the grass and hit the brick wall at about 24 mph. The vehicle sustained a cracked headlight and a indent in the bumper



    Result with custom grass: Car's left side wheels were raised off the ground and the car came to a complete rest on all 4 tires. The vehicle sustained no physical damage


    Here is the second photo and the details are below.

    Car: Standard family SUV
    Type of crash: Loss of control
    Speed at loss of control: 83 mph
    Angle of hitting the grass: about 75 to 85 degrees.
    Terrain condition: A slope or ditch on the side of a highway
    Speed when vehicle made contact with grass: 57 mph
    Result with original grass: SUV slid across the ditch and slid to a stop on the other side of the highway on all 4 tires. Vehicle sustained bumper and tire damage from a large bump in the ditch



    Result with custom grass: SUV's rear wheels dug into the grass causing it to flip. SUV barrel rolled 4 times before coming to rest on the other side of the highway. Vehicle sustained heavy suspension damage, slight roof damage, and lots of cosmetic damage to the body.

    Here is the second photo and the details are below.

    Car: A vintage prototype race car
    Type of crash: Impact with wall
    Speed at impact: 119 mph
    Angle of hitting the grass: about 65 to 75 degrees.
    Terrain condition: A flat but slightly bumpy grass
    Speed when vehicle made contact with grass: 127
    Result with original grass: Car slammed into inside concrete wall causing the front end to become airborne. Vehicle slid across the grass on all 4 and sustained massive front end damage.



    Result with custom grass: Car made front end contact with inside concrete wall causing the front end to become airborne. The left rear wheel dug deeply into the grass causing the vehicle to flip. The car flipped side over side end over end many times before resting on all fours. Vehicle sustained massive chassis, body and suspension damage from the flipping.

    Heres a video of the grass in action as well


     
    #1 powiephenom, Oct 1, 2020
    Last edited: Oct 4, 2020
    • Like Like x 12
    • Agree Agree x 1
  2. Zero

    Zero
    Expand Collapse

    Joined:
    Sep 2, 2012
    Messages:
    1,386
    That's a really cool concept.
    Do you have any video of this?
     
    • Agree Agree x 3
  3. GDSP11

    GDSP11
    Expand Collapse

    Joined:
    Jan 21, 2015
    Messages:
    31
    this is really impressive! i'd love to see more of this!
     
    • Agree Agree x 1
  4. KrukasKlep

    KrukasKlep
    Expand Collapse

    Joined:
    Aug 2, 2018
    Messages:
    669
    the idea sounds really good but as Zero said, im not really convinced unti i see a proper video
     
    • Agree Agree x 2
  5. Brother_Dave

    Brother_Dave
    Expand Collapse

    Joined:
    Aug 16, 2012
    Messages:
    1,662
    Give us video. Now.



    Pretty please.
     
    • Agree Agree x 2
  6. titantls

    titantls
    Expand Collapse

    Joined:
    Feb 9, 2014
    Messages:
    686
    I love this, this is something that has been always been on my mind, and something that I almost made myself haha. Would love to see a video, and would be great to have if you decide to release.
     
  7. petermessi

    petermessi
    Expand Collapse

    Joined:
    Sep 9, 2020
    Messages:
    7
    It is very good thing to hear.i am very eager to watch your video
     
  8. TheDriver2452

    TheDriver2452
    Expand Collapse

    Joined:
    Apr 21, 2020
    Messages:
    246
  9. rottenfitzy

    rottenfitzy
    Expand Collapse

    Joined:
    Mar 7, 2015
    Messages:
    680
    What exactly was done to the in-game files? Was the friction coefficient of the grass just adjusted?

    Cool work!
     
  10. P_enta

    P_enta
    Expand Collapse

    Joined:
    Jan 11, 2020
    Messages:
    3,029
    the etk 800 is very much a wagon not an suv but whatever

    Finally grass isnt literally asphalt with crap textures!
     
  11. powiephenom

    powiephenom
    Expand Collapse

    Joined:
    May 21, 2017
    Messages:
    268
    I completely rewrote the grass physics in the ground model files in beamng. I bet alot of people just think I copied the sand physics and pasted it into the grass but grass and sand are 2 completely different materials so I had to make it from scratch kinda. It took lots of thinking and logic to get the perfect grass that works at low and high speeds realistically. In conclusion, ever seen how iracing handles grass? I pretty much made it like that but with changes to make it realistic for street cars too. I'll make a video soon showing some demonstrations
     
    • Like Like x 4
  12. eggward

    eggward
    Expand Collapse

    Joined:
    Apr 28, 2020
    Messages:
    566
    This is amazing. I look forward to the video and possible use of this. I've always wanted realistic dirt/grass physics in the game, and it always felt odd and irritating trying to create a loss-of-control accident that included a roll-over.
     
    • Like Like x 1
  13. powiephenom

    powiephenom
    Expand Collapse

    Joined:
    May 21, 2017
    Messages:
    268
    Well heres a short showcase video I mocked up. I would love to release this but I doubt the mods would approve it since it directly mods the beam files. Maybe I can try to get them to make it the default new grass idk.

     
    • Like Like x 2
  14. DaddelZeit

    DaddelZeit
    Expand Collapse

    Joined:
    Jul 17, 2019
    Messages:
    3,319
    Just release it on the Forums?
     
  15. powiephenom

    powiephenom
    Expand Collapse

    Joined:
    May 21, 2017
    Messages:
    268
    Thats the problem. It involves directly modifying the beamng files which I think is against the rules in beamng. Correct me if i'm wrong please if not then i'll surely release
     
  16. DaddelZeit

    DaddelZeit
    Expand Collapse

    Joined:
    Jul 17, 2019
    Messages:
    3,319
    I'm not sure, but since it's on the forums you can probably release it here alongside with a tutorial. If you want you could ask Nadeox1, but I don't know if he'll answer.
     
  17. TechnicolorDalek

    TechnicolorDalek
    Expand Collapse

    Joined:
    Dec 6, 2013
    Messages:
    1,026
    mods that rewrite core game files aren't anything new. it's just not something that can be in the repository.
     
    • Agree Agree x 2
  18. P_enta

    P_enta
    Expand Collapse

    Joined:
    Jan 11, 2020
    Messages:
    3,029
    Just like the traffic ai mod, this will probably be something the devs implement.
     
    • Agree Agree x 1
  19. Trophy

    Trophy
    Expand Collapse

    Joined:
    Aug 26, 2019
    Messages:
    1,644
    its a bit too sticky, you should make it more like mud, where if you go off you dont get much grip, but you can dig into it, and if you go into it fast you can roll. Fast means 150 mph.
     
    • Agree Agree x 2
  20. Slugfest

    Slugfest
    Expand Collapse

    Joined:
    Jun 28, 2020
    Messages:
    1,122
    I like that it's like soft dirt right now, although perhaps some variations for different areas wouldn't be out of order.
     
    • Like Like x 1
  1. This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
    By continuing to use this site, you are consenting to our use of cookies.
    Dismiss Notice