What this component contains
ATTRIBUTION.mdLICENSEREADME.mdbaltor_test.gdcomponent.jsoninspect_gdscript.pyrun_tests.gdsteering_behaviors_2d.gdtest_package.pytests/test_steering_behaviors_2d.gdverification/native.json
How it works
- Class
- BaltorSteering, extends RefCounted
- Methods
- seek(position: Vector2, velocity: Vector2, target: Vector2, max_speed: float) -> Vector2; flee(position: Vector2, velocity: Vector2, threat: Vector2, max_speed: float, panic_distance: float = INF) -> Vector2; arrive(position: Vector2, velocity: Vector2, target: Vector2, max_speed: float, slowing_radius: float) -> Vector2; pursue(position: Vector2, velocity: Vector2, target_position: Vector2,…
- Placement
- res://baltor/godot_components/steering_behaviors_2d/
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
Point-mass model in 2D; no obstacle handling (see obstacle avoidance) and no orientation smoothing. Arrive is an underdamped approach and can overshoot slightly before settling. Verified with Godot 4.7.2 headless; written against the Godot 4.3 API.