Hello!
My progress in my voxel game is going great! I just recently figured out how to make a 10x10 voxel world… and it runs at 60 frames despite rendering thousands upon thousands of polygons!
Look at my progress so far:
Before:
(Garbage ugliness!)
After:
(Beautiful voxels!)
But my issue now is the collision system. Currently, it works perfectly for the main chunk at [0, 0, 0], but all the other chunks have very inconsistent collision meshes. If I walk around, I am fine, up until I go to another chunk, where I just fall through the floor. My code is no different, and yet it acts different.
Any help is appreciated!
Project:
https://playcanvas.com/editor/scene/1439135
(I cleaned up my code, so now the problem child resides in chunk.js instead of game.js)