mirror of
https://github.com/Relintai/godot-steering-ai-framework.git
synced 2024-11-14 04:57:19 +01:00
11 lines
242 B
GDScript3
11 lines
242 B
GDScript3
|
extends Pursue
|
||
|
class_name Evade
|
||
|
|
||
|
|
||
|
func _init(agent: SteeringAgent, target: SteeringAgent, max_predict_time: = 1.0).(agent, target, max_predict_time):
|
||
|
pass
|
||
|
|
||
|
|
||
|
func get_max_linear_acceleration() -> float:
|
||
|
return -agent.max_linear_acceleration
|