How to make smooth and optimized RTS unit movement

Hello, so im looking for a better and smoother way of moving units other than using MoveTo(), my units are unanchored and has a small size compared to the player (most unit has size of 0.4 studs on all axis). There will be maybe 160 units max on the game. The terrain is all flat but there will still be obstacles like hills, i dont need smart pathfinding all need is just smooth and optimized unit movement.

All of the units are in the client side, and the server just stores the informations like Position and Health in a table

You have two options that will suit your needs:

  1. You can move your units using CFrame with interpolation (using RunService). This gives you more precise control over movement and ensures smoother scrolling.

  2. Another alternative is TweenService, which is excellent for fluid movement and can be a simpler option if you don’t need manual control on every frame.

1 Like

Ill try using the 1st method but for the tweenservice, ive tried it before and the units just glitches badly since its unanchored

1 Like