Im making a VR game where the player can push and pull objects around.
I want the player to be able to pull his hand forward and the object goes forward,and when he pulls the hand back the object comes backwards.
The only thing i need is a way to compare an object position with its future position,the other things are all working fine;
I put a cube in the player’s hand to be easier to control,so i take the cube position at the start method,and then i also store its position on the update method.
So what should i do now?
InitialPosition - UpdatePosition?