What I want
…
Why I want it
…
Additional information (optional)
…
Similar approaches can be used as in the “How do I…” tutorial “add moving platforms”. Here are the options:
In addition, for an opponent, another simple approach is the following:
If the opponent has zero friction with the ground (like it is on ice), it is possible to not add the force, but instead just add the movement initially and upon contact with the marker object.
If my explanation is not clear, I can also provide a small demo game.