Im trying to use this code and when i press W,S,A,D it doesnt move at all. The mouse part works fine
it looks like its getting caught up here
time = Sys.getTime();
dt = (time - lastTime)/1000.0f;
lastTime = time;
dt is always 0 for me and time is always 1.2884565E12
since the distance is calculated as movementspeed*dt its always going to return 0;
and not move at all.