mirror of
https://github.com/Relintai/pandemonium_engine.git
synced 2024-12-20 19:06:53 +01:00
25 lines
488 B
C++
25 lines
488 B
C++
#ifndef GSAILOOKWHEREYOUGO_H
|
|
#define GSAILOOKWHEREYOUGO_H
|
|
|
|
|
|
class GSAILookWhereYouGo : public GSAIMatchOrientation {
|
|
GDCLASS(GSAILookWhereYouGo, GSAIMatchOrientation);
|
|
|
|
public:
|
|
|
|
void _calculate_steering(const GSAITargetAcceleration &accel);
|
|
|
|
GSAILookWhereYouGo();
|
|
~GSAILookWhereYouGo();
|
|
|
|
protected:
|
|
static void _bind_methods();
|
|
|
|
// Calculates an angular acceleration to match an agent's orientation to its
|
|
// direction of travel.
|
|
// @category - Individual behaviors
|
|
};
|
|
|
|
|
|
#endif
|