I have built a simple tile movement system basically put a chess board. It works as expected so far. The problem I am having is I built an onclickevent to move the actor to the tile clicked on. That mostly works except the actor stops at the edge of the title rather than moving to the center. What I found is that the actor is moving the root capsule reaches the center of the tile. I can change my root capsule to a radius of 1 and that works for the movement but I worry about what that does to my collisions. I want to make sure I account for both. Any suggestions on how to fix this?
I found a work around that I am not thrilled with but it works for now. My biggest concern was if I reduced the capsule radius to 1 then I would cross other players or blocking terrain. The Navmesh is good about keeping enough of an edge from blocking terrain so that is not a worry. For other actors I can put a cube on them and set the visibility to false. If I drop the cube so it is just below the floor but high enough so the actor does not just go on top of it then it blocks the navmesh just as terrain does. I am sure I will run into problems again when I get into ranged attacks. However this solves the move issues for the time being. I know I saw something about changing the capsule radius dynamically I just have to find that again. Maybe before I move I set it to 1 then after I move I set it back to the default value. Not prefect because it would not allow for reactions attacks like over watch in X-COM though I am not planning to use that at this time. Ideally I would like to find a better solution so I don’t need to do this work around so still looking for suggestions on how to move to the center of a tile without changing the root capsule radius.