pandemonium_engine/modules/steering_ai/behaviors/gsai_evade.cpp

20 lines
297 B
C++
Raw Normal View History

2023-01-13 21:29:17 +01:00
#include "gsai_evade.h"
2023-01-14 02:31:42 +01:00
#include "../gsai_steering_agent.h"
float GSAIEvade::_get_modified_acceleration() {
2023-01-14 02:31:42 +01:00
ERR_FAIL_COND_V(!agent.is_valid(), 0);
return -(agent->get_linear_acceleration_max());
}
GSAIEvade::GSAIEvade() {
}
GSAIEvade::~GSAIEvade() {
}
2023-01-14 02:31:42 +01:00
void GSAIEvade::_bind_methods() {
}