Trying to understand how to move objects in 3D space