I have a thesis project where I am moving different game objects with cardboard. The interaction with game objects is done with the cross-hair. Currently, I am grabbing the object and trying to calculate the distance that the object traveled. In other words, I am grabbing the object and move it with cross-hair. Currently, I am calculating the distance like this :
distance = (Math.Abs (Vector3.Distance (newPosition, originalPosition)));
My question is as follows:
- Should I take into account the framerate dependency and multiply the distance to Time.deltaTime or this distance is framerate independent?