What this component contains
ATTRIBUTION.mdLICENSEREADME.mdbaltor_test.gdcomponent.jsoninfluence_map.gdinspect_gdscript.pyrun_tests.gdtest_package.pytests/test_influence_map.gdverification/native.json
How it works
- Class
- BaltorInfluenceMap, extends RefCounted
- Methods
- get_width() -> int; get_height() -> int; has_cell(cell: Vector2i) -> bool; set_blocked(cell: Vector2i, blocked: bool) -> bool; is_blocked(cell: Vector2i) -> bool; get_value(cell: Vector2i) -> float; set_value(cell: Vector2i, value: float) -> bool; clear() -> void; and 7 more
- Placement
- res://baltor/godot_components/influence_map/
Recorded checks
godot 4.7.2.stable.official.ed1daf0bf
godot_parse_check_onlygodot_gdscript_testsgodot_tests_reject_gutted_componentgodot_editor_importgodot_contract_reflectiongodot_readme_usage_compiles
Limits to consider
Uniform grid in one layer per map; propagation is O(cells x iterations) in GDScript, so large maps should update over several frames or at a coarse resolution. Diagonal spread is blocked when either adjacent straight cell is a wall. Verified with Godot 4.7.2 headless; written against the Godot 4.3 API.