PixelGuys / Cubyz

Voxel sandbox game with a large render distance, procedurally generated content and some cool graphical effects.
GNU General Public License v3.0
420 stars 49 forks source link

Make fence hitbox the same as its bounding box #503

Open careeoki opened 2 months ago

careeoki commented 2 months ago

So you don't get caught between fence posts every time you walk against a fence, or bounce up and down as you walk on top of it

OneAvargeCoder193 commented 2 months ago

a better solution to this could probably be a seperate bounding box for each model, as if it is just the bounding box, the corners would be off

ikabod-kee commented 1 month ago

What if...

Cylindrical Hitbox

ikabod-kee commented 1 month ago

we did it

IntegratedQuantum commented 1 month ago

That would work. Not sure if I can figure out how to make cylinder-triangle intersection tests though.