stopAndAdd

fun stopAndAdd(a: Action): TaskBuilder

Stops the current trajectory (like endTrajectory) and adds action a next.


fun stopAndAdd(f: InstantFunction): TaskBuilder

Stops the current trajectory (like endTrajectory) and adds the instant function f next.