Unsolved Using boolean modifier in Blender causes parts of a mesh to disappear in-game

Discussion in 'Mod Support' started by WeenyBeany, Jun 4, 2023.

  1. WeenyBeany

    WeenyBeany
    Expand Collapse

    Joined:
    Feb 10, 2023
    Messages:
    15
    I'm not sure if this is a bug with BeamNG or if I'm doing something wrong.
    Simply cutting a hole in a cube using the boolean modifier causes the inside faces to appear invisible, even though the normals appear correct in Blender. I've tried recalculating the normals, flipping the normals, disabling smooth shading/auto shading but it doesn't do anything. There's also no errors in the console either.
    Any way to fix this?

     

    Attached Files:

    • 284160_20230604215506_1.png
    • normals.png
  2. Agent_Y

    Agent_Y
    Expand Collapse
    Jbeam/QA support
    BeamNG Team

    Joined:
    Jul 10, 2020
    Messages:
    10,500
    Have you actually applied the modifier?
     
  3. WeenyBeany

    WeenyBeany
    Expand Collapse

    Joined:
    Feb 10, 2023
    Messages:
    15
    Yes, I made sure of that.
     
  4. Agent_Y

    Agent_Y
    Expand Collapse
    Jbeam/QA support
    BeamNG Team

    Joined:
    Jul 10, 2020
    Messages:
    10,500
    Maybe try re-exporting the mesh then, something could have gone wrong on export
     
  5. WeenyBeany

    WeenyBeany
    Expand Collapse

    Joined:
    Feb 10, 2023
    Messages:
    15
    No I've already done that a few times, same result
     
  6. Agent_Y

    Agent_Y
    Expand Collapse
    Jbeam/QA support
    BeamNG Team

    Joined:
    Jul 10, 2020
    Messages:
    10,500
    Have you applied all transforms to the objects?
     
  7. WeenyBeany

    WeenyBeany
    Expand Collapse

    Joined:
    Feb 10, 2023
    Messages:
    15
    Yep, all zeroed out
     
  8. Agent_Y

    Agent_Y
    Expand Collapse
    Jbeam/QA support
    BeamNG Team

    Joined:
    Jul 10, 2020
    Messages:
    10,500
    Are you using your own material or a base game one? It might be mapped to a transparent part of the texture
     
  9. WeenyBeany

    WeenyBeany
    Expand Collapse

    Joined:
    Feb 10, 2023
    Messages:
    15
    Custom material and texture, nothing transparent in the texture nor any transparency properties enabled in the material

    Also uvs are properly mapped as well
     
  10. SSRG

    SSRG
    Expand Collapse

    Joined:
    Jun 17, 2023
    Messages:
    4,338
    Try selecting the invisible faces and going to mesh -> normals -> flip. Should work
    --- Post updated ---
    Found an image of the UI on the internet, here is where Mesh is
     

    Attached Files:

    • IMG_1098.jpeg
  11. WeenyBeany

    WeenyBeany
    Expand Collapse

    Joined:
    Feb 10, 2023
    Messages:
    15
    I've done that, still no shot
     
  12. SSRG

    SSRG
    Expand Collapse

    Joined:
    Jun 17, 2023
    Messages:
    4,338
    Hmm… Strange.
     
  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