Level Grid - Getting wrong positions

Hi,

I have the grid up and working but I’m not getting the right position for my units. The position updates correctly while moving on the x-axis but is does not update if moving on the z-axis.

Any tips where I can start looking?

Capture2

Hi,

I got it to work! Typo in the Gridsystem.cs file. In the method GetGridPosition I wrote worldPosition.y should be worldPosition.z

4 Likes

This topic was automatically closed 24 hours after the last reply. New replies are no longer allowed.

Privacy & Terms