Import std.math.vector
MoveTowards
function
Public Function MoveTowards(current: Vec2, target: Vec2, maxDistance: Float): Vec2
Current moved toward target by maxDistance, or to target when it's no further, worked out
in Doubles.
function
Public Function MoveTowards(current: Vec3, target: Vec3, maxDistance: Float): Vec3
Current moved toward target by maxDistance, or to target when it's no further, worked out
in Doubles.
Report an issue with this page or with FutureBlitz on GitHub.