From 77a06748f9f394486cad833e2ca351e8dbcc7361 Mon Sep 17 00:00:00 2001 From: nathansmithsmith Date: Sun, 16 Jul 2023 21:55:38 -0600 Subject: More following shit --- src/entity.h | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'src/entity.h') 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 -- cgit v1.2.3