Grid Placement
Development ⚠️ GridPlacement 6.0 (GECS) is in active development. This is the GDScript ECS architecture.

PhysicsCollisionUtils

AUTO-GENERATED (GDScript) API entry

AUTO-GENERATED FILE — DO NOT EDIT MANUALLY

Source: systems/physics/physics_collision_utils.gd

Version: 6.0

class_name: PhysicsCollisionUtils extends: RefCounted

Signals

(none)

Exports

(none)

Methods

  • check_tile_collision(tile_pos: Vector2i, map: TileMapLayer, collision_mask: int) -> bool
  • get_tile_offsets_for_collision(collision_obj: Node2D, map: TileMapLayer, positioner: Node2D) -> Dictionary
  • check_rectangle_collision(world_position: Vector2, size: Vector2, collision_mask: int) -> bool
  • _get_physics_space_state -> PhysicsDirectSpaceState2D
    • Try to get from current scene tree
  • _get_collision_shape(collision_obj: Node2D) -> Shape2D
  • _find_overlapping_tiles_physics(space_state: PhysicsDirectSpaceState2D, shape: Shape2D, transform: Transform2D, map: TileMapLayer, tile_size: Vector2) -> Array