-
-
Notifications
You must be signed in to change notification settings - Fork 21.6k
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
Annoying space between objects and floor #30861
Comments
The core principles behind Godot physics prohibit colliders from ending a frame in a colliding state. This is the minimum seperation distance. If you make it too low, it will break things. |
I confirm that changing margin property eliminate space, but it effects on bouncing of objects (specially bouncing behavior of cone completely change), I don't know which bounce effect is more real and how margin effect on this behavior. Is that correct to change the margin property with this situations? |
What's your meaning of the minimum seperation distance? 0.04 default value or 0.001 minimum value? |
0.04, leave it there. The space should be small enough to not be noticeable in nearly all cases. Worst case scenario you make the colliders slightly smaller than the mesh. https://docs.godotengine.org/en/3.1/tutorials/physics/kinematic_character_2d.html This page actually explains why this margin exists. |
This is actually a duplicate of #27427. |
Godot version:
Godot Engine v3.1.1.stable.offical
OS/device including version:
Windows 10/NVidia Geforce GTX 950M
Issue description:
An annoying space between objects and floor. It seems that objects are floating on the air.
Steps to reproduce:
Minimal reproduction project:
https://drive.google.com/open?id=1c1iP_rovpRpzOm9Nne89iPk3YdABZgBQ
The text was updated successfully, but these errors were encountered: