Revert "Fix that collision objects ignore canvas transform"

This reverts commit 5521b93750.
This commit is contained in:
Markus Sauermann 2022-04-04 18:08:05 +02:00
parent e659eb66a0
commit 01c37dc277

View File

@ -81,7 +81,7 @@ void CollisionObject2D::_notification(int p_what) {
return;
}
Transform2D global_transform = get_global_transform_with_canvas();
Transform2D global_transform = get_global_transform();
if (area) {
PhysicsServer2D::get_singleton()->area_set_transform(rid, global_transform);