Player's position is reset when close to ghosts

This commit is contained in:
five-hundred-eleven
2025-08-03 11:15:54 -04:00
parent 4aee63a4d3
commit faf3f239d8
12 changed files with 268 additions and 20 deletions

View File

@@ -40,6 +40,7 @@ class Player {
void scroll_callback(GLFWwindow* window, double xoffset, double yoffset);
bool is_in_air();
void apply_movement(float timed);
void reset_position(glm::vec3 startpos, float startyaw);
bool operator()(const Ghost &a, const Ghost &b) const;