Physics queries: Visual debugging#

You can utilise the Physics Debugger to visualise your queries in the Scene view.

Physics Debugger showing queries

Physics Debugger showing queries in the Scene view

Otherwise, you can use a visual debugging API to draw these queries, which can be preferable to have a more persistent or elaborate visualisation setup.
Be particularly cautious to provide the exact same values you use in your query.