I have two sphere. When I move one of them, I want the second one to follow the the first one. I use the following code, but the result is that one ball moves its gizmo, not the real object position. How to solve it?
scene.getMeshByID(“ball1”).position = ball2.position;