I need to move an entity to the mouse location after i rightclick
- by I.Hristov
Well I've read the related questions-answers but still cant find a way to move my champion to the mouse position after a right-button mouse-click.
I use this code at the top:
float speed = (float)1/3;
And this is in my void Update:
//check if right mouse button is clicked
if (mouse.RightButton == ButtonState.Released &&…