[C++] How would you implement click-to-move feature?

Hi everyone, I came back to CE after years of break. I could not change this awesome engine to anything else :D
I am making some top-down game project that needs to have click-to-move feature. Player is controlled by WSAD (already done) or just by click. The basic aproach is just moving with calculated direction until the end point is reached. Is there any better way to implement this feature, eg. with using some pathfinding CE pathfinding algorithms? I have absolutely no idea how it can be done.
I know some C++ but I need some guidance on how to connects classes together in the engine :) Thank you

Who is online

Users browsing this forum: No registered users and 1 guest