Making nodes unwalkable with tilemap

Aw I figured it out. The issue is my ToVector3Int() function just floors all coordinates, including the z coordinate. Adjusting that to always return 0 instead of the potential -1 due to floating point numbers… it works now.

Thanks for the help!

1 Like