grid_positioner_rotation_integration_test
AUTO-GENERATED FILE – DO NOT EDIT MANUALLY
Integration test for ManipulationParent rotation functionality Tests the grid-aware rotation integration with ManipulationParent input handling
NOTE: Rotation logic has been moved from GridPositioner2D to ManipulationParent. GridPositioner2D now focuses strictly on tile center targeting.
Source File: /addons/grid_building/test/integration/grid_positioner_rotation_integration_test.gd
Extends: GdUnitTestSuite
Properties
- Property:
manipulation_parent: [ManipulationParent](./manipulation-parent/) - Property:
test_map: TileMapLayer - Property:
test_object: Node2D - Property:
manipulation_state: [ManipulationState](./manipulation-state/) - Property:
manipulation_settings: [ManipulationSettings](./manipulation-settings/) - Property:
actions: [GBActions](./gb-actions/) - Property:
container: [GBCompositionContainer](./gb-composition-container/)
Public Methods
before_test
| |
after_test
| |
test_grid_aware_rotation_input_handling
| |
Test that grid-aware rotation methods work correctly
test_grid_aware_rotation_counter_clockwise
| |
Test counter-clockwise grid-aware rotation
test_simple_degree_rotation_fallback
| |
Test that simple degree-based rotation works as fallback when no TileMapLayer is available
test_rotation_disabled_when_settings_disabled
| |
Test that rotation is disabled when settings are disabled
test_direct_grid_aware_rotation_methods
| |
Test grid-aware rotation methods directly
test_children_inherit_rotation
| |
Test that children of ManipulationParent are rotated along with the parent
test_rotation_sequence_maintains_cardinal_directions
| |
Test complete rotation sequence maintains cardinal directions
Grid Building v5.0.8 | Generated 24/05/2026