diff options
author | yakun.zhang <Raphael10241024@gmail.com> | 2019-03-19 11:53:37 +0800 |
---|---|---|
committer | RaphaelHunter <raphael10241024@gmail.com> | 2019-04-11 23:31:55 +0800 |
commit | e5f531620e69ef682353e4d93c8ddd6cb43921ba (patch) | |
tree | 79a5aaafa7aff111ae3db1206e8d37a5912e278d /scene/resources/capsule_shape.cpp | |
parent | 5772f60f960ee8c396574f0c6f94def18bb210c7 (diff) |
Fix collider debug shape didn't changes with collider size changes
Diffstat (limited to 'scene/resources/capsule_shape.cpp')
-rw-r--r-- | scene/resources/capsule_shape.cpp | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/scene/resources/capsule_shape.cpp b/scene/resources/capsule_shape.cpp index 3f7bf1e0ec..669b261bfe 100644 --- a/scene/resources/capsule_shape.cpp +++ b/scene/resources/capsule_shape.cpp @@ -75,6 +75,7 @@ void CapsuleShape::_update_shape() { d["radius"] = radius; d["height"] = height; PhysicsServer::get_singleton()->shape_set_data(get_shape(), d); + Shape::_update_shape(); } void CapsuleShape::set_radius(float p_radius) { |