Quote:
Originally Posted by RedSword
(doc) For profiling the engine != (berni) only for profiling the engine...
|
erm do you see other use cases mentioned ? no ? me neither.
The reason why you can't get more accurate than GetGameTime() is because the game is based on frames. The frame rate resolution is usually around ~60 frames / second. 60 frames / second => each 0,0166 seconds a frame is processed. The origin of a player is only updated each frame, there is nothing inbetween. GetEngineTime() is much more accurate, but this accuracy is pretty useless for game stuff because you can only call this function when a frame is processed.
GetGameTime() is what is used in the game's code also internally, it has a resolution of 1 / framerate.
__________________