mirror of
https://github.com/godotengine/godot.git
synced 2026-01-06 10:11:57 +03:00
Fix collider debug shape didn't changes with collider size changes
This commit is contained in:
committed by
RaphaelHunter
parent
5772f60f96
commit
e5f531620e
@@ -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) {
|
||||
|
||||
Reference in New Issue
Block a user