follow path

BlitzMax Forums/BlitzMax Beginners Area/follow path

You could look at spring forces and simple create a virtual spring between the satellites and the ship, this way they would follow.
A spring is simply a direction force which holds the following formula:

Force = (PosShip - PosSatellite)(PosShip - PosSatellite) * k

where k is the spring constant.
After that you can simply apply this force vektor to the satellite.
This means your satellite need a virtual weight (you can use this as a second constant to make different satellite type to react with different speeds while you keep k constant for all satellites) because
accelerationSatellite = force / WeightSatellite

then

speedSatellite = speedSatellite + accelerationSatellite

Note: speed, acceleration, position, force are all 2D vectors if you want to do it in 2D or 3D vectors if you do it in 3D