Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

the mouse_entered signal is only being triggered as if the polygon were a rectangular bounding box #96

Open
pixelcrab123456 opened this issue Dec 31, 2023 · 0 comments
Labels
bug Something isn't working

Comments

@pixelcrab123456
Copy link

Describe the bug
mouse_entered signal is only being triggered as if the polygon were a rectangular bounding box, . the mouse detection not accurately follows the contours of specific polygon shape

To Reproduce

  1. create a Area2D and child CollisionPolygon2D
    2, connect signal "Mouse_entered()" and "mouse_exited()"
    3, when signal emit , instantiate a sprite
Up.Sword.King.DEBUG.2023-12-31.17-46-21.mp4

Expected behavior
the mouse detection accurately follows the contours of specific polygon shape

Versions (please complete the following information):

  • OS: [e.g. Windows11]
  • Godot [e.g. v4.2]
  • Box2d [e.g. v0.9.9]
@pixelcrab123456 pixelcrab123456 added the bug Something isn't working label Dec 31, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant