mirror of
https://github.com/Relintai/pandemonium_engine.git
synced 2024-12-22 11:56:49 +01:00
20 lines
297 B
C++
20 lines
297 B
C++
|
|
#include "gsai_evade.h"
|
|
|
|
#include "../gsai_steering_agent.h"
|
|
|
|
float GSAIEvade::_get_modified_acceleration() {
|
|
ERR_FAIL_COND_V(!agent.is_valid(), 0);
|
|
|
|
return -(agent->get_linear_acceleration_max());
|
|
}
|
|
|
|
GSAIEvade::GSAIEvade() {
|
|
}
|
|
|
|
GSAIEvade::~GSAIEvade() {
|
|
}
|
|
|
|
void GSAIEvade::_bind_methods() {
|
|
}
|