Skip to content
This repository has been archived by the owner on Jun 29, 2024. It is now read-only.

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 subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant