Physics grass

Discussion in 'Content Creation' started by skiper, Oct 7, 2019.

  1. skiper

    skiper
    Expand Collapse

    Joined:
    Apr 1, 2013
    Messages:
    181
    at the moment I have asphalt and grass.
    separate * .dae files.
    the collisions works, but on grass the car behaves on the asphalt.
    how can I make physics on grass be like grass)
     
  2. Nadeox1

    Nadeox1
    Expand Collapse
    Spinning Cube
    BeamNG Team

    Joined:
    Aug 5, 2012
    Messages:
    14,683
    https://wiki.beamng.com/Groundmodel_on_static_objects

    You have to add the "groundType" line to your material.
    You can see example in the 'main.materials.json' of some official levels, where this is used too:


    The names of the grounds are the ones from the groundmodels.json file (BeamNG.drive/art)

    That means that all the 'faces' of a object that uses that material, will have that ground model applied to them.
     
  3. skiper

    skiper
    Expand Collapse

    Joined:
    Apr 1, 2013
    Messages:
    181
    Everything worked out. I'm happy. thank!!!!!!!!!!
    --- Post updated ---
    Where can I see the standard values of Groundmodel?
    You can send the file as an example of how to create your own Groundmodel.
    I looked at the FAQ and did as it is written, but it doesn’t work for me
     
  4. Nadeox1

    Nadeox1
    Expand Collapse
    Spinning Cube
    BeamNG Team

    Joined:
    Aug 5, 2012
    Messages:
    14,683
    Check in gameengine.zip/art/groundmodel.json

    That file contains all the available groundModels

    You can use either the main name, or one of the aliases.
    These are case sensitive.

     
  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