A more performant setVelocityByCoord method.