To elaborate on puki's suggestion, here is an example:
In the code archives, there is also an entry that is called 'push a row of cubes', that might be helpful.
For s=0 To 5 ent = cone(s) dd# = EntityDistance(cube, ent) If dd <> 0 Then force# = 0.01 / dd Else force# = 0 If force > 0.015 Then PointEntity ent, cube MoveEntity ent, 0, 0, -force RotateEntity ent, 0, 0, 0 End If Next
In the code archives, there is also an entry that is called 'push a row of cubes', that might be helpful.