- Home /
How do I move a 3D player on a tile based grid smoothly?
I am trying to move my 3D player (a basic capsule) around a 2D grid. It's mostly working my taking the GetAxis of my Horizontal and Vertixal input and setting 2 variables (float destX and float destY) to +/- 1 respectively.
I am then using Vector3.MoveTowards to move the player to new Vector3(destX,0,destY). This gets the player to the destination just fine but the last step in the MoveTowards is not the same distance as the other steps and as such is producing a jumpy movement. Is there a better way to achieve what I am trying to do?
Your answer
Follow this Question
Related Questions
3D grid movement, like in fire emblem radiant dawn 0 Answers
How to move character in a grid-based area? 1 Answer
Grid based movement in 3D environment 1 Answer
Having trouble with grid movement 1 Answer
3d Space Movement 1 Answer