setTarget

fun setTarget(targetPosition: Double, targetVelocity: Double = this.targetVelocity)

Sets the target position, velocity, and acceleration.