Open modmatrix opened 10 years ago
I don't think this is possible at the moment unfortunately, all the collision code assumes regular cubes (https://www.npmjs.org/package/collide-3d-tilemap, https://github.com/chrisdickinson/aabb-3d)
Okay - thanks for the reply!
https://github.com/maxogden/voxel-engine/pull/103 has experimental support for custom voxel rendering models (via voxel-mesher/shader 0.13+, example use for glass panes: https://github.com/deathcap/voxel-glass) but player collisions treat them as solid cubes. To change this, I think voxel-physical and/or voxel-control would have to be updated (to recognize custom hit boxes).
I'd like to have block types whose geometry only takes up part of a voxel - like the glass panes, slabs, and stairs in Minecraft.
That's my main question, but here are some bonus questions if you're feeling generous:
Basically, I'd like to create a game world that allows you to move from lower locations to higher ones without having to jump constantly.