Fix collider debug shape didn't changes with collider size changes

This commit is contained in:
yakun.zhang
2019-03-19 11:53:37 +08:00
committed by RaphaelHunter
parent 5772f60f96
commit e5f531620e
12 changed files with 39 additions and 10 deletions

View File

@@ -47,7 +47,7 @@ void RayShape::_update_shape() {
d["length"] = length;
d["slips_on_slope"] = slips_on_slope;
PhysicsServer::get_singleton()->shape_set_data(get_shape(), d);
emit_changed();
Shape::_update_shape();
}
void RayShape::set_length(float p_length) {