Solved Invisible hitbox

Discussion in 'World Editor' started by uFiFAN, May 17, 2025.

  1. uFiFAN

    uFiFAN
    Expand Collapse

    Joined:
    Jul 28, 2023
    Messages:
    54
    I was making the new village for my map and in the middle of the road there's a weird invisible hitbox, I can't select it in the world editor, and I can't even see it when I use a decal road with "over objects" on. If you've encountered this issue before, or just can give me advice, please help!
    Here is a screenshot:
    https://i.imgur.com/nVmGze8.jpeg
     
  2. el_ferrito

    el_ferrito
    Expand Collapse

    Joined:
    Sep 30, 2020
    Messages:
    493
    Probably a collision box from one of the objects. Try removing the houses and see if it goes. Sometimes blender does funny things with the collision boxes. Especially if you haven't applied the transform, etc.
     
  3. uFiFAN

    uFiFAN
    Expand Collapse

    Joined:
    Jul 28, 2023
    Messages:
    54
    I tried to remove all trees, objects, buildings, mesh roads, paint the terrain to default grass, and the problem still persists.
    I found that the forest tool shows the hitbox:
    https://i.imgur.com/7dfblEN.png

    And the interesting thing is that it shows the collision boxes ofother building in the same way EVEN IF I DELETE THEM. So I have a feeling I know the cause of this, but no idea how to fix it.
     
  4. VectriciXY

    VectriciXY
    Expand Collapse

    Joined:
    Nov 6, 2022
    Messages:
    100
    Hve you tried Rebuild Collision?
    You can find it here. Or you can close the World Editor and reopen it, then the game will rebuild collision automatically with a sound effect.
    upload_2025-5-18_20-8-34.png
     
  5. uFiFAN

    uFiFAN
    Expand Collapse

    Joined:
    Jul 28, 2023
    Messages:
    54
    I tried both, restarting the game, deleting the buildings and rebuilding the collision - nothing changed. Thanks for help though.
     
    • Like Like x 1
  6. jscxnt

    jscxnt
    Expand Collapse

    Joined:
    Jul 14, 2024
    Messages:
    344
    Have you used mesh roads on the map at all? It could be that one of the nodes has bugged out and gone higher than the rest, Ive had that happen to me before
     
  7. MysteryManGER

    MysteryManGER
    Expand Collapse

    Joined:
    May 25, 2016
    Messages:
    747
    Perhaps it's a problem related to the "Origins". If in Blender the collision model has a different origin point than the main model, problems can arise. This might all work fine when the scale of the object is at 1. However, if you enlarge or reduce the model in the World Editor, for example to 2, then the objects are scaled along their origin point. If the collision model has a different point here, then the collision will shift in the game. I had this problem with my Car Jump Arena Map when I suddenly drove into an invisible wall in the arena, triggered by a billboard that I had scaled by a factor of 3.
     
  8. uFiFAN

    uFiFAN
    Expand Collapse

    Joined:
    Jul 28, 2023
    Messages:
    54
    I have used mesh roads, but they're not the cause as I've already found the building. I don't know why it didn't work at first.
     
  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