You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
OS/device including version:
elementary OS 5.1 Hera (Ubuntu 18.04.3 LTS)
Issue description:
I have a RayCast2D that is a child node of an Area2D. When RayCast2D does not overlap with its parent, is_colliding() is always false when the ray overlaps with a tile.
The ray is enabled and it does ignores its parent.
Steps to reproduce:
Create an Area2D scene with a RayCast2D element that does not overlap with its parent Area2D. The RayCast2D will not collide with tiles that have a collision shape
In the second case you linked in the project the raycast lies inside the tile, so no intersection is detected against the tile's geometry. I think it would be preferred that the raycast could return the intersection point if the origin lies inside the geometry. Related to #35845.
KoBeWi
changed the title
RayCast2D will not collide with TileMap unless it overlaps with Area2D(Parent)
RayCast2D will not collide with TileMap if it's fully inside tile
Dec 21, 2020
Godot version:
3.2.stable
OS/device including version:
elementary OS 5.1 Hera (Ubuntu 18.04.3 LTS)
Issue description:
I have a RayCast2D that is a child node of an Area2D. When RayCast2D does not overlap with its parent, is_colliding() is always false when the ray overlaps with a tile.
The ray is enabled and it does ignores its parent.
Steps to reproduce:
Create an Area2D scene with a RayCast2D element that does not overlap with its parent Area2D. The RayCast2D will not collide with tiles that have a collision shape
Minimal reproduction project:
https://gitlab.com/gforceg/raycast-problem
The text was updated successfully, but these errors were encountered: