소스 검색

Updated upgrading_to_godot_4 documentation.

- Added xform and xform_inv's change to use * operator.
- Provided better details on the changes.
Ayan Chavand 1 년 전
부모
커밋
e47792d353
1개의 변경된 파일1개의 추가작업 그리고 0개의 파일을 삭제
  1. 1 0
      tutorials/migrating/upgrading_to_godot_4.rst

+ 1 - 0
tutorials/migrating/upgrading_to_godot_4.rst

@@ -437,6 +437,7 @@ table to find its new name.
 - Shortcut's ``is_valid()`` is now ``has_valid_event()``.
 - TileMap's ``world_to_map()`` is now ``local_to_map()``.
 - TileMap's ``map_to_world()`` is now ``map_to_local()``.
+- Transform2D's ``xform()`` is ``mat * vec`` and ``xform_inv()`` is ``vec * mat``.
 
 **Properties**