I'm looking for a way to have a character, let's call it "root," with a number of other similar characters attached to it. Let's call them children. When the root changes position the children follow and update their own position by their movement patterns.
My objective isn't for the child objects to move 1:1 like the root but to react to it's movement and follow the object loosely. So if the root moves upwards then child follows afterwards with it's own velocity.
Could someone guide me about how to achieve this kind of behavior of objects moving relative to others? About what sort of architecture would fit best for this kind of problem?
Steering Behaviour
orflocking
. Rts games use this a lot to move all units within a group. Try to improve the Question quality, ask to reopen and I might even vote it up. \$\endgroup\$