mirror of
https://github.com/godotengine/godot.git
synced 2025-01-12 20:22:49 +08:00
Open up bounds of Shape3D.margin
to support other physics engines
This commit is contained in:
parent
33a6c80abb
commit
ec6694ce3c
@ -117,7 +117,7 @@ void Shape3D::_bind_methods() {
|
||||
ClassDB::bind_method(D_METHOD("get_debug_mesh"), &Shape3D::get_debug_mesh);
|
||||
|
||||
ADD_PROPERTY(PropertyInfo(Variant::FLOAT, "custom_solver_bias", PROPERTY_HINT_RANGE, "0,1,0.001"), "set_custom_solver_bias", "get_custom_solver_bias");
|
||||
ADD_PROPERTY(PropertyInfo(Variant::FLOAT, "margin", PROPERTY_HINT_RANGE, "0.001,10,0.001,suffix:m"), "set_margin", "get_margin");
|
||||
ADD_PROPERTY(PropertyInfo(Variant::FLOAT, "margin", PROPERTY_HINT_RANGE, "0,10,0.001,or_greater,suffix:m"), "set_margin", "get_margin");
|
||||
}
|
||||
|
||||
Shape3D::Shape3D() {
|
||||
|
Loading…
Reference in New Issue
Block a user