mirror of
https://github.com/godotengine/godot.git
synced 2024-12-15 10:12:40 +08:00
Merge pull request #59737 from Sauermann/fix-physics-ignoring-canvas-transform
This commit is contained in:
commit
3aa32ef4b0
@ -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 New Issue
Block a user