Jbeam suggestion : All in one collision section

Discussion in 'Ideas and Suggestions' started by Dummiesman, Feb 26, 2017.

  1. Dummiesman

    Dummiesman
    Expand Collapse

    Joined:
    Sep 17, 2013
    Messages:
    4,696
    Hey! I would like to request a section that would replace the triangles and quads sections within jbeam.

    It gets confusing if you have a jbeam structure that needs both, especially with the way jbeam "leaks" into other parts.

    What I propose is something such as
    Code:
    "collision":[
      ["id1:", "id2:", "id3:", "id4:"],
      //a triangle
      ["x","y","z"]
      //a quad
      ["x","y","z","a"]
    ]
    
    I have done some tests within vlua and it looks like you can indeed specify 3 values with a header that wants 4, and the 4th one will turn out to be nil.

    With this way it would be a single unified section instead of multiple (which can get confusing).
     
    • Agree Agree x 3
  2. tdev

    tdev
    Expand Collapse
    Developer
    BeamNG Team

    Joined:
    Aug 3, 2012
    Messages:
    3,074
    But you know that the quads are just creating triangles on load?
     
  3. CrashHard

    CrashHard
    Expand Collapse

    Joined:
    Aug 5, 2013
    Messages:
    1,612
    so can i make all my collision stuff out of quads instead of triangles to save time?
     
  4. fufsgfen

    fufsgfen
    Expand Collapse

    Joined:
    Jan 10, 2017
    Messages:
    6,781
    I think that is why quads are made for?
     
  5. Dummiesman

    Dummiesman
    Expand Collapse

    Joined:
    Sep 17, 2013
    Messages:
    4,696
    I'm aware, but I usually wind up making a quad that touches the same node twice in order to not get in a mess with having both a triangles and quads section. Since iirc those are treated differently with lift/drag coefs, so you have to triple check that these things are all proper between both sections.
     
  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