I use terrain from knighttoflight code but using octree.
The problem is when i fastly move mouse (look everywhere fastly) while going forward or backward(or any direction key), the camera still continue moving forward or backward for 1 or 2 seconds AFTER i released any key and the mouse.
It's like there was a decay time between the released key and the camera moving position.
The problem does not appear when i don't move the mouse fastly.
If someone has an idea ...