A lot of you have probably made 3D Games with 3D Collisions.
The player can walk on a floor above and below it, hit on a wall and not get inside of it, jump over it, but there's one more thing no one probably done. The Player can't jump on a ceiling and not get pushed outside.
I've tried for checking if Player (To be precise 3D Camera) is touching ceiling (and then the Z speed should change to 0), but instead the player was pushed outside or sometimes gets pushed back to ground without even colliding with ceiling. No matter how much i tried to tweak the values, i still don't get what i want to.
I've even looked for tutorial on the internet, but none of them has made something about Z Ceiling collisions. I think my last chance is to ask here, perhaps i'll finally get the answer on how to properly do this.