What this component contains
ATTRIBUTION.mdLICENSEREADME.mdbaltor_test.gdcomponent.jsondash_ability.gdinspect_gdscript.pyrun_tests.gdtest_package.pytests/test_dash_ability.gdverification/native.json
How it works
- Class
- BaltorDash, extends Node
- Methods
- try_dash(direction: Vector2) -> bool; advance(delta: float) -> void; cancel() -> void; is_dashing() -> bool; is_invulnerable() -> bool; get_dash_velocity() -> Vector2; get_exit_velocity() -> Vector2; get_charges() -> int; and 1 more
- Signals
- dash_started, dash_ended, charges_changed
- Exports
- dash_speed, dash_time, max_charges, recharge_time, invulnerability_time, end_speed_factor, auto_advance
- Placement
- res://baltor/godot_components/dash_ability/
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
Keeps time and velocity only; the owner applies the velocity and checks is_invulnerable() when taking damage. 2D vectors. The dash does not stop at walls by itself; call cancel() on a collision if needed. Verified with Godot 4.7.2 headless; written against the Godot 4.3 API.