Constructs a on path behavior.
OnPathBehavior([Path? path, this.radius = 0.1, this.predictionFactor = 1 ]):super() { this.path = path ?? Path(); }