Gravity and World-Collision
This is an old article from 2011. I was a kid. I learned a lot since then,
so please do think twice when taking advice from me as a kid.
Finally worked out the World-Collision problem. The player now collides perfectly with the blocks, but there is one problem left:
If you collide with a block in front on you, “you look inside the block”. That’s because you are 0.0f long 0.0f wide and the near clipping plane is at 0.1f (Your sight starts 0.1f (in GL-Units?) in front of you). I’ll fix this problem next by giving the player dimensions, but I’m finished for today, so you’ll hear from me tomorrow ;)
Greetings, Squareys
This post was imported from tumblr