Code works great when I have one game object and one transform. However, when I have multiple game objects and corresponding transforms, the code switches between them and is stuck on one object where the position of one object is being updated and that of the others is not. Any thoughts?