OnPathBehavior constructor

OnPathBehavior([
  1. Path? path,
  2. double radius = 0.1,
  3. double predictionFactor = 1
])

Constructs a on path behavior.

Implementation

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