Hi !
I'd like to check for collisions in a "manual" way and decide what should happen to my camera when that happens.
What would the easiest way be to check say an ellipse (or circle) against a height map ?
Secondary, same question but with an arbitrary mesh.
Simple collision against heightmap
You can take a look at:
Tutorial #12. Take a specific look at the part that says
Tutorial #12. Take a specific look at the part that says
. Good luck!If you need access to the terrain data you can also do this directly via the following code fragment.
rogerborg wrote:Answering a noob question is like having sex with a midget: there's a wonderfully satisfying sensation of being a giant.
