smoothDamp

fun Vector2d.smoothDamp(target: Vector2d, currentVelocity: Reference<Double>, smoothTime: Measure<Time>, maxVelocity: Number, deltaTime: Measure<Time>): Vector2d

Smoothly damp a vector towards another vector.


fun Pose2d.smoothDamp(target: Pose2d, currentVelocity: Reference<Double>, smoothTime: Measure<Time>, maxVelocity: Number, deltaTime: Measure<Time>): Pose2d

Smoothly damp a pose towards another pose. Velocity will be in degrees per second.


fun Rotation2d.smoothDamp(target: Rotation2d, currentVelocity: Reference<Double>, smoothTime: Measure<Time>, maxVelocity: Number, deltaTime: Measure<Time>): Rotation2d

Smoothly damp a rotation towards another rotation. Velocity will be in degrees per second.