Terrain Collision

Started by jeussa, February 06, 2016, 16:59:21

Previous topic - Next topic

jeussa

Hi dere all,

I'm currently sort of stuck with height maps. Basically what I'm trying to do is to make a system that detects a player-surface collision. Now I'm aware there are these heightmap images, however they only provide a single Y value for each X and Z position. What I need is multiple Y values so I can for instance make a cave, or a house. What is the best way to detect such collisions?

Thanks for the time!

Kai

Sounds like a general/arbitrary triangle soup/mesh.
Maybe jBullet is something for you.