I am working on making a tilemap. I got the adjustment working, and it seems to be updating its positions and its color, but there is a small problem. I tried to make it so that colors 1,2, and 5 don’t have collision, color 3 can be dashed over, and color 4 cannot be bypassed, but the colors might be adjusting wrong. But I cannot tell how.
The tilemap script: PlayCanvas | HTML5 Game Engine
the tilemaps can be tested in the scene “Tilemap Test”