Yeah I realize I need this code, however it's messing up the animation for some reason when the model is doing his standing animation. I have no idea how the collision detection has anything to do with the animation, but it's doing it.

I've actually went through each function individually and studied how it all works. I understand what it's doing and how it works, but this one weird thing really has me confused.

I would take a screenshot of it, but it won't show the model blurred.