Fix /unstuck to use full floor search via camera reset

The previous approach used getFloorHeight which has tight spatial query
bounds and couldn't find WMO floors far above the player. Now uses
reset() which does multi-radius WMO/terrain scanning.
This commit is contained in:
Kelsi 2026-02-07 17:01:41 -08:00
parent 3c2a728ec4
commit 84c3d1bf32
2 changed files with 5 additions and 25 deletions

View file

@ -50,6 +50,7 @@ public:
const glm::vec3& getDefaultPosition() const { return defaultPosition; }
bool isMoving() const;
float getYaw() const { return yaw; }
float getPitch() const { return pitch; }
float getFacingYaw() const { return facingYaw; }
bool isThirdPerson() const { return thirdPerson; }
bool isGrounded() const { return grounded; }