-
-
Notifications
You must be signed in to change notification settings - Fork 99
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
Add position_changed
signal for Node2D and Node3D
#4729
Comments
position_changed
signal for Node2D and Node3D
This is not a sufficient reason for a feature to be added to core. |
^V^, I think |
Signals are typically decently fast, but I'm honestly concerned about every existing Node2D and Node3D potentially emitting this signal every frame, even if not connected to anything. If a parent Node2D's |
We have It's not very common though, not sure why would you need it as frequently as you claim. |
Transform changed is already disabled by default because it wreaks havoc on performance if enabled on to many nodes but it costs nearly nothing and is very fast compared to signals. Sending by default a signal for every slightest transform change is the next best thing for crashing the Engine with the MessageQueue. |
What's the use-case? What's the actual necessity to implement this natively without using a script (which is possible to accomplish currently)? |
As Calinou stated, this is not a valid justification for a proposal. And as mentioned by others, performance ramifications is something that must be investigated before discussing this feature. So closing as not a valid proposal. Please use the Discussions section or our social and community platforms to look for a solution that works for you. Then a proper proposal may be born, if there is a good legitimate need for an improvement. |
Describe the project you are working on
NO-GAME App
Describe the problem or limitation you are having in your project
I want listen some node's position but I don't want add script for this nodes.
Describe the feature / enhancement and how it helps to overcome the problem or limitation
Add
position_changed
ortransform_changed
signal for Node2D and Node3DDescribe how your proposal will work, with code, pseudo-code, mock-ups, and/or diagrams
/
If this enhancement will not be used often, can it be worked around with a few lines of script?
I must add script for all this nodes. I'm lazy.
Is there a reason why this should be core and not an add-on in the asset library?
No, It's core.
The text was updated successfully, but these errors were encountered: