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
In the script I use instantiate/add_child to create an object with Area2D that should detect collisions, but it doesn't.
But when I put tscn with this object on scene, it interacts normally.
After some testing and investigation, I found that the colliders are not where they are displayed, they are outside the top of the window and I can interact with them if the second area2d has a negative Y coordinate. Or i can resize window and these invisible area2d (or collision shapes?) will be lit lower than the top side of the window.
Godot version
4.0.2
System information
Fedora Linux 38
Issue description
In the script I use instantiate/add_child to create an object with Area2D that should detect collisions, but it doesn't.
But when I put tscn with this object on scene, it interacts normally.
After some testing and investigation, I found that the colliders are not where they are displayed, they are outside the top of the window and I can interact with them if the second area2d has a negative Y coordinate. Or i can resize window and these invisible area2d (or collision shapes?) will be lit lower than the top side of the window.
p.s. sorry for my English))
Steps to reproduce
Minimal reproduction project
test.zip
The text was updated successfully, but these errors were encountered: