aboutsummaryrefslogtreecommitdiffstats
path: root/src/player.h
diff options
context:
space:
mode:
authornathan <nathansmith@disroot.org>2026-01-06 15:01:27 +0000
committernathan <nathansmith@disroot.org>2026-01-06 15:01:27 +0000
commit63171bd3d0f44dc3a012bb92296ecf017cc27a66 (patch)
treecb9bb4204852d691fb0a86a46ac8958f3068b7f3 /src/player.h
parentd55707e4b817390ba268634c3c18d510001f5b13 (diff)
downloadFindThings-63171bd3d0f44dc3a012bb92296ecf017cc27a66.tar.gz
FindThings-63171bd3d0f44dc3a012bb92296ecf017cc27a66.tar.bz2
FindThings-63171bd3d0f44dc3a012bb92296ecf017cc27a66.zip
Way nicer feeling controls
Diffstat (limited to 'src/player.h')
-rw-r--r--src/player.h8
1 files changed, 8 insertions, 0 deletions
diff --git a/src/player.h b/src/player.h
index 7755ef9..3edec59 100644
--- a/src/player.h
+++ b/src/player.h
@@ -6,7 +6,10 @@
#define PLAYER_WIDTH 1.0
#define PLAYER_HEIGHT 2.0
+
#define PLAYER_SPEED 8.0
+#define PLAYER_RUN_SPEED 16.0
+
#define PLAYER_MAX_SELECT_DISTANCE 10.0
typedef struct {
@@ -14,6 +17,11 @@ typedef struct {
Vector3 direction;
Vector3 velocity;
+ Vector3 driftDirection;
+
+ float speed;
+ float bobble;
+
BoundingBox relativeBox;
BoundingBox box;