qbcore-framework/qb-target

[BUG] Raycast not blocked by walls or obstacles in certain mappings

zf-development opened this issue · 1 comments

Describe the bug
The raycast detection is only blocked by props/entities in certain mappings.
When trying to target a wall in certain mappings, it doesn't work. I can make a target on a wall for playing animations.

Steps to reproduce the behavior:

  1. Add a BoxZone on a wall in a added MLO.
  2. Try to target it.
  3. Observe that it doesn't work.

Nothing.

image

That's probably because the map isn't made very good, so they didn't think about making every prop in it have the appropriate flag for the raycast to interact with, or it's another flag which I haven't discovered