diff options
author | nathansmithsmith <thenathansmithsmith@gmail.com> | 2023-07-16 21:55:38 -0600 |
---|---|---|
committer | nathansmithsmith <thenathansmithsmith@gmail.com> | 2023-07-16 21:55:38 -0600 |
commit | 77a06748f9f394486cad833e2ca351e8dbcc7361 (patch) | |
tree | c325ae88a7fa566217fef9ad5e7851fa600516b1 /src/entity.h | |
parent | ed1704f9a110c9fa909dccb3169bf388f48279e4 (diff) |
More following shit
Diffstat (limited to 'src/entity.h')
-rw-r--r-- | src/entity.h | 4 |
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 |