diff options
author | RĂ©mi Verschelde <rverschelde@gmail.com> | 2018-11-08 09:34:09 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2018-11-08 09:34:09 +0100 |
commit | 8d057a04f63cc18a3a21d3fad1a476996d447a2c (patch) | |
tree | 6b2577bc01576177a1019beb2ee7b5b028030879 /scene | |
parent | 6d7dc9d98bba92d6c8ff66b053d088bb01d8b000 (diff) | |
parent | f10a10ca1db9dfee03fdfb3b8a7e01db914561b5 (diff) |
Merge pull request #23472 from BastiaanOlij/min_collision_shape_margin
Lower minimum margin for collision shapes
Diffstat (limited to 'scene')
-rw-r--r-- | scene/resources/shape.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/scene/resources/shape.cpp b/scene/resources/shape.cpp index 869f4a3a9b..214e2e8edc 100644 --- a/scene/resources/shape.cpp +++ b/scene/resources/shape.cpp @@ -101,7 +101,7 @@ void Shape::_bind_methods() { ClassDB::bind_method(D_METHOD("set_margin", "margin"), &Shape::set_margin); ClassDB::bind_method(D_METHOD("get_margin"), &Shape::get_margin); - ADD_PROPERTY(PropertyInfo(Variant::REAL, "margin", PROPERTY_HINT_RANGE, "0.04,10,0.001"), "set_margin", "get_margin"); + ADD_PROPERTY(PropertyInfo(Variant::REAL, "margin", PROPERTY_HINT_RANGE, "0.001,10,0.001"), "set_margin", "get_margin"); } Shape::Shape() : |