Skip to main content
GameDev.net gamedev.net

PRO Tired of ads? Read GameDev.net ad-free and help keep the community independent with GameDev Pro — $3/month.

Eventually, collision resolving

Eventually, collision resolving

RomanGenkhel
RomanGenkhel
OnlineCraft · · 1 min read
2,287 3

At the moment player box is just two sphere one on top of another.
Its hard for me to write it from scratch, but it works. We just slip out sphere out of axis aligned boxes on client side, its enough.
Since our world is set of AABB 1x1, there no case when two spheres with diameter=1 behave not as a capsule
I currently leave fly ability, but will add gravity soon, but with high jumps or even something like jetpacks

Try it out: http://stilker.sknt.ru:3001/

Discussion

Loading comments...