Steering behaviors: seek, flee, arrive, pursue, evade, wander
In your harnessGodot componentMIT
Compute Reynolds-style steering forces for 2D agents (seek, flee with a panic distance, arrive with a slowing radius, pursue and evade with prediction, seeded wander) and integrate a point mass with force and speed limits.
ATTRIBUTION.mdLICENSEREADME.mdbaltor_test.gdcomponent.jsoninspect_gdscript.pyrun_tests.gdsteering_behaviors_2d.gdtest_package.pytests/test_steering_behaviors_2d.gdverification/native.json
Full files in your harness.
What it takes and gives
- 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/
Limits. 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.
Details
- Kind
- Godot component
- Engine
- Godot 4.3 or later
- Files
- 11 files, 79.4 KB
- Licence
- MIT
- Declared effects
- reads files, runs commands
- Checked with
- Godot 4.7.2, headless
- Checks
- godot parse check only, godot gdscript tests, godot tests reject gutted component, godot editor import, godot contract reflection, godot readme usage compiles
- Techniques
- Reynolds steering behaviors, linear prediction for pursuit and evasion, wander circle with jitter, truncated point-mass integration
- Tags
- steering, ai, seek, arrive, wander, pursuit, movement
- Identity
library.supply.creative_originals.58944e9190f6c10aa4e60565.fc4e8cbcb8cd9852- Version
fc4e8cbcb8cd9852aeb1e2abe08a1ad763527d15fef858f307b5493a5a9c1c7a
The version is the SHA-256 of the item your harness downloads; every file in it names its own checksum.
Something wrong with this item, its rights or its safety? Report it on the support page, or from your harness after a download.