Lower minimum margin for collision shapes
This commit is contained in:
parent
6d7dc9d98b
commit
f10a10ca1d
1 changed files with 1 additions and 1 deletions
|
@ -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() :
|
||||
|
|
Loading…
Reference in a new issue