-
-
Notifications
You must be signed in to change notification settings - Fork 21.4k
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
body_entered and body_exited not reporting collision with StaticBody node #21013
Comments
This is expected. Static bodies are passive and do not report contacts. |
Ok, then I think the Area documentation should be updated to reflect that |
This issue is about the Area not receiving the signals, not the StaticBody. This issue seems to be a duplicate of #16392. |
@bojidar-bg that's what I understood from the table in the docs: http://docs.godotengine.org/en/2.1/learning/features/physics/physics_introduction.html#in-case-of-overlap-who-receives-collision-information (which for some reason was removed in 3.0). In there it says that in Static/Area collision none receive this information. Did this change or the table was wrong? |
Probably changed between versions, Area gets the signal in 3.0.6. |
@bojidar-bg , so it's a bug? or there is something I'm not doing right to get the signal? |
I did not import any models and instead used primitive shapes inside of Godot and the "Create Trimesh Static Body" functionality. So if it's a duplicate, the error may be replicable without imported models. I added minimal reproduction steps in my original post. |
"Create Trimesh Static Body" creates a concave shape, and is actually used by the importer. Closing as it is the same issue :) |
Godot version:
v3.0.6.stable.official.8314054
OS/device including version:
Windows 7-64Bit
Issue description:
body_entered and body_exited signals from Area class appear to not be reporting collision with the StaticBody node.
Minimal reproduction steps:
Create a MeshInstance select cube for shape, use the Mesh > Create Trimesh Static Body.
Create an Area, Add a CollisionShape to the area.
Create a script for the Area, connect the body_entered and body_exited signals to that script.
Translate the Area through the MeshInstance, I used an animation.
Minimal reproduction project:
test.zip
The text was updated successfully, but these errors were encountered: