Change documentation of `Shape3D.margin` to reflect current situation

(cherry picked from commit 33a6c80abb)
This commit is contained in:
Mikael Hermansson 2023-03-18 17:17:11 +01:00 committed by Yuri Sizov
parent 47c3f44c0a
commit 465be40e10
1 changed files with 1 additions and 1 deletions

View File

@ -23,7 +23,7 @@
When set to [code]0[/code], the default value from [member ProjectSettings.physics/3d/solver/default_contact_bias] is used.
</member>
<member name="margin" type="float" setter="set_margin" getter="get_margin" default="0.04">
The collision margin for the shape. Used in Bullet Physics only.
The collision margin for the shape. This is not used in Godot Physics.
Collision margins allow collision detection to be more efficient by adding an extra shell around shapes. Collision algorithms are more expensive when objects overlap by more than their margin, so a higher value for margins is better for performance, at the cost of accuracy around edges as it makes them less sharp.
</member>
</members>