unity-footprints
unity-footprints copied to clipboard
Only Works with 10x10 Terrain
Unless I'm missing something, calculations only seem to work on a 10x10 terrain grid, do you remember why that is?
Footprints wont draw properly otherwise, even though the code does use terrain.size.x and .y, still not quite sure where the issue or limitation lies.
Thanks!
Turns out this is due to to heightmap limitations, if I read correctly. This led me to another issue that you might have an idea on how to fix. Walking back and forth along the edge of two terrains will spawn footsteps along the opposite edge aswell, which should not happen, here's a character walking along the edge:
And the two opposite edges where I did not walk:
Been experimenting for a few hours looking for a way to fix this, still not sure!
Edit: I'm currently trying to figure out the best place, and how to catch an outlying value that would be applied to the opposite edge.