aboutsummaryrefslogtreecommitdiff
path: root/src/entity.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/entity.h')
-rw-r--r--src/entity.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/entity.h b/src/entity.h
index 98db0f5..c6fa6c6 100644
--- a/src/entity.h
+++ b/src/entity.h
@@ -1,5 +1,6 @@
#include "gameCommon.h"
#include "util.h"
+#include "PID.h"
#ifndef ENTITY_H
#define ENTITY_H
@@ -91,4 +92,7 @@ void entityUpdateRotation(Entity * entity);
void entityJoystickControl(Entity * entity, Vector3 stick, float speed);
+// 0.0 rotationSpeed for directly setting the rotation.
+void entityFlightToPoint(Entity * entity, Vector3 point, PID * speedPID, float rotationSpeed);
+
#endif