I looked around to see if this question had already been asked- maybe it has, maybe it hasn't, I don't know.
I'm trying to make a 3D RTS game. Right now we're trying to get the basics on the table. When you select a unit (I have that working) and right click on a point, the unit should move towards that point at a set speed. We can't figure out what's going wrong, but the unit never seems to move towards the clicked point, and sometimes, not at all. We used MSDN's
but that didn't seem to work. (We converted to degrees) How do you get an appropriate, consistent velocity to set to the unit so that it moves towards the ordered position?
EDIT: Clarification: If I can get it to move towards a point, I can take it from there. We've got a pathing system in the works. I just want it to go where you click right now.