This week's book giveaway is in the OO, Patterns, UML and Refactoring forum. We're giving away four copies of Refactoring for Software Design Smells: Managing Technical Debt and have Girish Suryanarayana, Ganesh Samarthyam & Tushar Sharma on-line! See this thread for details.
How do I move my character from his current location towards where I touch? I have tried the vector2 method for lerping and it just worked out really weird. What is the math / formula/ logic??
I have tried obtaining the angle between both points and multiplying them by my acceleration and speed but nothing seemed to work correctly. I googled and tried a few formulas provided but none of them made my player move to where I want. Like my character can move but not where I click, its almost kind of random. Please help, been at this for a long time and other websites have not been very useful, my game is already published but people have complained of controls so I want to implement the move to where I touch instead of a touch drag movement I used