Implemented a focus event handler to pause character controller physics, preventing bugs during page change + refactored getMovingDirection() function.
NB: This will only pause the physics related to the character controller and not the overall physics.
Implemented a focus event handler to pause character controller physics, preventing bugs during page change + refactored getMovingDirection() function.
NB: This will only pause the physics related to the character controller and not the overall physics.