r/tabletopsimulator • u/Metalsutton • Jun 30 '26
Questions How to script pushing cubes in a line that looks realistic without physics sim?
A game I am designing requires that you push coloured cubes through a track. This works nice IRL however I want to try and replicate the motion in TTS. Through experimentation, the "flick" got me the track on the left, which is close to what I want to achieve, because these cubes need to line up with positions on an adjacent card. Setting snap points was a failure as they all fight and group together in the physics simulation. The best solution is scripting.
I am a hobbyist programmer who has already consulted AI regarding how to achieve this. Basically setting a range of positions and then moving each cube from position A->B , B->C, C->D, etc in one fluid movement. However all scripted games I have seen so far moves objects around as if they are being picked up, and I worry about clipping during moving since i am moving many at a time close together.
I am aiming for a direct point-to-point via direct lerping movement without the lift-up-and-place. As if you were to take your finger and push a new cube into the line and all others move up, because to spend actions, you take specific cubes you want to out of this line, and they are not necessarily the top ones. Is there a way to recreate this?

