godotengine / godotengine/godot-docs

Document regarding Area(2D)'s priority being irrelevant for manual intersection queries

Open
#2,818 0 comments 0 reactions 0 assignees View on GitHub
area:class reference enhancement
Dominant language
reStructuredText
Stars
5.7k
Forks
3.8k
Avg merge
1d 20h
Merged PRs (30d)
25

Description

While the documentation does report that priority is relevant to processing, it is way too easy to assume that processing priority also applies to intersection queries, however as far as implementation goes this is not the case. At least regarding Area2D anyway, I haven't checked 3D Areas as closely but I would make the assumption the rules on this case are intended to be consistent. (correct me if I'm wrong on that) If this isn't intended I can make an issue on the main repo for the subject, but if it is intentionally ignoring priority I think it be appreciable to notify this behavior on the documentation, given it appears irrelevant to all intersection queries, I suggest marking it off on Area.priority instead of in each intersection query since that's where its relevant.

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.