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!
Sounds like a general/arbitrary triangle soup/mesh.
Maybe jBullet (http://jbullet.advel.cz/) is something for you.