Skip to main content

On Sale: GamesAssetsToolsTabletopComics
Indie game storeFree gamesFun gamesHorror games
Game developmentAssetsComics
SalesBundles
Jobs
TagsGame Engines
(+1)

Thank you very much!

would you like example code?

No, thanks, I understand the algorithm. It's very similar to the "sphere vs. triangle" test (which I've already implemented).

what tools are you using btw?

I'm currently doing some prototyping using Python/PyGame/PyOpenGL (but I'm newbie...).

Btw, why don't you use capsules? They're really popular for collision detection in games now.... 🤔

(+1)

I just find spheres easier to use for slopes and stairs (and the math is simpler)
for player movement they are perfect
I only got problems with the enemy code because they insist getting inside little holes 
- so for first person I found sphere to be better but  for third person capsule would be probably better 🤔