collision_test_setup_2d_test
AUTO-GENERATED FILE – DO NOT EDIT MANUALLY
Source File: /addons/grid_building/test/collision/detection/collision_test_setup_2d_test.gd
Extends: GdUnitTestSuite
Properties
- Property:
eclipse_obj: Node2D - Property:
rect_8_tiles_obj: Node2D - Property:
test_skew_rotation_rect_obj: Node2D - Property:
pillar_obj: Node2D - Property:
tile_map_16px: TileMap
Constants
- Constant:
TILE_SIZE: Vector2 = Vector2(16, 16)
Public Methods
before_test
| |
after_test
| |
test_adjust_rect_to_testing_size
| |
Tests to make sure that calling adjust_rect_to_testing_size returns rects with the correct size Expected adjusted size to be original rect + TileSize * 1
create_test_setups
| |
Private Methods
_create_rectangular_collision_object
| |
Flags: private
Grid Building v5.0.8 | Generated 24/05/2026