Merge pull request #59737 from Sauermann/fix-physics-ignoring-canvas-transform
This commit is contained in:
commit
3aa32ef4b0
1 changed files with 1 additions and 1 deletions
|
@ -81,7 +81,7 @@ void CollisionObject2D::_notification(int p_what) {
|
|||
return;
|
||||
}
|
||||
|
||||
Transform2D global_transform = get_global_transform();
|
||||
Transform2D global_transform = get_global_transform_with_canvas();
|
||||
|
||||
if (area) {
|
||||
PhysicsServer2D::get_singleton()->area_set_transform(rid, global_transform);
|
||||
|
|
Loading…
Reference in a new issue