mrdoob/three.js — Issue #1047: Camera Collisions on variable terrain
Author: aqiruse
Created: 2012-01-08 04:56:31+00:00
State: open

I am using the webgl_geometry_terrain.html demo, and want to modify it so that the camera, moves on top of the terrain. i have tried several methods, and no success. I have tried ray tracing based on an example using the camera x,y,z as the vector coordinates, I tried using the collisionUtils classes from the one revision with passing the mesh geometry into the collider and nothing seems to register that the terrain I am looking at is colliding with anything.

Do you have any suggestions or help in forcing the camera to stay on top of variable terrain like this?