-
-
Notifications
You must be signed in to change notification settings - Fork 574
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
GDExtension overide StaticBody3D's virtual _mouse_enter(),but it does'nt work ,if overide StaticBody3D's virtual _input_event,it will work #1325
Comments
anyone what happend,please tell me ,I really want know why |
_mouse_enter use UtilityFunctions::print("enter_mouse"); same bug |
Thanks for the report! This looks like a bug in Godot - there's this code in
It should be using |
I just posted PR godotengine/godot#85870 which should fix this! |
As an interim fix (before the PR is merged), you could connect to the |
Hello, I wanted to try the new GDExtension hot reloading and was playing arround with it when I got stuck with trying to have Area2D react to mouse events from GDExtension. I thought I was doing somehting wrong but turns out that was a genuine bug, and it is exactly the same error as here except for a slightly different case. Maybe this issue should be generalized to cover both cases since they are so similar? Best |
Godot version
4.2 stable
godot-cpp version
4.2
System information
win11
Issue description
i create a GDscript _mouse_enter() extend My new Class it work
Steps to reproduce
create a new Class public extend StaticBody3D,override <virtual void _mouse_exit()override> it doesn't work
Minimal reproduction project
N/A
The text was updated successfully, but these errors were encountered: