summaryrefslogtreecommitdiffstats
path: root/scene/resources/capsule_shape_3d.cpp
diff options
context:
space:
mode:
authorTokage <tokage.it.lab@gmail.com>2020-11-15 06:54:13 +0900
committerTokage <tokage.it.lab@gmail.com>2020-11-17 13:17:37 +0900
commit4a2aaabf9f37f22a7bad5fe9415b0af218079598 (patch)
treebc09b006870be1dbe51d90c5393aac0b1a650e62 /scene/resources/capsule_shape_3d.cpp
parentdd5485142f2d2d84b98483ea41bc36e03c4a16b7 (diff)
downloadredot-engine-4a2aaabf9f37f22a7bad5fe9415b0af218079598.tar.gz
Lowering the Minimum Unit at Shape3D and Cameras
Diffstat (limited to 'scene/resources/capsule_shape_3d.cpp')
-rw-r--r--scene/resources/capsule_shape_3d.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/scene/resources/capsule_shape_3d.cpp b/scene/resources/capsule_shape_3d.cpp
index 9d1355eec6..5da7f682e5 100644
--- a/scene/resources/capsule_shape_3d.cpp
+++ b/scene/resources/capsule_shape_3d.cpp
@@ -106,8 +106,8 @@ void CapsuleShape3D::_bind_methods() {
ClassDB::bind_method(D_METHOD("set_height", "height"), &CapsuleShape3D::set_height);
ClassDB::bind_method(D_METHOD("get_height"), &CapsuleShape3D::get_height);
- ADD_PROPERTY(PropertyInfo(Variant::FLOAT, "radius", PROPERTY_HINT_RANGE, "0.01,4096,0.01"), "set_radius", "get_radius");
- ADD_PROPERTY(PropertyInfo(Variant::FLOAT, "height", PROPERTY_HINT_RANGE, "0.01,4096,0.01"), "set_height", "get_height");
+ ADD_PROPERTY(PropertyInfo(Variant::FLOAT, "radius", PROPERTY_HINT_RANGE, "0.001,4096,0.001"), "set_radius", "get_radius");
+ ADD_PROPERTY(PropertyInfo(Variant::FLOAT, "height", PROPERTY_HINT_RANGE, "0.001,4096,0.001"), "set_height", "get_height");
}
CapsuleShape3D::CapsuleShape3D() :