RayCaster.ignore_self
doesn't ignore colliders in children
#473
Labels
A-Spatial-Query
Relates to spatial queries, such as ray casting, shape casting, and intersection tests
C-Enhancement
New feature or request
In general, all colliders in children of a rigidbody do contribute to the rigidbody in the parent entity.
Therefore, it would seem sensible to me that
RayCaster.ignore_self
would have a consistent behaviour, also ignoring all children colliders, not just the entity itself. Or at least offer an analogous alternative, maybeRayCaster.ignore_children
. What do you think? I might be able to contribute this.Current workaround is to manually filter the hits:
The text was updated successfully, but these errors were encountered: