I am playing a boat racing game and I would like to display the speed of my boats in m / sec but I don't know how to do it. I move my boat by frametime and my Moentum vector which is based on the thrust, drag and previous monetum of my boat.
I wonder if I should calculate the length | v | of my Moentum vector, i.e. sqrt (momentumX * momentumX + momentumZ * momentumZ) and the multiplication * frametime and * set scale
The defined scale being a value that I defined for my game for example. 1 game unit: 1 meter. Would that represent an approximation of my speed in meters per second or should I multiply the | v | momentum by frames per second instead? Any help would be appreciated.