I'm working on a game where an object moves towards other objects.
new TWEEN.Tween( object.position ).to({
x: Math.position = pointX,
z: Math.position.z = pointZ
}).easing( TWEEN.Easing.Linear.None).start();
However, I've encountered a problem where the object moves at different speeds to each point due to their varying positions.
Is there a way to ensure that the speed of my object remains constant regardless of the point it's moving towards?