-
-
Notifications
You must be signed in to change notification settings - Fork 21.5k
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
Executing RigidBody.new()._direct_state_changed(BoxShape.new())
crashes Godot
#46003
Comments
|
Function should in most situations return default value(e.g 0, false, empty Array etc.) and print error. |
The real question is: why is this method exposed? It's used internally by the physics engine to trigger an update in the scene. It's a hidden method, so not something that would normally be called, but I can't think of a reason that a user would want to call this method. |
It's because it's used as a callback that goes through the method bindings:
In |
Looks that in 3.x branch there is for now 671 methods which starts with |
Godot version:
Godot 3.2.4 rc 2
Issue description:
Executing
crashes with backtrace
The text was updated successfully, but these errors were encountered: